Thomas Corbière
ee67e34519
Fix lint errors (#190)
* use increment and decrement operators. * remove unnecessary else branches. * fix receiver names. * remove omittable code. * fix dot imports. |
7 years ago | |
---|---|---|
.. | ||
README.md | simple merkle tree | 8 years ago |
simple_map.go | merkle: remove go-wire dep by copying EncodeByteSlice | 7 years ago |
simple_map_test.go | encodeByteSlice uses uvarint for length instead of varint (#161) | 7 years ago |
simple_proof.go | Fix lint errors (#190) | 7 years ago |
simple_tree.go | Implement DebugDB (#166) | 7 years ago |
simple_tree_test.go | Hashable -> Hasher; SimpleMap upgrade; No "SimpleHashFromBinary" (#128) | 7 years ago |
types.go | encodeByteSlice uses uvarint for length instead of varint (#161) | 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.