Skip to content

Commit c697d3b

Browse files
fix rename internal to pkg
1 parent 2dfc634 commit c697d3b

13 files changed

Lines changed: 15 additions & 13 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ node_modules
1919

2020
# configs
2121
configs/.*
22+
23+
./vendor

bitcoin/ord/inscriptions/inscription.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import (
1616
"github.com/btcsuite/btcd/txscript"
1717

1818
"github.com/BoostyLabs/blockchain/bitcoin/ord/runes"
19-
"github.com/BoostyLabs/blockchain/internal/reverse"
20-
"github.com/BoostyLabs/blockchain/internal/sequencereader"
19+
"github.com/BoostyLabs/blockchain/pkg/reverse"
20+
"github.com/BoostyLabs/blockchain/pkg/sequencereader"
2121
)
2222

2323
// ErrMalformedInscription defines that inscription is malformed and failed to parse.

bitcoin/ord/runes/edict.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"math/big"
88
"slices"
99

10-
"github.com/BoostyLabs/blockchain/internal/sequencereader"
10+
"github.com/BoostyLabs/blockchain/pkg/sequencereader"
1111
)
1212

1313
// Edict defines transfer values of the rune protocol.

bitcoin/ord/runes/edict_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/stretchr/testify/require"
1111

1212
"github.com/BoostyLabs/blockchain/bitcoin/ord/runes"
13-
"github.com/BoostyLabs/blockchain/internal/sequencereader"
13+
"github.com/BoostyLabs/blockchain/pkg/sequencereader"
1414
)
1515

1616
func TestEdicts(t *testing.T) {

bitcoin/ord/runes/message.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"math/big"
88
"slices"
99

10-
"github.com/BoostyLabs/blockchain/internal/sequencereader"
10+
"github.com/BoostyLabs/blockchain/pkg/sequencereader"
1111
)
1212

1313
// fieldType defines helping struct for ordering map.

bitcoin/ord/runes/message_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"github.com/stretchr/testify/require"
1111

1212
"github.com/BoostyLabs/blockchain/bitcoin/ord/runes"
13-
"github.com/BoostyLabs/blockchain/internal/sequencereader"
13+
"github.com/BoostyLabs/blockchain/pkg/sequencereader"
1414
)
1515

1616
func TestMessage(t *testing.T) {

bitcoin/ord/runes/rune.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"math/big"
99
"strings"
1010

11-
"github.com/BoostyLabs/blockchain/internal/numbers"
11+
"github.com/BoostyLabs/blockchain/pkg/numbers"
1212
)
1313

1414
// DefaultSpacer defines default spacer for Rune name.

bitcoin/ord/runes/rune_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/stretchr/testify/require"
1212

1313
"github.com/BoostyLabs/blockchain/bitcoin/ord/runes"
14-
"github.com/BoostyLabs/blockchain/internal/numbers"
14+
"github.com/BoostyLabs/blockchain/pkg/numbers"
1515
)
1616

1717
func TestRunes(t *testing.T) {

bitcoin/ord/runes/runestone.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/btcsuite/btcd/txscript"
1515

1616
"github.com/BoostyLabs/blockchain/bitcoin/ord/runes/utils"
17-
"github.com/BoostyLabs/blockchain/internal/sequencereader"
17+
"github.com/BoostyLabs/blockchain/pkg/sequencereader"
1818
)
1919

2020
const (

bitcoin/txbuilder/txbuilder_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"github.com/BoostyLabs/blockchain/bitcoin/ord/inscriptions"
2121
"github.com/BoostyLabs/blockchain/bitcoin/ord/runes"
2222
"github.com/BoostyLabs/blockchain/bitcoin/txbuilder"
23-
"github.com/BoostyLabs/blockchain/internal/numbers"
23+
"github.com/BoostyLabs/blockchain/pkg/numbers"
2424
)
2525

2626
func TestTxBuilder(t *testing.T) {

0 commit comments

Comments
 (0)