adria0
1700873f48
Fix warnings: dyn
2020-08-07 20:47:12 +03:00
Artem Vorotnikov
610d9baba4
Reformat the source code
2020-08-07 20:46:52 +03:00
cheme
6bb106a784
Update to latest mem-db, hash-db and trie-db. ( #10314 )
...
* Switch to 'trie' crates, there is an unpublished deps to staging
parity-common triehash still.
* Use crates.io dependency.
* indentation
* Update util/journaldb/src/traits.rs
indentation
Co-Authored-By: cheme <emericchevalier.pro@gmail.com>
* Update ethcore/src/snapshot/tests/state.rs
Co-Authored-By: cheme <emericchevalier.pro@gmail.com>
2019-02-20 21:09:34 +03:00
Afri Schoedon
7c335e8764
misc: bump license header to 2019 ( #10135 )
...
* misc: bump license header to 2019
* misc: remove_duplicate_empty_lines.sh
* misc: run license header script
* commit cargo lock
2019-01-07 11:33:07 +01:00
David
c313039526
Update a few parity-common dependencies ( #9663 )
...
* Update a few parity-common dependencies
* cleanup
* cleanup
* revert update of ethereum/tests
* better reporting of network rlp errors
* Use rlp 0.3.0-beta.1
* fix util function get_dummy_blocks
* Already a Vec
* encode_list returns vec already
* Address grumble
* No need for betas
* Fix double spaces
2018-10-09 22:07:25 +02:00
Marek Kotewicz
8d171a37f8
remove util-error ( #9054 )
...
* remove util-error
* fixed grumbles
2018-07-06 15:09:39 +02:00
David
9caa868603
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.
2018-07-02 18:50:05 +02:00
Niklas Adolfsson
98b7c07171
Update license header
and scripts
( #8666 )
...
* Update `add_license` script
* run script
* add `remove duplicate lines script` and run it
* Revert changes `English spaces`
* strip whitespaces
* Revert `GPL` in files with `apache/mit license`
* don't append `gpl license` in files with other lic
* Don't append `gpl header` in files with other lic.
* re-ran script
* include c and cpp files too
* remove duplicate header
* rebase nit
2018-06-04 10:19:50 +02:00
David
25dc1c2155
block_header can fail so return Result ( #8581 )
...
* block_header can fail so return Result
* Restore previous return type based on feedback
* Fix failing doc tests running on non-code
2018-05-11 11:34:07 +02:00
David
28c731881f
Rlp decode returns Result ( #8527 )
...
rlp::decode returns Result
Make a best effort to handle decoding errors gracefully throughout the code, using `expect` where the value is guaranteed to be valid (and in other places where it makes sense).
2018-05-08 11:22:12 +02:00
Andrew Jones
d7f690c8ba
rename DatabaseValueView::new to from_rlp ( #8159 )
2018-03-20 03:02:07 +01:00
Marek Kotewicz
21cb08586b
structured rlp encoding in journaldb ( #8047 )
...
* structured rlp encoding in journaldb
* removed redundant code
2018-03-15 10:14:38 +00:00
Marek Kotewicz
e95b093483
dissolve util ( #7460 )
...
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor finished
* removed obsolete util/src/lib.rs
* removed commented out code
2018-01-10 15:35:18 +03:00
Tomasz Drwięga
00883e477a
Get rid of clippy remainings.
2017-12-21 11:27:26 +01:00
debris
607cc6c782
fixed compiling util tests
2017-10-17 10:40:45 +02:00
Dmitry Kashitsyn
e2b96e1fe0
Moves journaldb sources to a separate crate ( #6693 )
2017-10-17 11:44:52 +07:00