Commit Graph

409 Commits

Author SHA1 Message Date
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
debris
f4927619da added tiny-keccak to Cargo.toml 2015-11-27 11:30:14 +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
a2fe4a4ac1 Added rand and mio 2015-11-26 23:44:03 +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
Arkadiy Paronyan
04abfae6b5 Merge pull request #4 from gavofyork/insert_slice
rlp uses insert_slice
2015-11-26 19:11:48 +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
7fca8b0ec5 Merge branch 'master' of https://github.com/gavofyork/ethcore-util 2015-11-26 16:16:51 +01:00
debris
d7dc1e5f6f fixes in benchmars 2015-11-26 16:15:57 +01:00
Arkadiy Paronyan
8cf5305d28 Merge pull request #3 from gavofyork/rlp_u256
rlp encoding and decoding u256
2015-11-26 15:48:16 +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