Commit Graph

401 Commits

Author SHA1 Message Date
Gav Wood
9c632d58f2 Possible fix? 2015-11-29 18:45:41 +01:00
debris
a1c017b7ff Merge branch 'master' of https://github.com/gavofyork/ethcore-util 2015-11-29 18:44:51 +01:00
debris
f7ec667852 in pro... 2015-11-29 18:44:29 +01:00
Gav Wood
cf62f67b5f Fix warnings. 2015-11-29 16:00:23 +01:00
Gav Wood
b334a8f824 Return lookup by reference. 2015-11-29 15:50:33 +01:00
debris
7e58f12712 triehash in progress 2015-11-29 15:41:29 +01:00
debris
1f6ae56468 as_nibbles 2015-11-29 12:39:37 +01:00
debris
96e1580ddf triehash, hex_prefix_encode 2015-11-29 12:22:35 +01:00
arkpar
5c975d06cc Started networking code 2015-11-29 11:50:28 +01:00
debris
d43091bf1e Merge branch 'crypto' of https://github.com/gavofyork/ethcore-util 2015-11-29 09:45:05 +01:00
debris
73566f071d updated rlp docs 2015-11-29 09:37:07 +01:00
debris
6f217e730c Rlp && UntrustedRlp changes 2015-11-29 09:28:48 +01:00
debris
f507ebf1fa rlp -> untrustedrlp in progress 2015-11-29 09:16:15 +01:00
arkpar
e04907729a KeyPair, EC signature 2015-11-29 02:11:56 +01:00
Gav Wood
5b57629e6d First little bit of trie done. 2015-11-29 01:39:39 +01:00
Gav Wood
d423a1d276 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-28 23:55:13 +01:00
Gav Wood
be96b2638d Doc tweaks. 2015-11-28 23:54:58 +01:00
Gav Wood
13a692cc9d Docuemntation udpate and tests. 2015-11-28 23:49:07 +01:00
Gav Wood
cefb1fa9ce OverlayDB complete and tested. 2015-11-28 22:54:12 +01:00
debris
8c0e063f6b docs for chainfilter 2015-11-28 22:43:16 +01:00
debris
b0c38cb6ec UntrastedRlp 2015-11-28 22:16:08 +01:00
debris
d6d51b456b UnsafeRlp 2015-11-28 22:10:58 +01:00
debris
52ccd7b094 fixed typo 2015-11-28 21:54:41 +01:00
debris
da60046e3d bloom filters 2015-11-28 21:42:50 +01:00
debris
b405c061a1 lower_level_bloom_indexes use collect instead of for loop 2015-11-28 21:11:10 +01:00
debris
a6240c0d30 fixed indention issues 2015-11-28 21:03:31 +01:00
debris
9b02a8bd5f cleanedup chain filter 2015-11-28 20:44:38 +01:00
debris
d1223b3b15 bloom filter uses vector instead of hashmap, added few comments 2015-11-28 20:32:46 +01:00
debris
1a30d91853 removed unused line 2015-11-28 20:06:28 +01:00
debris
addd1e5ffd bloom filter cleanup 2015-11-28 20:00:14 +01:00
debris
faf174c245 just a few comments 2015-11-28 19:48:41 +01:00
Gav Wood
358962d2ea Implemented, in principle. 2015-11-28 19:28:59 +01:00
debris
3e28c2da31 bloom filters 2015-11-28 19:11:04 +01:00
Gav Wood
5c57523dd9 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-28 19:04:31 +01:00
Gav Wood
7733faaab5 overlaydb put_payload. 2015-11-28 19:03:50 +01:00
Gav Wood
4640d64965 Reference-counted rocksdb backed DB. Just need DB I/O now. 2015-11-28 18:29:50 +01:00
debris
e769406b92 rustfmt 2015-11-28 17:10:14 +01:00
debris
f0f70f801e chainfilter almost done 2015-11-28 17:08:38 +01:00
debris
c55956c7b4 Filter trait 2015-11-28 13:08:30 +01:00
debris
90c66a8079 rlp encoding and decoding of fixed sized hashes 2015-11-28 11:25:23 +01:00
debris
07f3e6d5a5 updated tests for rlp and indention in benches 2015-11-28 10:50:41 +01:00
debris
111fc70d0b updated docs 2015-11-28 03:58:37 +01:00
Gav Wood
71dc9c0ad4 OVerlayDB draft. 2015-11-28 03:09:36 +01:00
Gav Wood
852233e4ac HashDB and initial OverlayDB 2015-11-28 03:08:57 +01:00
debris
33eeb8f477 math.rs, log2, FixedHash::shift_bloom, FixedHash::contains_bloom 2015-11-28 03:02:06 +01:00
debris
e807012894 Merge branch 'master' of https://github.com/gavofyork/ethcore-util 2015-11-28 01:39:07 +01:00
debris
6668d13ed3 merge branch 'master' of https://github.com/gavofyork/ethcore-util 2015-11-28 01:38:58 +01:00
Gav Wood
705ab53948 Fix for latest changes. 2015-11-28 01:38:36 +01:00
debris
47f8695c3b common changes in hash 2015-11-28 01:38:00 +01:00
Gav Wood
b7e69e04fe More documentation. 2015-11-28 01:12:59 +01:00
Gav Wood
d05435f4c4 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-28 00:15:09 +01:00
Gav Wood
2db779a63b Memory DB. 2015-11-28 00:14:40 +01:00
debris
815e01a781 removed copy from Hash, improved Clone, added BitOr 2015-11-27 23:24:01 +01:00
debris
f8bd7da111 formatted rlp.rs 2015-11-27 20:59:28 +01:00
debris
1eacff7e3d FixedHash trait 2015-11-27 20:10:31 +01:00
debris
b596528377 fixed typo in comment 2015-11-27 18:18:49 +01:00
debris
6477b2ad69 implements "bytes" for all fixed size arrays 2015-11-27 18:15:44 +01:00
Gav Wood
006fe20287 Add SHA3 2015-11-27 17:54:33 +01:00
Gav Wood
c08292663f Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-27 13:18:10 +01:00
Gav Wood
3def0b9609 Add uint constants. 2015-11-27 13:17:28 +01:00
debris
4ac86c4e30 updated tiny-keccak to 0.2, added rocksdb and renamed HashX to HX 2015-11-27 13:16:52 +01:00
Gav Wood
3d35f57a03 minor updates. 2015-11-27 00:30:21 +01:00
arkpar
8956d4cd5f Added rand and mio 2015-11-26 23:45:02 +01:00
arkpar
91b5df8d6d Additional hash traits and methods 2015-11-26 23:24:01 +01:00
Gav Wood
43c087c59a Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-26 21:34:38 +01:00
Gav Wood
ebf9fa21a8 64-byte hashes and reorg. 2015-11-26 21:34:28 +01:00
debris
0b9620f3ec rlp uses insert_slice 2015-11-26 19:09:14 +01:00
debris
716c907dc2 when rewriting the buffer, reserve enougth space 2015-11-26 18:36:28 +01:00
debris
21a5d5418b added benchmarks and few optimisations for rlp encoding 2015-11-26 15:43:52 +01:00
debris
4fcf044edd rlp encoding and decoding u256 2015-11-26 15:00:17 +01:00
debris
f95265d6ae uint256 2015-11-26 13:42:57 +01:00
debris
71d7576566 fixed return error type 2015-11-26 12:21:17 +01:00
debris
f0a6376a9e quick fixes 2015-11-26 02:50:21 +01:00
debris
a20d92c03b decoding rlp + tests 2015-11-26 02:32:50 +01:00
debris
e90c07009e fixed typos in comments 2015-11-26 01:26:32 +01:00
debris
f5d2d7a2d4 benchmars. optimised inserting empty list 2015-11-26 01:22:33 +01:00
debris
1582088759 rlp encoding documentation 2015-11-26 00:37:53 +01:00
Gav Wood
778b143e45 More tests. 2015-11-26 00:27:20 +01:00
debris
c6aa0c5dc0 Merge branch 'master' of https://github.com/gavofyork/ethcore-util 2015-11-26 00:10:53 +01:00
debris
4748ed5221 todos 2015-11-26 00:09:09 +01:00
Arkadiy Paronyan
50c79e091b Merge pull request #1 from gavofyork/rlp_encoding
rlp encoding
2015-11-26 00:06:13 +01:00
Gav Wood
31ee96f01c Display stuff. 2015-11-26 00:02:43 +01:00
debris
e40bb6d52c rlp append_list 2015-11-25 23:40:01 +01:00
debris
20cadef4f0 RlpStream uses BasicEncoder 2015-11-25 22:29:21 +01:00
debris
1c2c8c4eb5 removed last_err field from RlpStream 2015-11-25 22:16:50 +01:00
debris
ebe7c09210 removed legacy comment 2015-11-25 22:14:43 +01:00
debris
9dff894272 do not use io::Write 2015-11-25 22:13:57 +01:00
debris
93aeec19ec array -> list, RlpStream::array -> RlpStream::new_list 2015-11-25 21:58:15 +01:00
debris
94ecd8c3df there is no need for item info new to be public 2015-11-25 21:16:24 +01:00
debris
c47bf0ce5f emit_value && emit_array do not have constrains regarding type 2015-11-25 21:14:53 +01:00
debris
c5163b796f improved encoder 2015-11-25 21:04:43 +01:00
debris
9f938fbaab RlpStream array method 2015-11-25 19:36:27 +01:00
Gav Wood
168f3220a6 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-25 19:29:04 +01:00
Gav Wood
fca45496f4 Add hash and error. 2015-11-25 19:26:40 +01:00
debris
798b8b0fb8 rlp stream 2015-11-25 17:54:50 +01:00
debris
6006f7cc38 rlp encoding tests 2015-11-25 13:13:26 +01:00
debris
0eda699aa5 rlp encoder 2015-11-25 12:46:27 +01:00
debris
50c9d60778 renamed RlpIsNotArray to RlpExpectedToBeArray 2015-11-25 09:58:43 +01:00
debris
a4db001a6a added test for rlp iterator and *.swp to gitignore 2015-11-25 03:01:47 +01:00
debris
3097a47a9f rlp init 2015-11-25 02:53:35 +01:00
Gav Wood
789bf0bb01 Initial commit. 2015-11-24 20:57:45 +01:00