Commit Graph

377 Commits

Author SHA1 Message Date
arkpar
2ceffb425c Merge branch 'master' of github.com:gavofyork/ethcore-util into io 2016-01-14 02:18:32 +01:00
Marek Kotewicz
8a789533d2 Merge pull request #44 from gavofyork/gav
Nice macros.
2016-01-13 23:23:13 +01:00
arkpar
e4ef044d44 Merge branch 'master' of github.com:gavofyork/ethcore-util into io 2016-01-13 23:20:12 +01:00
arkpar
f72f7d05e9 Merge branch 'master' of github.com:gavofyork/ethcore-util into io 2016-01-13 23:14:59 +01:00
arkpar
4d2437906e Io channel 2016-01-13 23:13:57 +01:00
Gav Wood
b23ec6ee69 Nice macros. 2016-01-13 23:06:44 +01:00
debris
90645e30a6 update pr to use From::from 2016-01-13 22:05:10 +01:00
debris
dfc1be8a6e Merge branch 'master' of https://github.com/gavofyork/ethcore-util into json_aid_changes 2016-01-13 21:53:48 +01:00
Gav Wood
3a1d829b1d Additional test. 2016-01-13 19:00:19 +01:00
Gav Wood
5cc5e7780c Tests and an additional From::from for hex string -> hash that defaults to 0s for bad strings. 2016-01-13 18:58:57 +01:00
Gav Wood
9fa9ef46db Merge branch 'master' into gav 2016-01-13 18:41:52 +01:00
Gav Wood
dd99ebd859 From::from(u64) for hashes. 2016-01-13 18:41:33 +01:00
debris
6c44f29b06 json aid changes 2016-01-13 17:42:57 +01:00
debris
df3e3edc8a bytes_ref 2016-01-13 15:14:24 +01:00
arkpar
76dc2d6074 Merge branch 'master' of github.com:gavofyork/ethcore-util into io 2016-01-13 15:09:56 +01:00
arkpar
a5bb7b7f92 Work around ICE 2016-01-13 15:08:36 +01:00
arkpar
28c482691a Fixed context lifetimes 2016-01-13 13:56:48 +01:00
Gav Wood
4be539a965 Stirct ordering for hashes. 2016-01-13 12:16:10 +01:00
arkpar
c98f73c5c9 Finished splitting IoService and NetworkService 2016-01-13 11:31:37 +01:00
Gav Wood
6447f9b90b Additional helper function. 2016-01-13 01:18:33 +01:00
Gav Wood
635bf284b4 Fix RLP on consensus.
Add JSON helpers.
2016-01-12 23:44:30 +01:00
Gav Wood
6b1eb943e2 Add U512 type and a few conversions. 2016-01-12 17:40:55 +01:00
arkpar
982063e1ac Started IO service refactoring 2016-01-12 17:33:40 +01:00
Gav Wood
e2de777c30 Fix panic in crypto, avoid incorrect casting in bytes. 2016-01-12 00:55:42 +01:00
Gav Wood
48fbf24e21 Avoid panicking on oversize u64. 2016-01-12 00:10:47 +01:00
Gav Wood
65ab524053 Avoid panic on invalid uint data. 2016-01-11 23:59:33 +01:00
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