Make HashDB generic (#8739)
The `patricia_trie` crate is generic over the hasher (by way of HashDB) and node encoding scheme. Adds a new `patricia_trie_ethereum` crate with concrete impls for Keccak/RLP.
Showing
- Cargo.lock 133 additions, 28 deletionsCargo.lock
- Cargo.toml 2 additions, 0 deletionsCargo.toml
- ethcore/Cargo.toml 4 additions, 2 deletionsethcore/Cargo.toml
- ethcore/light/Cargo.toml 2 additions, 0 deletionsethcore/light/Cargo.toml
- ethcore/light/src/cht.rs 9 additions, 7 deletionsethcore/light/src/cht.rs
- ethcore/light/src/client/header_chain.rs 6 additions, 13 deletionsethcore/light/src/client/header_chain.rs
- ethcore/light/src/lib.rs 2 additions, 0 deletionsethcore/light/src/lib.rs
- ethcore/light/src/net/mod.rs 7 additions, 9 deletionsethcore/light/src/net/mod.rs
- ethcore/light/src/net/status.rs 1 addition, 1 deletionethcore/light/src/net/status.rs
- ethcore/light/src/net/tests/mod.rs 5 additions, 7 deletionsethcore/light/src/net/tests/mod.rs
- ethcore/light/src/on_demand/request.rs 13 additions, 13 deletionsethcore/light/src/on_demand/request.rs
- ethcore/private-tx/Cargo.toml 1 addition, 0 deletionsethcore/private-tx/Cargo.toml
- ethcore/private-tx/src/error.rs 1 addition, 1 deletionethcore/private-tx/src/error.rs
- ethcore/private-tx/src/lib.rs 1 addition, 0 deletionsethcore/private-tx/src/lib.rs
- ethcore/src/account_db.rs 38 additions, 18 deletionsethcore/src/account_db.rs
- ethcore/src/block.rs 8 additions, 9 deletionsethcore/src/block.rs
- ethcore/src/blockchain/blockchain.rs 22 additions, 21 deletionsethcore/src/blockchain/blockchain.rs
- ethcore/src/blockchain/extras.rs 6 additions, 5 deletionsethcore/src/blockchain/extras.rs
- ethcore/src/client/client.rs 1 addition, 1 deletionethcore/src/client/client.rs
- ethcore/src/client/error.rs 1 addition, 1 deletionethcore/src/client/error.rs
Please register or sign in to comment