Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ node_modules

# configs
configs/.*

./vendor
4 changes: 2 additions & 2 deletions bitcoin/ord/inscriptions/inscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import (
"github.com/btcsuite/btcd/txscript"

"github.com/BoostyLabs/blockchain/bitcoin/ord/runes"
"github.com/BoostyLabs/blockchain/internal/reverse"
"github.com/BoostyLabs/blockchain/internal/sequencereader"
"github.com/BoostyLabs/blockchain/pkg/reverse"
"github.com/BoostyLabs/blockchain/pkg/sequencereader"
)

// ErrMalformedInscription defines that inscription is malformed and failed to parse.
Expand Down
2 changes: 1 addition & 1 deletion bitcoin/ord/runes/edict.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"math/big"
"slices"

"github.com/BoostyLabs/blockchain/internal/sequencereader"
"github.com/BoostyLabs/blockchain/pkg/sequencereader"
)

// Edict defines transfer values of the rune protocol.
Expand Down
2 changes: 1 addition & 1 deletion bitcoin/ord/runes/edict_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/require"

"github.com/BoostyLabs/blockchain/bitcoin/ord/runes"
"github.com/BoostyLabs/blockchain/internal/sequencereader"
"github.com/BoostyLabs/blockchain/pkg/sequencereader"
)

func TestEdicts(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion bitcoin/ord/runes/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"math/big"
"slices"

"github.com/BoostyLabs/blockchain/internal/sequencereader"
"github.com/BoostyLabs/blockchain/pkg/sequencereader"
)

// fieldType defines helping struct for ordering map.
Expand Down
2 changes: 1 addition & 1 deletion bitcoin/ord/runes/message_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/require"

"github.com/BoostyLabs/blockchain/bitcoin/ord/runes"
"github.com/BoostyLabs/blockchain/internal/sequencereader"
"github.com/BoostyLabs/blockchain/pkg/sequencereader"
)

func TestMessage(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion bitcoin/ord/runes/rune.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"math/big"
"strings"

"github.com/BoostyLabs/blockchain/internal/numbers"
"github.com/BoostyLabs/blockchain/pkg/numbers"
)

// DefaultSpacer defines default spacer for Rune name.
Expand Down
2 changes: 1 addition & 1 deletion bitcoin/ord/runes/rune_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/require"

"github.com/BoostyLabs/blockchain/bitcoin/ord/runes"
"github.com/BoostyLabs/blockchain/internal/numbers"
"github.com/BoostyLabs/blockchain/pkg/numbers"
)

func TestRunes(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion bitcoin/ord/runes/runestone.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/btcsuite/btcd/txscript"

"github.com/BoostyLabs/blockchain/bitcoin/ord/runes/utils"
"github.com/BoostyLabs/blockchain/internal/sequencereader"
"github.com/BoostyLabs/blockchain/pkg/sequencereader"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion bitcoin/txbuilder/txbuilder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"github.com/BoostyLabs/blockchain/bitcoin/ord/inscriptions"
"github.com/BoostyLabs/blockchain/bitcoin/ord/runes"
"github.com/BoostyLabs/blockchain/bitcoin/txbuilder"
"github.com/BoostyLabs/blockchain/internal/numbers"
"github.com/BoostyLabs/blockchain/pkg/numbers"
)

func TestTxBuilder(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/numbers/numbers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/stretchr/testify/require"

"github.com/BoostyLabs/blockchain/internal/numbers"
"github.com/BoostyLabs/blockchain/pkg/numbers"
)

func TestNumbers(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/reverse/reverse_fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
"unicode/utf8"

"github.com/BoostyLabs/blockchain/internal/reverse"
"github.com/BoostyLabs/blockchain/pkg/reverse"
)

func FuzzReverse(f *testing.F) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/sequencereader/sequencereader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/stretchr/testify/require"

"github.com/BoostyLabs/blockchain/internal/sequencereader"
"github.com/BoostyLabs/blockchain/pkg/sequencereader"
)

func TestSequenceReader(t *testing.T) {
Expand Down