Commit Graph

469 Commits

Author SHA1 Message Date
Gav Wood
6a7c823862 Option types in JSON, more tests. 2016-01-14 23:39:59 +01:00
Gav Wood
3006b8ac66 Merge remote-tracking branch 'origin/master' into gav 2016-01-14 23:15:35 +01:00
Gav Wood
b781fe6753 from_existing works for an empty DB if passed empty RLP SHA3. 2016-01-14 23:13:28 +01:00
Arkadiy Paronyan
ca3413b500 Merge pull request #47 from gavofyork/gav
New JSON conversion traits.
2016-01-14 22:19:19 +01:00
Gav Wood
d2cc3b9b5b Remove unnecessary unwraps in json_aid. 2016-01-14 22:16:41 +01:00
Gav Wood
5e6632ca47 Remove cruft 2016-01-14 21:58:55 +01:00
Gav Wood
ccab2ea920 Missing files for previous commit. 2016-01-14 21:24:16 +01:00
Gav Wood
4f53db60ed New JSON conversion traits. 2016-01-14 21:24:03 +01:00
Gav Wood
df1ff2a448 Merge remote-tracking branch 'origin/master' into gav 2016-01-14 16:47:14 +01:00
Tomusdrw
ca49c6b625 Merge branch 'master' of github.com:gavofyork/ethcore-util 2016-01-14 14:56:47 +01:00
Gav Wood
c1603b8286 Merge remote-tracking branch 'origin/master' into gav 2016-01-14 13:11:47 +01:00
Gav Wood
d63db8523c Fix test, revert fn hex() behaviour. 2016-01-14 13:10:18 +01:00
Gav Wood
1c89b9732d Nicer display output for hash types. 2016-01-14 12:27:41 +01:00
Gav Wood
787a119f12 Workaround. 2016-01-14 01:28:09 +01:00
Gav Wood
46810e961c Broken casting. 2016-01-14 01:27:02 +01:00
Tomusdrw
1dae68cd05 Merge branch 'master' of github.com:gavofyork/ethcore-util 2016-01-14 00:01:39 +01:00
Marek Kotewicz
8a789533d2 Merge pull request #44 from gavofyork/gav
Nice macros.
2016-01-13 23:23:13 +01:00
Gav Wood
8be95e57ec Merge pull request #42 from gavofyork/json_aid_changes
json aid changes
2016-01-13 23:20:00 +01:00
Gav Wood
5fd5c461b3 u256_from_ hex -> str. 2016-01-13 23:19:08 +01:00
Gav Wood
7e7d75ce47 Merge remote-tracking branch 'origin/master' into gav 2016-01-13 23:14:53 +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
Arkadiy Paronyan
dee52bdc45 Merge pull request #43 from gavofyork/gav
From::from(u64) for hashes.
2016-01-13 19:06:04 +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
Gav Wood
dca7c65345 Merge pull request #41 from gavofyork/bytes_ref
bytes_ref
2016-01-13 15:38:52 +01:00
debris
df3e3edc8a bytes_ref 2016-01-13 15:14:24 +01:00
Marek Kotewicz
4650961a5a Merge pull request #40 from gavofyork/gav
Fix RLP on consensus.
2016-01-13 13:20:33 +01:00
Tomusdrw
95d97fc75c Merge branch 'master' of github.com:gavofyork/ethcore-util 2016-01-13 12:24:19 +01:00
Tomusdrw
d5ed4a8ffd Fixed typos 2016-01-13 12:24:14 +01:00
Gav Wood
4be539a965 Stirct ordering for hashes. 2016-01-13 12:16:10 +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
Arkadiy Paronyan
870dff90d4 Merge pull request #39 from gavofyork/gav
Add U512 type and a few conversions.
2016-01-12 17:43:03 +01:00
Gav Wood
6b1eb943e2 Add U512 type and a few conversions. 2016-01-12 17:40:55 +01:00
Arkadiy Paronyan
eab9f010f9 Merge pull request #38 from gavofyork/gav
Fix panic in crypto, avoid incorrect casting in bytes.
2016-01-12 00:58:04 +01:00
Gav Wood
e2de777c30 Fix panic in crypto, avoid incorrect casting in bytes. 2016-01-12 00:55:42 +01:00
Marek Kotewicz
584bcda7d5 Merge pull request #37 from gavofyork/gav
Avoid panicking on oversize u64.
2016-01-12 00:16:11 +01:00
Gav Wood
48fbf24e21 Avoid panicking on oversize u64. 2016-01-12 00:10:47 +01:00
Marek Kotewicz
b6b65ea182 Merge pull request #36 from gavofyork/gav
Avoid panic on invalid uint data.
2016-01-12 00:01:32 +01:00
Gav Wood
65ab524053 Avoid panic on invalid uint data. 2016-01-11 23:59:33 +01:00
Gav Wood
d661116580 Merge branch 'master' into gav 2016-01-11 19:13:06 +01:00
Marek Kotewicz
e4dbba874f Merge pull request #35 from gavofyork/gav
Additional mem use.
2016-01-11 18:02:58 +01:00
Gav Wood
1c48e34d69 Additional mem use. 2016-01-11 18:01:54 +01:00
Marek Kotewicz
a233320f88 Merge pull request #34 from gavofyork/gav
Couple more standard things in common.
2016-01-11 17:40:34 +01:00
Gav Wood
c104009ef6 Additional standard.rs. 2016-01-11 17:38:28 +01:00