Commit Graph

401 Commits

Author SHA1 Message Date
Gav Wood
1c48e34d69 Additional mem use. 2016-01-11 18:01:54 +01:00
Gav Wood
c104009ef6 Additional standard.rs. 2016-01-11 17:38:28 +01:00
arkpar
c269cb5c85 Added sync to std uses 2016-01-11 11:52:18 +01:00
arkpar
6f3c3fa020 Documentation 2016-01-10 22:42:27 +01:00
arkpar
02b530f4aa Style 2016-01-10 15:13:12 +01:00
arkpar
39fb29ffcc Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2016-01-10 14:10:29 +01:00
arkpar
2f45d22b38 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2016-01-10 14:09:51 +01:00
Gav Wood
6410759bc3 Remove unneeded error. 2016-01-10 14:06:38 +01:00
arkpar
b0cef968e7 Networking fixes 2016-01-10 14:02:01 +01:00
Gav Wood
5862d58379 Reworked network errors (now NetworkError) to be a subset of UtilErrors rather than the
other way around.
2016-01-10 12:53:55 +01:00
Gav Wood
ffc28bf495 Additional bloom-related functionality.
RlpStandard for non-emit_*-based RlpStream extesions.
2016-01-09 23:47:46 +01:00
Gav Wood
568d28e94b Bitwise Or Assign and some additional convenience in Hash. 2016-01-09 22:30:13 +01:00
Gav Wood
6eac110b65 Merge branch 'master' into gav 2016-01-09 12:33:40 +01:00
Gav Wood
2b90f7d03a Introduce use-dependency amalgamation. We now have:
- `use standard;` (bring in a set of standard and external dependencies)
- `use common;` (bring in a low-level subset of this crate; basically anything that itself requires only `use standard;`)

And, from an external create:
- `use ethcore_util::*;` (bring in the entirety of this module and the standard dependencies)
2016-01-09 12:12:36 +01:00
arkpar
24ba723818 Do not expose sha3 from crypto 2016-01-09 10:27:41 +01:00
arkpar
02c60acc14 Fixed build after merge 2016-01-09 10:22:03 +01:00
arkpar
6183ba5cb5 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2016-01-09 10:20:11 +01:00
arkpar
49d97d7cb3 is_zero for hash types 2016-01-09 10:20:07 +01:00
Gav Wood
d7fe922425 Fix API, 2016-01-08 22:30:45 +01:00
arkpar
647ea286ba Renamed RlpStream::raw to as_raw 2016-01-08 15:57:50 +01:00
arkpar
9286a03656 Even more style 2016-01-08 15:52:43 +01:00
arkpar
469b0a17dc More style 2016-01-08 13:55:44 +01:00
arkpar
396a1755e3 More style 2016-01-08 13:49:00 +01:00
arkpar
e6623c0edd Removed wrong file 2016-01-08 13:33:38 +01:00
arkpar
1ffd999f96 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2016-01-08 13:32:52 +01:00
arkpar
288794fd27 Style 2016-01-08 13:10:00 +01:00
Gav Wood
e4ed6467a9 Fixes and renaming fax->copy. 2016-01-08 12:05:38 +01:00
Gav Wood
f81fb2de51 Fix and some tests for opaque types in populatable. 2016-01-08 12:02:26 +01:00
Gav Wood
3018c4a28a Additional Populatable API tweaks. 2016-01-08 11:52:46 +01:00
Gav Wood
f0da76df7c API cleanups. 2016-01-08 11:43:11 +01:00
Gav Wood
806de37cec Additional docs. 2016-01-08 11:02:32 +01:00
Gav Wood
51ccd5e8fc Comment TODO. 2016-01-08 00:36:57 +01:00
Gav Wood
5fc87a334d Additional work & convenience functions on crypto, bytes & hash.
Renaming mut_bytes() to as_slice_mut().
2016-01-07 23:59:50 +01:00
Gav Wood
5423797ce4 Build fix. 2016-01-06 14:06:34 +01:00
Gav Wood
398231f9a7 Additional missing struct stuff. 2016-01-06 13:59:48 +01:00
Gav Wood
be7bfd51a7 Merge branch 'master' into gav 2016-01-06 13:55:05 +01:00
Gav Wood
8bf03bb8ff Secure trie functions & structs. 2016-01-06 13:53:23 +01:00
Gav Wood
0125125c27 Semantic version test fix. 2016-01-05 19:05:51 +01:00
arkpar
73405cc74c Fixed timeout signature; Added usage example 2016-01-04 23:58:59 +01:00
arkpar
39f2dc9e2f Style 2016-01-04 13:49:32 +01:00
arkpar
32fcc6b3e9 Removed fmt file 2016-01-03 09:23:45 +01:00
arkpar
2cdf4ebd0a Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2016-01-03 09:22:26 +01:00
arkpar
9e0c8e3d8b Documentation 2015-12-30 12:23:36 +01:00
arkpar
267495c264 User IO messages 2015-12-28 11:41:51 +01:00
arkpar
634b6be1e6 fixed warnings 2015-12-26 15:50:55 +01:00
arkpar
fa1b74fa53 minor fixes 2015-12-26 15:48:41 +01:00
debris
88debb2190 address to and from h256 2015-12-24 00:31:43 +01:00
arkpar
416c2ec3e4 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2015-12-22 22:23:53 +01:00
arkpar
3ad262e18f more networking 2015-12-22 22:23:43 +01:00
arkpar
f34b22c65b cache item count in Rlp 2015-12-22 22:23:01 +01:00
debris
9220e0c49f missing Error case 2015-12-21 02:30:38 +01:00
debris
be2b041ee4 fixed semantic version tests 2015-12-21 01:57:34 +01:00
Gav Wood
7ed49bea4d Merge pull request #20 from gavofyork/uint
convenient creation of uint
2015-12-20 12:55:51 +00:00
Gav Wood
72a24ad023 SemanticVersion struct.
Additional documentation.
2015-12-20 12:28:13 +00:00
arkpar
900fc833f0 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2015-12-19 14:19:14 +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
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
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
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
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
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
4210b957ac triedb db is borrowed instead of being owned 2015-12-10 15:48:25 +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
0e343d078c rlp encodable and decodable for options 2015-12-08 19:01:37 +01:00
debris
b657a15100 val_at rlp method 2015-12-08 14:44:22 +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
debris
0de75185aa decodable trait impl in progress 2015-12-08 00:07:07 +01:00
debris
7e287755ca rlp view interface + refactor 2015-12-07 23:47:26 +01:00
Gav Wood
03674cad3b Documentation. 2015-12-07 17:20:15 +01:00
debris
36bea4692e refector init 2015-12-07 16:32:06 +01:00
Gav Wood
5a889a35be Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-07 15:03:02 +01:00
Gav Wood
fcae9034ac Trie documentation and code consolidation. 2015-12-07 15:00:54 +01:00
debris
8cf437b349 rlp uses elastic array 2015-12-07 11:27:12 +01:00
debris
182f356467 replace linked list with vec 2015-12-06 11:42:15 +01:00