Commit Graph

240 Commits

Author SHA1 Message Date
debris f9018930e0 separated kvdb into 3 crates: kvdb, kvdb-memorydb && kvdb-rocksdb, #6693 2017-10-12 15:36:27 +02:00
debris 8ece71ee4a separated kvdb into 3 crates: kvdb, kvdb-memorydb && kvdb-rocksdb, #6693 2017-10-12 15:36:27 +02:00
Arkadiy Paronyan 045c8409de Fixed build warnings (#6664)
* Fixed build warnings

* Suppress warning

* Suppress warning for sure
2017-10-11 09:55:10 +02:00
Marek Kotewicz 8c7dd0bfe6 Separate migrations from util (#6690)
* separate migration from util and make its dependencies into libs:

* snappy
* kvdb
* error
* common

* renamed common -> macros

* util error does not depend on snappy module

* ethsync does not depend on util nor ethcore_error

* nibbleslice and nibblevec merged with patricia_trie crate

* removed unused dependencies from util

* util journaldb traits does not need to be public

* util_error

* fixed ethcore compile error

* ignore .swo files

* Update chain.rs
2017-10-10 20:01:27 +02:00
Marek Kotewicz 376cbd9ab5 Separate migrations from util (#6690)
* separate migration from util and make its dependencies into libs:

* snappy
* kvdb
* error
* common

* renamed common -> macros

* util error does not depend on snappy module

* ethsync does not depend on util nor ethcore_error

* nibbleslice and nibblevec merged with patricia_trie crate

* removed unused dependencies from util

* util journaldb traits does not need to be public

* util_error

* fixed ethcore compile error

* ignore .swo files

* Update chain.rs
2017-10-10 20:01:27 +02:00
Hawstein 96bbd1e826 rename trie to patricia-trie 2017-09-15 11:49:26 +08:00
Hawstein 37dab7c230 separate trie from util and make its dependencies into libs:
* bytes
* hashdb
* memorydb
* nibbleslice
* nibblevec
2017-09-15 11:03:53 +08:00
Hawstein ec2cd4febe separate trie from util and make its dependencies into libs:
* bytes
* hashdb
* memorydb
* nibbleslice
* nibblevec
2017-09-15 11:03:53 +08:00
Hawstein 09eb24c861 separate trie from util and make its dependencies into libs:
* bytes
* hashdb
* memorydb
* nibbleslice
* nibblevec
2017-09-15 11:03:53 +08:00
Marek Kotewicz ea6b031298 triehash is separated from util (#6428) 2017-09-03 09:11:14 +02:00
debris bd0c0e14c9 replace sha3 with keccak in few comments 2017-08-31 15:25:30 +02:00
debris 0711ac35ee fixed grumbles 2017-08-31 12:38:53 +02:00
debris 3db4e89628 Hashable::sha3 -> fn keccak for ethcore-util 2017-08-30 16:20:21 +02:00
debris a8542c58eb commit plain_hasher to util 2017-08-28 12:40:29 +02:00
debris 84258f2329 updated bigint with optimized mul and from_big_indian 2017-08-17 18:11:34 +02:00
NikVolf d108123b0c add test 2017-08-03 21:49:40 +03:00
NikVolf 0ba6afb451 overflow check in addition 2017-08-03 21:35:51 +03:00
Feynman Liang ff8dcd4f97 Tendermint epoch transitions (#6085)
* Adds signals_epoch_end to tendermint

* Adds is_epoch_end

* Adds snapshot_components

* Adds tendermint Epoch Verifier

* Fix documentation typos

* Change check_finality_proof to panic

* Fix compilation

* Adds Unconfirmed path to epoch_verifier

* Verify if address is validator in EpochVerifier

* check_finality_proof errors on failure

* Don't share combine/destructure_proofs

* Remove invalid import

* Remove duplicate epoch verifier trait

* Fix docs

* Adds recover stub to tendermint EpochVerifier

* Adds verify_light test

* Avoid boxed closure

* Style fixes
2017-07-26 16:25:32 +01:00
debris c94d923cbe bigint upgraded to version 3.0 2017-07-04 12:19:11 +02:00
Vurich f36613565c Upgrade `elastic-array` to 0.9.0
This is a huge change, which includes some changes to replace code that
originally cloned to reuse allocations instead. The updated
`elastic-array` crate renames its consuming `Vec`-conversion method to
`into_vec`, which means that I can do a simple
`sed -i 's/to_vec/into_vec/'` and then fix the compilation errors.

This commit is probably a minor performance win and definitely a
significant readability win.
2017-06-29 13:05:33 +02:00
Arkadiy Paronyan 5aae63198e Disable compression for RLP strings (#5786) 2017-06-08 17:24:23 +02:00
Nikolay Volf 37f4dd146e Update dependencies and bigint api (#5685)
* update to latest bigint

* bump elastic array and deps

* fix rlp tests

* also update all smallvec deps

* fix doc test

* reduce parking in attempt to fix CI bug

* fix from/into electum bug

* remove duplicate imports
2017-05-24 12:31:33 +02:00
Robert Habermeier 04914980d6 bump RLP version 2017-05-11 15:35:38 +02:00
Robert Habermeier d5a95a7a34 relicense ethcore-bigint 2017-05-11 15:34:35 +02:00
Robert Habermeier 58d066be3d relicense RLP to MIT/Apache2 2017-05-10 13:03:30 +02:00
Robert Habermeier ae1b6229af store epoch transition proofs in DB 2017-04-19 14:58:19 +02:00
arkpar 78ed15ad00 Compact chunks 2017-03-31 16:31:12 +02:00
Tomasz Drwięga bc957d2663 Updating paths to repos. (#5330)
* Updating paths to repos.

* Updating rotor and libusb

* Fixing other occurrences
2017-03-29 15:17:27 +02:00
Marek Kotewicz e79518362e rlp deserialization refactor, 30% faster (#4901)
* fixed naming of rlp modules

* RlpStream cleanup

* appending short rlp lists (0...55 bytes) is 25% faster

* RlpStream does not use bytes module, nor trait Stream

* removed unused code from rlp module

* compiling ethcore-util with new rlp serialization

* compiling parity with new rlp serialization

* fixed compiling ethcore-light with new rlp serialization

* fixed compiling ethsync with new rlp serialization

* moved rlp benches and rlp tests

* rlp deserialization refactor, 30% faster

* removed redundant comment, print

* fixed compiling parity with new rlp deserialization

* removed redundant double-space

* fixed failing test

* updated rlp docs, removed unused traits

* fixed rlp benchmarks

* replace usage of WriteBytesExt with ByteOrder

* removed unused, commented out code

* fixed merge conflict
2017-03-22 14:41:46 +01:00
Marek Kotewicz 98731c8de0 splitting part of util into smaller crates (#4956)
* split path module from util

* moved RotatingLogger from util to logger crate

* fix tests

* fix tests

* use only one version of ansi_term crate
2017-03-22 06:23:40 +01:00
Marek Kotewicz ddb4e348e4 rlp serialization refactor (#4873)
* fixed naming of rlp modules

* RlpStream cleanup

* appending short rlp lists (0...55 bytes) is 25% faster

* RlpStream does not use bytes module, nor trait Stream

* removed unused code from rlp module

* compiling ethcore-util with new rlp serialization

* compiling parity with new rlp serialization

* fixed compiling ethcore-light with new rlp serialization

* fixed compiling ethsync with new rlp serialization

* removed redundant comment, print

* removed redundant double-space

* replace usage of WriteBytesExt with ByteOrder
2017-03-20 19:14:29 +01:00
Gav Wood 29d0d72805 Fix whitespace (#4299)
* Fix whitespace.

* Update copyright years/owner.

* Push release only for tags.
2017-01-25 18:51:41 +01:00
Robert Habermeier 92f6686b49 Port `try` macro to new `?` operator. (#3962)
* initial untry sweep

* restore try in ipc codegen, fix inference

* change a few missed try instances
2016-12-27 12:53:56 +01:00
Nikolay Volf a4daa05fa7 Bring integer arithmetic up to crates.io (#3943)
* split initial

* decouple crate

* fix tests compilation

* fix rlp tests
2016-12-23 16:53:06 +01:00
Gav Wood 7c39d9d090 authors & homepage => Parity 2016-12-11 19:43:58 +01:00
Gav Wood efd859f5a9 Rename ethcore -> parity in license. 2016-12-11 19:30:54 +01:00
Arkadiy Paronyan 26e47364df Get rid of MemoryDB denote (#2881) 2016-10-26 13:53:47 +02:00
Arkadiy Paronyan d56f982b9f Handle RLP to string UTF-8 decoding errors (#2217) 2016-09-21 12:59:46 +02:00
Robert Habermeier fd9d01ee63 prepare bigint for crates.io 2016-09-13 15:27:18 +02:00
Robert Habermeier 9ef82da002 move rlp to separate crate, port ethcore-util to it 2016-09-01 13:36:32 +02:00