Marek Kotewicz
46183b1cdd
bigint upgraded to version 3.0 ( #5986 )
...
* bigint upgraded to version 3.0
* fixed missing FromHex import in ethcore tests
* fixed missing FromHex import in rpc tests
2017-07-06 11:26:14 +02:00
Vurich
01ce28bc9a
Fix tests
2017-06-29 13:05:33 +02:00
Vurich
3d8dc11442
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
Jef
72094a8bee
Reduce unnecessary allocations ( #5944 )
2017-06-28 09:36:42 +02:00
Guanqun Lu
59488769cf
network: make it more explicit about StreamToken and TimerToken ( #5939 )
2017-06-27 18:24:18 +02:00
Arkadiy Paronyan
4d5280e43c
removed panic handlers ( #5895 )
2017-06-22 19:00:53 +02:00
Guanqun Lu
a5531e83fd
ArchiveDB: add a new test case
2017-06-18 23:13:27 +08:00
Guanqun Lu
7f07f7d567
ArchiveDB: add a contains() test for long history test case
2017-06-18 23:13:27 +08:00
Robert Habermeier
ed20fa4da1
Merge pull request #5766 from guanqun/db-tests
...
three small commits for HashDB and MemoryDB
2017-06-18 04:24:45 +02:00
Guanqun Lu
1efa7e7b10
add one more test case for consolidate, both are negative
2017-06-18 09:02:44 +08:00
Guanqun Lu
ce8f8f40d7
move MemoryDB's tests into tests module
2017-06-18 09:02:44 +08:00
Guanqun Lu
4efd673c19
add a bit clarification to HashDB's remove() interface
2017-06-18 09:02:44 +08:00
Guanqun Lu
cd3a1c1a94
use rust 1.18's new feature to boost the purge performance
2017-06-09 01:34:10 +08:00
Arkadiy Paronyan
9418fcafb6
Disable compression for RLP strings ( #5786 )
2017-06-08 17:24:23 +02:00
Guanqun Lu
05aa960c25
use NULL_RLP, remove NULL_RLP_STATIC ( #5742 )
2017-06-07 11:58:39 +02:00
Arkadiy Paronyan
ad6ea4fa49
Bump mio ( #5763 )
...
* Bump mio
* Fixed warnings
* Update mio to crates.
2017-06-05 20:40:40 +02:00
Guanqun Lu
a246278727
typo fix ( #5699 )
2017-05-27 23:35:18 +03:00
Nikolay Volf
e1fef5c732
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
Guanqun Lu
86b00a9271
typo fix ( #5669 )
2017-05-20 11:22:35 +02:00
Tomasz Drwięga
3ff72794e5
Create an account for chain=dev ( #5612 )
...
* implement From<&'static str> for Secret
* Dev account.
* Fix Secret semantics.
2017-05-19 17:06:36 +02:00
Robert Habermeier
8c86bd1b31
bump RLP version
2017-05-11 15:35:38 +02:00
Robert Habermeier
f299190e46
relicense ethcore-bigint
2017-05-11 15:34:35 +02:00
Robert Habermeier
a2fe46f8b3
use bigint on crates.io
2017-05-10 13:16:24 +02:00
Robert Habermeier
bccf58df51
relicense RLP to MIT/Apache2
2017-05-10 13:03:30 +02:00
Arkadiy Paronyan
da2f684f18
Memory usage optimization ( #5526 )
2017-05-02 11:40:03 +02:00
Robert Habermeier
a33b4cc73b
fix tests
2017-04-20 15:04:07 +02:00
Robert Habermeier
a278dd5a0a
store epoch transition proofs in DB
2017-04-19 14:58:19 +02:00
Robert Habermeier
6da6c755a5
iterate DB by prefix
2017-04-18 15:45:15 +02:00
arkpar
b840ab8f8b
Compact chunks
2017-03-31 16:31:12 +02:00
Tomasz Drwięga
d2394d3ac3
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
64c098627e
updating dependencies ( #5028 )
...
* updated docopt, env_logger, semver and regex crates
* updated parking_lot to 0.4
* fixed compiling on linux
* updated igd to 0.6
* updated jsonrpc
* fixed regex related compiler error on linux
2017-03-28 19:06:08 +02:00
arkpar
4ef89b5ccb
Fine grained snapshot chunking
2017-03-25 13:22:25 +01:00
Arkadiy Paronyan
3b54b49b0b
Resilient warp sync ( #5018 )
2017-03-24 18:55:57 +01:00
Marek Kotewicz
044d070667
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
Tomasz Drwięga
7e87e9e8ad
Updating JSON-RPC crates ( #4934 )
...
* New version of jsonrpc.
* Better invalid encoding messages
* Fixing deprecated methods of tokio_core
* Using dedicated branch for jsonrpc
* Bump
2017-03-22 07:02:14 +01:00
Marek Kotewicz
d530cc86f3
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
a555686bcd
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
Marek Kotewicz
8a67a0a80a
removed redundant (and unused) FromJson trait ( #4871 )
2017-03-13 11:42:27 +01:00
Marek Kotewicz
3fe3353696
removed redundant FixedHash trait, fixes #4029 ( #4866 )
2017-03-11 22:58:15 +04:00
Arkadiy Paronyan
bc9464fcbd
Removed link directive ( #4841 )
2017-03-10 15:25:02 +01:00
Robert Habermeier
8a3b5c6332
Remote transaction execution ( #4684 )
...
* return errors on database corruption
* fix tests, json tests
* fix remainder of build
* buffer flow -> request credits
* proving state backend
* generate transaction proofs from provider
* network messages for transaction proof
* transaction proof test
* test for transaction proof message
* fix call bug
* request transaction proofs from on_demand
* most of proved_execution rpc
* proved execution future
2017-03-08 14:39:44 +01:00
Arkadiy Paronyan
ae3f85bd5b
v1.7 ( #4730 )
2017-03-07 17:29:27 +01:00
Robert Habermeier
da3c13f0a2
split adding and dropping columns tests
2017-02-27 18:57:22 +01:00
Robert Habermeier
868624c6a9
return correct path for in-place migration
2017-02-26 19:30:54 +01:00
Robert Habermeier
ac82a838b8
test case and handle in-place migration correctly
2017-02-26 19:22:51 +01:00
Robert Habermeier
ed0a2567d8
docs
2017-02-26 19:11:19 +01:00
Robert Habermeier
c2c699abb9
change migration to v11 to be faster
2017-02-26 18:41:40 +01:00
Robert Habermeier
3cc007b4d6
add and remove column families dynamically
2017-02-26 18:29:35 +01:00
Robert Habermeier
d8b1cfe082
Merge branch 'master' into lightrpc
2017-02-20 18:01:29 +01:00
Robert Habermeier
62b340f2b9
Save pending local transactions in the database ( #4566 )
...
* Create new column family for local node info
* remove DBTransaction::new reliance on DB
* KeyValueDB trait
* InMemory KeyValueDB implementation
* journaldb generic over KVDB
* make most of `ethcore` generic over KVDB
* fix json tests compilation
* get all tests compiling
* implement local store (just for transactions)
* finish local store API, test
* put everything into place
* better test for skipping bad transactions
* fix warning
* update local store every 15 minutes
* remove superfluous `{}`s
2017-02-20 17:21:55 +01:00