Commit Graph

394 Commits

Author SHA1 Message Date
Arkadiy Paronyan
58b68e0aef Merge pull request #21 from gavofyork/triemut
Repot Trie and split into mutable and immutable variants.
2015-12-19 13:56:03 +01:00
Gav Wood
0addfc186d Add tests for triedb, optimise tests for triedbmut. 2015-12-19 12:53:05 +00:00
Gav Wood
cc192b2264 Merge remote-tracking branch 'origin/master' into triemut 2015-12-19 12:38:02 +00:00
Gav Wood
80cdde2972 Renamed RLP's generic submodules to prevent systematic name clashing.
Repotted Trie module.
2015-12-19 12:35:26 +00:00
debris
f7ee9436cd more convinient creation of uint 2015-12-18 10:29:06 +01:00
arkpar
6e4850d4ae updated for new RLP interface 2015-12-17 14:05:13 +01:00
Gav Wood
2a5c6665cf Trie (immutable). 2015-12-17 12:48:47 +01:00
Gav Wood
674c667114 Rename Trie to TrieMut in preparation for immutable trie. 2015-12-17 12:43:50 +01:00
arkpar
ba4620bd6c Merge branch 'master' of github.com:gavofyork/ethcore-util into network
Conflicts:
	src/lib.rs
	src/rlp.rs
	src/triehash.rs
2015-12-17 11:46:42 +01:00
arkpar
a9bd050d2f Net service 2015-12-17 11:42:30 +01:00
Gav Wood
16bcb42865 Merge pull request #18 from gavofyork/heapsize
heapsize && squeeze
2015-12-16 17:55:45 +01:00
debris
926efb6fc8 docs, tests and bugfixes for squeeze 2015-12-16 17:12:20 +01:00
debris
56de081381 squeeze is pub 2015-12-16 16:27:27 +01:00
debris
ca1a6bd791 heapsize && squeeze 2015-12-16 16:23:21 +01:00
debris
1e6694ec7f removed unused stuff 2015-12-15 16:36:38 +01:00
Gav Wood
c7768e110e Merge pull request #17 from gavofyork/rlp_array
decoding to rust array [T; $len] using macro
2015-12-14 12:24:50 +01:00
debris
9231bc6622 read_list -> as_list 2015-12-14 12:03:48 +01:00
debris
de4a227a47 decoding fixed sized arrays 2015-12-14 11:56:11 +01:00
Gav Wood
d88c4db470 Merge pull request #16 from gavofyork/hash_changes
added H264 (required for extras_db slices), removed unnecessary unsafe code
2015-12-13 23:17:05 +01:00
debris
fed599fbb9 Merge branch 'master' of https://github.com/gavofyork/ethcore-util into hash_changes 2015-12-13 22:44:38 +01:00
debris
83af940223 h264 2015-12-13 22:44:28 +01:00
Marek Kotewicz
dc4f3fe498 Merge pull request #15 from gavofyork/ddtrie
Trie takes a reference to HashDB.
2015-12-13 19:44:26 +01:00
Gav Wood
d94c55133b Trie takes a reference to HashDB. 2015-12-13 19:36:49 +01:00
debris
6bc56ad004 added raw method to RlpStream. usefull for quicklookup 2015-12-12 15:57:08 +01:00
debris
38f813a5e6 fast mul by 10 2015-12-12 13:32:42 +01:00
debris
862702b9c7 implemented rem, lenient from_str, from_dec_str for uint 2015-12-12 06:04:24 +01:00
debris
16cadf1a64 hash for uint 2015-12-11 14:40:28 +01:00
Marek Kotewicz
03a3ebff3f Merge pull request #14 from gavofyork/borrowed_db
TrieDB borrowed db
2015-12-11 11:55:17 +01:00
debris
45ee74868a fixed trie benches 2015-12-11 11:53:44 +01:00
debris
f19d044e7c renamed new_pre_existing to new_existing 2015-12-11 03:49:15 +01:00
debris
b487f8f20e TrieDB root is borrowed 2015-12-11 03:00:39 +01:00
debris
8c9fe2fbe5 fixed benches 2015-12-10 15:57:47 +01:00
debris
4210b957ac triedb db is borrowed instead of being owned 2015-12-10 15:48:25 +01:00
debris
1a40416724 Makefile for cross-compilation 2015-12-10 01:41:44 +01:00
Marek Kotewicz
74b22691b7 Merge pull request #12 from gavofyork/fixed_multiplication
fixed multiplication, removed unused file
2015-12-09 14:51:50 +01:00
debris
6db12408dc fixed uint multiplication 2015-12-09 14:50:01 +01:00
debris
d2b1b92f9e removed unused macros.rs 2015-12-09 11:05:27 +01:00
debris
f10e72caeb fixed rlp benchmarks, added triehash benchmarks 2015-12-09 02:29:34 +01:00
debris
0e343d078c rlp encodable and decodable for options 2015-12-08 19:01:37 +01:00
Arkadiy Paronyan
0bf6d03c0a Merge pull request #11 from gavofyork/rlp_refactor
rlp refactor
2015-12-08 14:49:47 +01:00
debris
b657a15100 val_at rlp method 2015-12-08 14:44:22 +01:00
debris
1c58ba4764 . 2015-12-08 13:22:24 +01:00
debris
d5ab429e77 changed order of reexports 2015-12-08 13:02:32 +01:00
debris
36c586eb21 final changes in rlp refactor 2015-12-08 12:59:19 +01:00
debris
db762c534e docs tests are passing 2015-12-08 12:40:11 +01:00
debris
4e79fc641c Merge branch 'master' of https://github.com/gavofyork/ethcore-util into rlp_refactor 2015-12-08 12:36:33 +01:00
debris
51eff239fa rlpstream separated to its own submodule 2015-12-08 12:33:05 +01:00
debris
701aaf126d fixed rlp reexports 2015-12-08 00:53:28 +01:00
debris
4419924154 decoder refactor applied 2015-12-08 00:45:04 +01:00
debris
cb5ec8c0af decodable implementations 2015-12-08 00:27:12 +01:00