Jae Kwon
580c3db8f9
* Update SimpleMap to hash both keys and values for benefit; Hashable is Hasher; Don't assume go-wire |
7 years ago | |
---|---|---|
.. | ||
README.md | simple merkle tree | 8 years ago |
simple_map.go | Hashable -> Hasher; SimpleMap upgrade; No "SimpleHashFromBinary" (#128) | 7 years ago |
simple_map_test.go | Hashable -> Hasher; SimpleMap upgrade; No "SimpleHashFromBinary" (#128) | 7 years ago |
simple_proof.go | Hashable -> Hasher; SimpleMap upgrade; No "SimpleHashFromBinary" (#128) | 7 years ago |
simple_tree.go | Hashable -> Hasher; SimpleMap upgrade; No "SimpleHashFromBinary" (#128) | 7 years ago |
simple_tree_test.go | Hashable -> Hasher; SimpleMap upgrade; No "SimpleHashFromBinary" (#128) | 7 years ago |
types.go | Hashable -> Hasher; SimpleMap upgrade; No "SimpleHashFromBinary" (#128) | 7 years ago |
For smaller static data structures that don't require immutable snapshots or mutability; for instance the transactions and validation signatures of a block can be hashed using this simple merkle tree logic.