Skip to content

Commit a86abc8

Browse files
fix: package break due to repo rename
1 parent fc6e12d commit a86abc8

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
![nostr Badge](https://img.shields.io/badge/nostr-8e30eb?style=flat) ![Go Badge](https://img.shields.io/badge/Go-00ADD8?logo=go&logoColor=white) <img src="https://static.wixstatic.com/media/e9326a_3823e7e6a7e14488954bb312d11636da~mv2.png" height="20"> ![example workflow](https://github.com/HORNET-Storage/scionic-merkletree/actions/workflows/go.yml/badge.svg)
2-
[![codecov](https://codecov.io/gh/HORNET-Storage/scionic-merkletree/graph/badge.svg?token=1UBLJ1YYFI)](https://codecov.io/gh/HORNET-Storage/scionic-merkletree)
1+
![nostr Badge](https://img.shields.io/badge/nostr-8e30eb?style=flat) ![Go Badge](https://img.shields.io/badge/Go-00ADD8?logo=go&logoColor=white) <img src="https://static.wixstatic.com/media/e9326a_3823e7e6a7e14488954bb312d11636da~mv2.png" height="20"> ![example workflow](https://github.com/HORNET-Storage/Scionic-Merkle-Tree/actions/workflows/go.yml/badge.svg)
2+
[![codecov](https://codecov.io/gh/HORNET-Storage/Scionic-Merkle-Tree/graph/badge.svg?token=1UBLJ1YYFI)](https://codecov.io/gh/HORNET-Storage/Scionic-Merkle-Tree)
33

44

55
# Scionic Merkle Trees
@@ -67,7 +67,7 @@ To further enhance the functionality of Scionic Merkle Trees and support efficie
6767

6868
## Install
6969
```
70-
go get github.com/HORNET-Storage/scionic-merkletree/dag
70+
go get github.com/HORNET-Storage/Scionic-Merkle-Tree/dag
7171
```
7272

7373
## Example Usage

dag/dag.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"strings"
1212
"time"
1313

14-
merkle_tree "github.com/HORNET-Storage/scionic-merkletree/tree"
14+
merkle_tree "github.com/HORNET-Storage/Scionic-Merkle-Tree/tree"
1515
cbor "github.com/fxamacker/cbor/v2"
1616
)
1717

dag/leaves.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import (
99
"strconv"
1010
"strings"
1111

12-
"github.com/HORNET-Storage/scionic-merkletree/merkletree"
12+
"github.com/HORNET-Storage/Scionic-Merkle-Tree/merkletree"
1313

1414
cbor "github.com/fxamacker/cbor/v2"
1515

16-
merkle_tree "github.com/HORNET-Storage/scionic-merkletree/tree"
16+
merkle_tree "github.com/HORNET-Storage/Scionic-Merkle-Tree/tree"
1717

1818
"github.com/ipfs/go-cid"
1919
mc "github.com/multiformats/go-multicodec"

dag/serialize.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package dag
33
import (
44
"encoding/json"
55

6-
merkle_tree "github.com/HORNET-Storage/scionic-merkletree/tree"
6+
merkle_tree "github.com/HORNET-Storage/Scionic-Merkle-Tree/tree"
77
cbor "github.com/fxamacker/cbor/v2"
88
)
99

dag/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package dag
22

33
import (
4-
"github.com/HORNET-Storage/scionic-merkletree/merkletree"
4+
"github.com/HORNET-Storage/Scionic-Merkle-Tree/merkletree"
55
)
66

77
var ChunkSize = 2048 * 1024 // 2048 * 1024 bytes = 2 megabytes

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
module github.com/HORNET-Storage/scionic-merkletree
1+
module github.com/HORNET-Storage/Scionic-Merkle-Tree
22

33
go 1.19
44

55
require (
66
github.com/fxamacker/cbor/v2 v2.4.0
7+
github.com/ipfs/go-cid v0.4.1
8+
github.com/multiformats/go-multicodec v0.9.0
9+
github.com/multiformats/go-multihash v0.0.15
710
github.com/txaty/gool v0.1.5
811
)
912

1013
require (
11-
github.com/ipfs/go-cid v0.4.1 // indirect
1214
github.com/klauspost/cpuid/v2 v2.0.4 // indirect
1315
github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1 // indirect
1416
github.com/minio/sha256-simd v1.0.0 // indirect
15-
github.com/multiformats/go-multicodec v0.9.0 // indirect
16-
github.com/multiformats/go-multihash v0.0.15 // indirect
1717
github.com/multiformats/go-varint v0.0.6 // indirect
1818
github.com/x448/float16 v0.8.4 // indirect
1919
golang.org/x/crypto v0.1.0 // indirect
@@ -24,5 +24,5 @@ require (
2424
github.com/mr-tron/base58 v1.2.0 // indirect
2525
github.com/multiformats/go-base32 v0.1.0 // indirect
2626
github.com/multiformats/go-base36 v0.2.0 // indirect
27-
github.com/multiformats/go-multibase v0.2.0
27+
github.com/multiformats/go-multibase v0.2.0 // indirect
2828
)

tree/tree.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55

66
//mt "github.com/txaty/go-merkletree"
7-
mt "github.com/HORNET-Storage/scionic-merkletree/merkletree"
7+
mt "github.com/HORNET-Storage/Scionic-Merkle-Tree/merkletree"
88
)
99

1010
type TreeContent struct {

tree/tree_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"sort"
55
"testing"
66

7-
mt "github.com/HORNET-Storage/scionic-merkletree/merkletree"
7+
mt "github.com/HORNET-Storage/Scionic-Merkle-Tree/merkletree"
88
)
99

1010
func TestBasicTreeOperations(t *testing.T) {

0 commit comments

Comments
 (0)