File tree Expand file tree Collapse file tree 8 files changed +15
-15
lines changed
Expand file tree Collapse file tree 8 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package dag
33import (
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
Original file line number Diff line number Diff line change 11package dag
22
33import (
4- "github.com/HORNET-Storage/scionic-merkletree /merkletree"
4+ "github.com/HORNET-Storage/Scionic-Merkle-Tree /merkletree"
55)
66
77var ChunkSize = 2048 * 1024 // 2048 * 1024 bytes = 2 megabytes
Original file line number Diff line number Diff line change 1- module github.com/HORNET-Storage/scionic-merkletree
1+ module github.com/HORNET-Storage/Scionic-Merkle-Tree
22
33go 1.19
44
55require (
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
1013require (
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)
Original file line number Diff line number Diff line change 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
1010type TreeContent struct {
Original file line number Diff line number Diff line change 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
1010func TestBasicTreeOperations (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments