aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/storage/types.go
diff options
context:
space:
mode:
authorViktor TrĂ³n <viktor.tron@gmail.com>2017-09-05 18:38:36 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-09-05 18:38:36 +0800
commit2bacf36d8095ac7936f69552e2727ac6f276479f (patch)
tree45ed5eff0404742d67273d3c958642b066888d41 /swarm/storage/types.go
parent32d8d422746ba0dcb86ac7450672dd7da440b222 (diff)
downloadgo-tangerine-2bacf36d8095ac7936f69552e2727ac6f276479f.tar
go-tangerine-2bacf36d8095ac7936f69552e2727ac6f276479f.tar.gz
go-tangerine-2bacf36d8095ac7936f69552e2727ac6f276479f.tar.bz2
go-tangerine-2bacf36d8095ac7936f69552e2727ac6f276479f.tar.lz
go-tangerine-2bacf36d8095ac7936f69552e2727ac6f276479f.tar.xz
go-tangerine-2bacf36d8095ac7936f69552e2727ac6f276479f.tar.zst
go-tangerine-2bacf36d8095ac7936f69552e2727ac6f276479f.zip
bmt: Binary Merkle Tree Hash (#14334)
bmt is a new package that provides hashers for binary merkle tree hashes on size-limited chunks. the main motivation is that using BMT hash as the chunk hash of the swarm hash offers logsize inclusion proofs for arbitrary files on a 32-byte resolution completely viable to use in challenges on the blockchain.
Diffstat (limited to 'swarm/storage/types.go')
-rw-r--r--swarm/storage/types.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/swarm/storage/types.go b/swarm/storage/types.go
index cc5ded931..a9de23c93 100644
--- a/swarm/storage/types.go
+++ b/swarm/storage/types.go
@@ -24,6 +24,7 @@ import (
"io"
"sync"
+ // "github.com/ethereum/go-ethereum/bmt"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto/sha3"
)