Commit Graph

982 Commits

Author SHA1 Message Date
Gav Wood
249c615752 Minor refactoring, OpenBlock::close closer to working. 2016-01-09 22:13:13 +01:00
debris
f7e9816d33 substate in progress 2016-01-09 21:39:38 +01:00
arkpar
32bfa69106 More docs 2016-01-09 19:13:58 +01:00
arkpar
0eb69c7f1c Removed verification from this branch 2016-01-09 19:10:58 +01:00
arkpar
af21038bb9 More block verifications 2016-01-09 19:10:05 +01:00
Gav Wood
8b5b493f7d Sketch of how OpenBlock::close() might look. 2016-01-09 18:58:04 +01:00
arkpar
28a658015d Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-09 18:50:45 +01:00
debris
9cc88e2cb1 Merge branch 'master' of https://github.com/gavofyork/ethcore into evm 2016-01-09 18:41:12 +01:00
arkpar
10fe6b937f Docs 2016-01-09 18:40:13 +01:00
Gav Wood
71670e6277 Fix test warnings. 2016-01-09 18:26:35 +01:00
debris
300a9506ed evmjit output data 2016-01-09 18:25:18 +01:00
Gav Wood
4622882fda Separate out Ethereum-network-specific resources.
Fix State to use secure trie variants.
2016-01-09 18:20:31 +01:00
debris
130b2fc46a separated executive and externalities 2016-01-09 17:55:47 +01:00
Gav Wood
a978cbad52 Remove genesis module, add more chain specs and separate out ethereum-specific stuff. 2016-01-09 17:15:55 +01:00
arkpar
8cd3aa4b43 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-09 14:41:04 +01:00
Gav Wood
2b022e11e1 State::new_contract. 2016-01-09 14:19:35 +01:00
debris
50af19a7c8 contract creating contract 2016-01-09 13:51:59 +01:00
Gav Wood
6eac110b65 Merge branch 'master' into gav 2016-01-09 12:33:40 +01:00
Gav Wood
4fc6b0dc60 Introduce use common::*; for common stuff (modules that themselves require no other modules in this crate).
Fix build.
2016-01-09 12:30:41 +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
86dfa1b425 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-09 10:26:31 +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
arkpar
f1cdc0a17d Started block verification 2016-01-09 10:16:35 +01:00
debris
5ae0f71922 executive create fixes 2016-01-09 02:12:17 +01:00
debris
bcd026aaf1 Merge branch 'master' of https://github.com/gavofyork/ethcore into evm 2016-01-09 01:41:10 +01:00
debris
68beb0099d executive tests in progress 2016-01-09 01:33:50 +01:00
debris
43c612fa89 moved runtime data to jit 2016-01-09 00:55:17 +01:00
debris
4932720d58 evm params 2016-01-09 00:51:09 +01:00
Gav Wood
d7fe922425 Fix API, 2016-01-08 22:30:45 +01:00
Gav Wood
76ba2df141 Compiling, fleshed-out Block. 2016-01-08 22:04:21 +01:00
Gav Wood
7bad30a1bf Compiling Bloc. 2016-01-08 21:33:41 +01:00
Gav Wood
4bbc0943a3 Initial sketch of Block struct. 2016-01-08 19:12:19 +01:00
arkpar
b272595183 Rlp error handling 2016-01-08 17:52:25 +01:00
Gav Wood
5b81a2d70a Frontier Spec added. 2016-01-08 16:47:17 +01:00
arkpar
9ea7f14542 Style 2016-01-08 16:26:00 +01:00
Gav Wood
98c5905257 Add frontier chain spec. 2016-01-08 16:24:14 +01:00
arkpar
290d738e3f Style 2016-01-08 16:00:32 +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
debris
bed4bfce1c executive in progress... 2016-01-08 12:50:06 +01:00
Gav Wood
1c71640777 Build fixes for Ethash. 2016-01-08 12:27:00 +01:00
Gav Wood
3cbaf64c51 Beginnings of Ethash engine. 2016-01-08 12:15:59 +01:00
Gav Wood
648207d8e8 Rename fax->copy. 2016-01-08 12:05:58 +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
6837899eba Fixups for new bytes.rs API. 2016-01-08 11:53:07 +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
e6439dde99 Minor API update. 2016-01-08 11:03:58 +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
7e873a8bbe ripemd160 builtin and tests. 2016-01-08 00:31:21 +01:00
Gav Wood
d94fcbd839 sha256 builtin + tests. 2016-01-08 00:26:52 +01:00
debris
d0180df167 little improvements in evm ext 2016-01-08 00:16:15 +01:00
Gav Wood
8f4637ecbc API sync (moved Populatable to util). 2016-01-08 00:00:07 +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
183682ffbc ecrecover builtin, tests and docs. 2016-01-07 23:55:14 +01:00
debris
8335d40102 contract_address && ExtFace 2016-01-07 23:33:54 +01:00
arkpar
5ef719ae23 Missing client module 2016-01-07 21:35:06 +01:00
debris
d27a16c945 executive in progress 2016-01-07 21:29:36 +01:00
arkpar
68cd250ec0 Fixed block header seal fields decoding 2016-01-07 21:28:17 +01:00
arkpar
9b28d4cff6 Removed dup file 2016-01-07 21:27:41 +01:00
arkpar
edea8d56e3 TODO comment 2016-01-07 20:49:36 +01:00
arkpar
24ecd0091a Client consolidation and docs 2016-01-07 20:43:37 +01:00
Gav Wood
3cb3c2a2bd Fix for Genesis. 2016-01-07 19:42:59 +01:00
Gav Wood
14d77d522b Minor whitespacing. 2016-01-07 19:25:51 +01:00
debris
ec720aefa9 env -> ext 2016-01-07 19:20:23 +01:00
Gav Wood
810bff1ea9 Morden genesis tested and working. 2016-01-07 19:10:29 +01:00
debris
146999cfbf executive init 2016-01-07 19:05:44 +01:00
arkpar
2a4d470039 Client app 2016-01-07 16:08:12 +01:00
debris
8c6d6950ca evm call and create in progress 2016-01-06 20:00:32 +01:00
debris
a0bb1068af evm env uses EnvInfo. blockhash function implementation 2016-01-06 17:53:59 +01:00
Gav Wood
f9b3e26934 Fix warnings. 2016-01-06 16:00:42 +01:00
Gav Wood
db23ee765a Fixes and a test! Now correctly builds Morden's genesis block. 2016-01-06 15:57:17 +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
debris
b447de9120 additional asserts in jit log test 2016-01-06 13:09:41 +01:00
debris
293bca363e evm logs 2016-01-06 13:00:14 +01:00
debris
ad43079fdc test balance 2016-01-06 10:37:21 +01:00
debris
8bc2e65c16 distinguish between i256 and h256 on evmjit wrapper layer 2016-01-05 20:24:43 +01:00
Gav Wood
e98452b0c7 Tests for Builtin. 2016-01-05 19:23:40 +01:00
Gav Wood
6585910c2a Whitespace fixes. 2016-01-05 19:12:19 +01:00
Gav Wood
dabb90bf40 Fix tests for builtin. 2016-01-05 19:11:41 +01:00
Gav Wood
0125125c27 Semantic version test fix. 2016-01-05 19:05:51 +01:00
debris
cdcabc2f4a Merge branch 'master' of https://github.com/gavofyork/ethcore into evm 2016-01-05 18:43:59 +01:00
debris
359ba8d597 extcode working 2016-01-05 18:43:46 +01:00
arkpar
aff4e24775 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-05 00:11:16 +01:00
arkpar
73405cc74c Fixed timeout signature; Added usage example 2016-01-04 23:58:59 +01:00
Gav Wood
e369042ff7 Correct naming and fix for Morden. 2016-01-04 21:53:36 +00:00
Gav Wood
957dd36328 Make builtins work. 2016-01-04 21:47:45 +00:00
arkpar
39f2dc9e2f Style 2016-01-04 13:49:32 +01:00
arkpar
8d37ef7d8e Removed Copy trait from H256 2016-01-04 13:25: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
debris
156fcad4e2 docs 2015-12-30 12:46:10 +01:00
arkpar
9e0c8e3d8b Documentation 2015-12-30 12:23:36 +01:00
debris
2e7f0e29de tests for sload, sstore, sha3 2015-12-30 12:03:40 +01:00
debris
e3f59d82ef vm factory 2015-12-29 12:37:38 +01:00
debris
3dd26582a2 env implementation in progress 2015-12-29 12:04:03 +01:00
debris
4e31fe5785 fixed signal 11 error 2015-12-28 22:37:15 +01:00
debris
f2ae8708de fixed env address 2015-12-28 15:11:05 +01:00
arkpar
b925df2cd9 Use HeaderView instead of BlockHeader 2015-12-28 12:03:05 +01:00
arkpar
267495c264 User IO messages 2015-12-28 11:41:51 +01:00
arkpar
1a1c61179f order peers by difficulty 2015-12-27 02:27:15 +01:00
arkpar
1d67a7a373 sync fixed; more tests 2015-12-27 00:48:03 +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
arkpar
bf9667a206 sync tests 2015-12-26 15:47:07 +01:00
arkpar
9087cc798b sync refactoring; range tests 2015-12-25 14:55:55 +01:00
arkpar
0578712a26 syncing code done 2015-12-24 17:18:47 +01:00
debris
142bba096a "importing" evmjit callbacks abi 2015-12-24 02:28:09 +01:00
debris
000d8fe8d0 runtime_data, tests in progress 2015-12-24 01:07:46 +01:00
debris
88debb2190 address to and from h256 2015-12-24 00:31:43 +01:00
debris
c695e09bba docs 2015-12-23 13:49:45 +01:00
debris
353d4fbea0 evm adapter init 2015-12-23 13:02:01 +01:00
Gav Wood
c85cabb598 Additional notes. 2015-12-23 11:56:38 +00:00
Gav Wood
ff74e8239d Spec's json_to_rlp. 2015-12-23 11:53:34 +00:00
Gav Wood
be3f8ffd49 Additional docs. 2015-12-23 11:10:34 +00:00
arkpar
48abca6669 Merge branch 'master' of github.com:gavofyork/ethcore into network 2015-12-22 22:32:24 +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
arkpar
fcba0122bc started sync 2015-12-22 22:19:50 +01:00
Gav Wood
07aef2499e Spec can now read much from a JSON. Still todo builtins and params. 2015-12-21 21:08:42 +00:00
Gav Wood
c3bbf2870c Merge remote-tracking branch 'origin/master' into gav 2015-12-21 17:43:13 +00:00
Gav Wood
6c785d2850 Move all chain parameters into engine_params and let Engine impl provide them. 2015-12-21 17:40:48 +00:00
debris
f4508083cd updated comments 2015-12-21 16:57:28 +01:00
debris
263654e966 updated comments 2015-12-21 16:53:07 +01:00
debris
558a2e7061 updated comments 2015-12-21 16:49:31 +01:00
debris
29365a0d2d test reopen blockchain db 2015-12-21 16:38:31 +01:00
debris
e652543fcd tree_route tests 2015-12-21 16:31:51 +01:00
debris
60cbe3343e updated docs for genesis 2015-12-21 15:28:12 +01:00
debris
4b20cfaf42 fixed typos 2015-12-21 15:25:58 +01:00
debris
49fa99ae05 blockchain cleanup 2015-12-21 15:22:24 +01:00
debris
f9457cc584 block insert in one batch to extras 2015-12-21 14:23:10 +01:00
debris
491cc29a09 group best block info together in blockchain 2015-12-21 02:57:02 +01:00
debris
0164ce4b19 Merge branch 'master' into blockchain 2015-12-21 02:34:41 +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
b52aac497e Remove networkparams. 2015-12-20 22:31:40 +00:00
Gav Wood
6a363c5646 Correct seal fields in spec. 2015-12-20 21:07:03 +00:00
Gav Wood
ea9a008031 Move information from networkparams.rs into spec.rs
Repot null_engine, spec, evm_schedule, builtin.
2015-12-20 20:45:43 +00:00
Gav Wood
a9591dcd3c Move bulking out in Engine/Params. 2015-12-20 15:12:53 +00: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
feee9a26cb Remove SemanticVersion to ethcore-util. 2015-12-20 12:29:06 +00:00
Gav Wood
72a24ad023 SemanticVersion struct.
Additional documentation.
2015-12-20 12:28:13 +00:00
Gav Wood
c718a5c627 Additional doc/tests. 2015-12-20 12:22:54 +00:00
Gav Wood
435911b9f0 Repot & introduce various additional components for rest of consensus algorithm. 2015-12-20 12:16:12 +00:00
Gav Wood
9d70f6bdff State::transfer_balance and a couple of placeholders. 2015-12-19 21:38:25 +00:00
Gav Wood
6b61ab6322 More succient code in State require/get. 2015-12-19 21:22:19 +00:00
Gav Wood
c7167068b8 Removed need for mutation in State. 2015-12-19 21:15:22 +00:00
Gav Wood
4c58d1a53f Remove cruft. 2015-12-19 18:03:42 +00:00
Gav Wood
b922f8ddec State::code and State::storage_at + tests. 2015-12-19 18:00:19 +00:00
Gav Wood
20d4da78bc Merge remote-tracking branch 'origin/master' into broken 2015-12-19 14:06:00 +00:00
Arkadiy Paronyan
18850c3197 Merge pull request #44 from gavofyork/state
State functions for balance and nonce operations
2015-12-19 14:21:22 +01: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
c2a799064d fixed one of tree route cases 2015-12-18 11:34:55 +01:00
debris
f7ee9436cd more convinient creation of uint 2015-12-18 10:29:06 +01:00
Gav Wood
ffd10d3373 Broken build 2015-12-17 21:12:35 +01:00
debris
e591738157 blockchain Cell<H256> -> RefCell<H256> 2015-12-17 20:37:04 +01:00
debris
dad010f8b1 fixed loading genesis 2015-12-17 19:26:21 +01:00
debris
dbeae3ade3 Merge branch 'master' of https://github.com/gavofyork/ethcore into blockchain 2015-12-17 17:21:47 +01:00
debris
5630daa0a8 removed unused block mod 2015-12-17 17:21:37 +01:00
debris
535e936e29 basic tests and docs for blockchain 2015-12-17 17:20:10 +01:00
debris
f390eb8545 blockchain insert_block tree route 2015-12-17 15:11:42 +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
Gav Wood
58d8f13913 TrieDBMut rather than TrieDB in preparation for immutable Trie type. 2015-12-17 12:43:01 +01:00
Gav Wood
8687d0d097 Slightly better mutation semantics. 2015-12-17 12:32:35 +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
324762f6a7 cleanup 2015-12-17 02:13:14 +01:00
debris
2251c469b8 extras refactored 2015-12-17 01:54:24 +01:00
Gav Wood
e08958d502 Minor doc fix. 2015-12-16 20:11:37 +01:00
Gav Wood
8edd95e8cb Test and fixes for State's require function. 2015-12-16 20:02:28 +01:00
Gav Wood
d2f3942c47 Tests for nonce & balance. 2015-12-16 18:28:04 +01:00
Gav Wood
5443563903 State functions for balance and nonce operations. 2015-12-16 18:20:23 +01:00
debris
3862d639bc cache size && common naming changes 2015-12-16 17:39:15 +01:00
Marek Kotewicz
efdb178487 Merge pull request #43 from gavofyork/state
Account::storage_at, Account::ensure_cached and tests.
2015-12-16 17:15:52 +01:00
debris
926efb6fc8 docs, tests and bugfixes for squeeze 2015-12-16 17:12:20 +01:00
Gav Wood
d6e6f9bf94 State::ensure_cached with docs and tests. 2015-12-16 16:39:49 +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
Gav Wood
249424997d Account::storage_at, Account::ensure_cached and tests. 2015-12-16 12:46:25 +01:00
debris
1e6694ec7f removed unused stuff 2015-12-15 16:36:38 +01:00
debris
b2177ad2eb Merge branch 'master' of https://github.com/gavofyork/ethcore into blockchain 2015-12-15 16:22:48 +01:00
Marek Kotewicz
9ec38dd8ab Merge pull request #42 from gavofyork/state
Additional tests.
2015-12-15 16:22:35 +01:00
debris
e575f35caf blockchain wip 2015-12-15 16:21:19 +01:00
Gav Wood
7fb17a39ce Additional tests for Account set_storage and set_code. 2015-12-15 13:17:59 +01:00
Gav Wood
17435099f1 Additional tests. 2015-12-15 13:09:50 +01:00
debris
e38225d1a5 removed all warnings 2015-12-14 17:53:48 +01:00
debris
b7ed6144db common improvements in querying 2015-12-14 17:12:47 +01:00
debris
ee65595a76 HeaderView, BlockView, blockchain api for blocks, block_headers, transaction_hashes, uncle_hashes 2015-12-14 16:14:50 +01:00
debris
ef2a0a2e5c fixed blockview seal 2015-12-14 15:31:56 +01:00
debris
eb342d4a6a Merge branch 'master' of https://github.com/gavofyork/ethcore into blockchain 2015-12-14 15:26:56 +01:00
debris
c573b51a31 seal todo done 2015-12-14 15:22:41 +01:00
debris
debf88db5d blocksdb 2015-12-14 14:15:27 +01:00
debris
01ee84b7d0 bc extras: TransactionAddress, BlockLogBlooms, BlocksBlooms 2015-12-14 13:32:22 +01:00
debris
fe9c8f8c11 applied changed from rlp_array 2015-12-14 12:18:53 +01:00
debris
bd43d46026 Merge branch 'rlp_array' into blockchain 2015-12-14 12:15:07 +01:00
debris
7e9ce8f51c rlp array && added missing rustc crate 2015-12-14 12:09:32 +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
8d6a8973a6 More methods in Account, documentation and tests. 2015-12-14 11:32:12 +01:00
debris
8a55909bef fixes after the merge 2015-12-14 11:05:40 +01:00
debris
2ac0f0f4ac Merge branch 'master' of https://github.com/gavofyork/ethcore into blockchain 2015-12-14 11:02:33 +01:00
Gav Wood
6e6d00178e Minor reworking of Account. 2015-12-13 23:12:22 +01:00
debris
937b521b68 Merge branch 'master' of https://github.com/gavofyork/ethcore into cache 2015-12-13 22:47:48 +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
debris
a509bffdc0 query_extras 2015-12-13 22:39:01 +01:00
Gav Wood
51e7dd705f Cleanups. 2015-12-13 21:49:40 +01:00
Gav Wood
53f4b226b9 Add Account and State classes. 2015-12-13 21:36:17 +01:00
Gav Wood
d94c55133b Trie takes a reference to HashDB. 2015-12-13 19:36:49 +01:00
debris
96298299e3 Merge branch 'blockchain' into cache 2015-12-13 17:50:51 +01:00
debris
9c6279b8aa updated BlockView 2015-12-13 17:48:36 +01:00
debris
a63603046c Merge branch 'master' of https://github.com/gavofyork/ethcore into blockchain 2015-12-13 17:38:19 +01:00
debris
bb56a68097 cache init 2015-12-13 17:33:11 +01:00
Gav Wood
6852976c9c Revert regressions.
Merge branch 'master' of github.com:gavofyork/ethcore
2015-12-13 16:44:14 +01:00
Gav Wood
12f6534fa5 Merge branch 'master' of github.com:gavofyork/ethcore 2015-12-13 14:16:11 +01:00
debris
6bc56ad004 added raw method to RlpStream. usefull for quicklookup 2015-12-12 15:57:08 +01:00
debris
5e215af5e2 loading frontier genesis block 2015-12-12 15:52:37 +01:00
debris
38f813a5e6 fast mul by 10 2015-12-12 13:32:42 +01:00
debris
ada79ed62a loading genesis state 2015-12-12 06:05:36 +01:00
debris
862702b9c7 implemented rem, lenient from_str, from_dec_str for uint 2015-12-12 06:04:24 +01:00
debris
04b6743ba8 genesis_state in progress 2015-12-11 14:41:18 +01:00
debris
16cadf1a64 hash for uint 2015-12-11 14:40:28 +01:00
debris
0b29ac79c5 implementation genesis_block without genesis state 2015-12-11 03:51:23 +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
c50c005fd6 blockchain init 2015-12-09 19:03:25 +01:00
debris
74368663db denominations and networkparams 2015-12-09 15:31:43 +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
1468145110 added two methods to transaction struct 2015-12-09 02:09:42 +01:00
debris
421d2d1174 signature agnostic transaction 2015-12-09 00:45:33 +01:00
debris
0e343d078c rlp encodable and decodable for options 2015-12-08 19:01:37 +01:00
debris
a9099e8569 Decodable blockheader 2015-12-08 16:36:44 +01:00
debris
43b88e4e76 blockheader 2015-12-08 16:31:36 +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
44f287df02 Remove Bytes type from here. 2015-12-07 17:20:46 +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
debris
9b080c9161 microoptimization 2015-12-06 11:20:37 +01:00
debris
d516fca165 added installation guide 2015-12-05 19:44:43 +01:00
debris
02c8ee3c91 evmjit as sublibrary 2015-12-05 19:21:07 +01:00
debris
1a3e8fdb3b ethcore compiling with latest util 2015-12-05 17:32:36 +01:00
debris
816b75cc87 Merge branch 'master' of https://github.com/gavofyork/ethcore-util 2015-12-05 02:02:10 +01:00
Gav Wood
38f0af1aa0 Code cleanups. 2015-12-04 20:04:26 +01:00
Gav Wood
cfd858668f Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-04 18:06:18 +01:00
Gav Wood
53547adea8 Fix for trie.
Benchmarks for Trie.
2015-12-04 18:05:59 +01:00
debris
94edc594d7 docs 2015-12-04 13:12:11 +01:00
debris
2805dfe22d removed num library from dependencies 2015-12-04 11:40:54 +01:00
debris
98feaa4f16 docs 2015-12-04 03:39:13 +01:00
debris
40f5bb6da2 cleanedup uint.rs, converted spaces to tabs 2015-12-04 03:02:53 +01:00
arkpar
c8bac97be1 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2015-12-03 19:32:33 +01:00
arkpar
668d735fa7 U256 to byts conversion 2015-12-03 19:07:08 +01:00
Gav Wood
1cb6cc0b87 Stress-tests for trie. All passing. 2015-12-03 18:42:51 +01:00
arkpar
34acc420f2 Merge branch 'master' of github.com:gavofyork/ethcore-util into network
Conflicts:
	src/triehash.rs
2015-12-03 15:15:17 +01:00
arkpar
2e3750323a Bugfixes; Move discovery draft to a module 2015-12-03 15:11:40 +01:00
Gav Wood
bb9163ac58 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-03 14:56:57 +01:00
Gav Wood
cbbe5ee0fe trie node ref counter. good for testing. 2015-12-03 14:56:39 +01:00
debris
b2376dfc7b removed duplicate tests 2015-12-03 13:11:02 +01:00
debris
611226c117 small changes in tests 2015-12-03 11:36:20 +01:00
debris
84eb30a133 empty lists tests 2015-12-03 06:06:42 +01:00
debris
05f7e85d30 rlp tests, the beginning 2015-12-03 05:44:35 +01:00
Gav Wood
84cc7715b4 Fix trie - tests pass. 2015-12-03 00:50:14 +01:00
Gav Wood
c39fa7f973 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-03 00:33:16 +01:00
Gav Wood
b99cefb9d6 Fix for node removal from trie. 2015-12-03 00:32:58 +01:00
debris
8b8a2e39e2 trie test failing 2015-12-03 00:29:31 +01:00
Gav Wood
3143e614a8 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-02 23:50:35 +01:00
Gav Wood
f20665c41a Fix test. 2015-12-02 23:50:14 +01:00
debris
46d841f81f removed redundant lifetime 2015-12-02 23:35:34 +01:00
debris
fe4141237e Merge branch 'master' of https://github.com/gavofyork/ethcore-util 2015-12-02 23:13:45 +01:00
Gav Wood
8c9340d3cf Remove unused uses. 2015-12-02 23:01:32 +01:00
Gav Wood
1b41b96dd1 Clear up warnings. 2015-12-02 23:00:36 +01:00
Gav Wood
8b481d5e11 Remove. Untested. 2015-12-02 22:59:00 +01:00
debris
166b84d489 removed duplicate tests 2015-12-02 22:56:38 +01:00
debris
b9181b42bc *.json test files 2015-12-02 22:49:47 +01:00
debris
2cbbc872ff json-tests init 2015-12-02 21:50:33 +01:00
arkpar
6f2839086a Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2015-12-02 20:12:42 +01:00
arkpar
75b1de0482 Session 2015-12-02 20:11:13 +01:00
debris
9c85e4d305 commented out tests 2015-12-02 17:52:06 +01:00
Gav Wood
729968ebeb Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-02 15:05:21 +01:00
Gav Wood
c184758972 Reduce time needed for stress test. 2015-12-02 15:04:34 +01:00
debris
9650494311 remove redundant prints 2015-12-02 15:03:47 +01:00
Gav Wood
65d49f280c Trie fix. 2015-12-02 15:03:20 +01:00
debris
b8c1447c04 removed fmt::Debug from append 2015-12-02 14:29:09 +01:00
debris
aa02a71d09 removed DecoderError::BadRlp 2015-12-02 14:20:41 +01:00
debris
356be1c635 rlp payload_info method 2015-12-02 14:14:12 +01:00
debris
35ae32a8a5 payload_info moved to decoder 2015-12-02 14:05:17 +01:00
debris
21f87cfb0f ItemInfo -> PayloadInfo 2015-12-02 13:58:29 +01:00
debris
18a6090ce5 fixed trie_hash panic when he was processing duplicates 2015-12-02 12:57:25 +01:00
arkpar
10a43c1fed Encrypted connection 2015-12-02 12:07:46 +01:00
Gav Wood
706428acbe Random tests. 2015-12-02 02:44:45 +01:00
Gav Wood
fbab7f3cf3 Random trie tests. 2015-12-02 02:37:26 +01:00
Gav Wood
5468210cfd Fix bad test. 2015-12-02 00:43:09 +01:00
debris
60dc3decaa Merge branch 'master' of https://github.com/gavofyork/ethcore-util 2015-12-02 00:22:47 +01:00
debris
73be98fb24 additional tests for insert 2015-12-02 00:21:03 +01:00
Gav Wood
88655203b5 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-02 00:19:58 +01:00
Gav Wood
21730b49e6 Fix up trie pretty print. 2015-12-02 00:14:14 +01:00
debris
beaf9117d4 lifetime of tria.at 2015-12-01 23:32:23 +01:00
Gav Wood
3fedfb7682 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-01 23:19:01 +01:00
Gav Wood
6ba9af18e9 Fiddling with tests. 2015-12-01 23:15:23 +01:00
debris
0cec68b59e fixed trie get and trie print 2015-12-01 23:14:38 +01:00
Gav Wood
c1c3152094 Avoid crying if we can't initialise the logger. 2015-12-01 22:44:18 +01:00
Gav Wood
9a5be1eee4 Known good. 2015-12-01 22:38:34 +01:00
Gav Wood
67b737c1f8 Fix one trie bug. 2015-12-01 22:22:52 +01:00
Gav Wood
4be633ad94 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-01 20:35:47 +01:00
Gav Wood
0d90b2c1f8 Minor fixes to trie printing. 2015-12-01 20:35:34 +01:00
debris
630ab57041 Merge branch 'master' of https://github.com/gavofyork/ethcore-util into at 2015-12-01 20:35:13 +01:00
debris
ec09deefb7 printing value of branch 2015-12-01 20:34:49 +01:00
Gav Wood
ba270ddb6b Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-01 20:25:06 +01:00
Gav Wood
68065b1875 Insertion trie fix. 2015-12-01 20:24:47 +01:00
debris
6c1c619247 extension print 2015-12-01 20:24:33 +01:00
Gav Wood
18de819344 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-01 19:45:48 +01:00
Gav Wood
8073adff68 Fix for adding item beyond a leaf. 2015-12-01 19:45:30 +01:00
debris
4a71c1266a removed build warnings 2015-12-01 19:24:14 +01:00
debris
665dfd622e // 2015-12-01 19:20:48 +01:00
debris
449e468778 Merge branch 'master' of https://github.com/gavofyork/ethcore-util into at 2015-12-01 19:19:43 +01:00
debris
b8b8e4c61a printing trie 2015-12-01 19:19:16 +01:00
Gav Wood
afbff3689c Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-01 19:10:03 +01:00
Gav Wood
d2d2f2a8fc Fix one bug. 2015-12-01 19:09:48 +01:00
debris
4f5399c558 improved printing 2015-12-01 18:43:44 +01:00
debris
8a2082d217 Merge branch 'master' of https://github.com/gavofyork/ethcore-util into at 2015-12-01 18:26:07 +01:00
debris
ea03811a6e print trie 2015-12-01 18:25:47 +01:00
Gav Wood
7f6efa9a8f pretty (hex) printing. 2015-12-01 18:25:18 +01:00
Gav Wood
fa80d376d3 Fix nibbleslice
Merge branch 'master' of github.com:gavofyork/ethcore-util
2015-12-01 17:48:13 +01:00
Gav Wood
3f5bd90b2b Easier debugging output for nibbleslice. 2015-12-01 17:43:24 +01:00
debris
37c394c99a failing insertion test 2015-12-01 17:03:54 +01:00
debris
3e497f46c0 Merge branch 'master' of https://github.com/gavofyork/ethcore-util into at 2015-12-01 16:42:16 +01:00
debris
83895ca109 trie.at() impl 2015-12-01 16:39:44 +01:00
Gav Wood
9041f81cba Additional trie test and fix. 2015-12-01 12:57:08 +01:00
Gav Wood
6c21bc7b95 out of order test for trieroot 2015-12-01 12:26:20 +01:00
Gav Wood
a90ef806a3 Broken triehash 2015-12-01 12:24:58 +01:00
Gav Wood
0179cf54b7 Better logging, additional tests. 2015-12-01 12:10:36 +01:00
arkpar
54a93d58a8 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2015-12-01 11:01:15 +01:00
Gav Wood
4e4b754eca First few tests working. 2015-12-01 03:35:55 +01:00
Gav Wood
87e458efed Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-01 02:25:31 +01:00
Gav Wood
d6e5bbae78 Trie compiles. 2015-12-01 02:23:53 +01:00
debris
24f9771716 fixed take_node lifetimes 2015-12-01 02:04:52 +01:00
Gav Wood
cceae8ecc2 less commented out code in trie. 2015-12-01 01:52:20 +01:00
Gav Wood
e8ca520dad Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-01 01:44:29 +01:00
Gav Wood
26f29b2fcd Logging. 2015-12-01 01:44:18 +01:00
debris
1934cb3bdd updated tiny_keccak library 2015-12-01 01:35:32 +01:00
Gav Wood
eb8f04a3e6 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-12-01 01:32:10 +01:00
Gav Wood
2b09521b56 Main logic for insertion into trie. 2015-12-01 01:12:06 +01:00
arkpar
a5b958a1a1 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2015-11-30 19:43:40 +01:00
debris
9019610728 NibbleSlice mid do not share lifetime with a parent view, but with a collection 2015-11-30 19:14:46 +01:00
debris
84b872819e rlp lifetimes 2015-11-30 17:23:52 +01:00
arkpar
2681f6290f Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2015-11-30 16:39:20 +01:00
arkpar
4873c33fef Encryption primitives; Continue work on handshake 2015-11-30 16:38:55 +01:00
debris
b51b81995e Merge branch 'master' of https://github.com/gavofyork/ethcore-util 2015-11-30 16:14:21 +01:00
debris
6660b3d65f replaced usages of append(&"") to append_empty_data() 2015-11-30 16:14:03 +01:00
Gav Wood
0eb6f97a97 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-30 16:08:38 +01:00
Gav Wood
d293bce22d Trie progress... 2015-11-30 16:06:29 +01:00
debris
43326356d0 updated trie tests 2015-11-30 16:01:47 +01:00
debris
8e1af0e7ca Merge branch 'master' of https://github.com/gavofyork/ethcore-util 2015-11-30 15:56:50 +01:00
debris
4a912870d1 docs for triehash 2015-11-30 15:56:41 +01:00
debris
ec7ce060e4 triehash cleanup in progress 2015-11-30 15:35:10 +01:00
Gav Wood
ddd0baa70a data_at in RLP. 2015-11-30 15:01:43 +01:00
Gav Wood
972b78d47b First insert in trie works! 2015-11-30 14:53:22 +01:00
Gav Wood
7fd6252772 Fix warnings, use Prototype. 2015-11-30 13:25:37 +01:00
Gav Wood
2d556d6f06 Add prototype. 2015-11-30 13:19:55 +01:00
Gav Wood
526f4b3a20 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-30 13:09:40 +01:00
debris
be1d208c36 rlp size function 2015-11-30 13:06:51 +01:00
Gav Wood
771756b3f4 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-30 12:58:55 +01:00
debris
0a93c7c32e Rlp.items -> Rlp.item_count, RlpStream.append_null -> RlpStream.append_empty_data 2015-11-30 12:58:23 +01:00
Gav Wood
d45bf38c2d Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-30 12:52:53 +01:00
debris
b6dc3e464d rlp items functions 2015-11-30 12:41:11 +01:00
debris
80f1e527dc Rlp is_int 2015-11-30 12:28:49 +01:00
debris
f444729569 Rlp is_null && is_empty methods 2015-11-30 12:06:08 +01:00
debris
93f2bd9314 Rlp data function 2015-11-30 11:54:09 +01:00
debris
f42e8c0665 RlpStream clear 2015-11-30 11:42:54 +01:00
Gav Wood
c8432ed3a8 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-30 11:33:59 +01:00
debris
fac89f784b updated todo 2015-11-30 11:33:31 +01:00
debris
bd6289756b fixed rlp decoder error names 2015-11-30 11:33:08 +01:00
debris
6ee5e1684b rename try_to_finish -> note_appended 2015-11-30 11:29:30 +01:00
debris
94a5216513 removed dangling ; 2015-11-30 11:25:09 +01:00
debris
2d7ae3a18a RlpStream out returns value instead of Result 2015-11-30 11:24:03 +01:00
debris
78965b3c5a RlpStream append_null 2015-11-30 11:16:50 +01:00
Gav Wood
7abac7fba8 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-30 02:57:22 +01:00
Gav Wood
c91bc6b419 Bug fix in nibble slice.
Trie.
2015-11-30 02:57:02 +01:00
debris
122144c00a docs for rlp 2015-11-30 02:55:03 +01:00
debris
448577d99c is_value -> is_data 2015-11-30 01:30:35 +01:00
debris
710d3594a8 triehash clenaup in progress 2015-11-30 01:19:04 +01:00
debris
f02bd0cd17 Merge branch 'master' of https://github.com/gavofyork/ethcore-util into rlp_fixes 2015-11-30 00:28:14 +01:00
debris
0c9ef317b2 fixed encoding of bytes in rlp, fixed encoding of long lists, triehash + basic tests... more tests todo 2015-11-30 00:28:03 +01:00
Gav Wood
c79a2fc4ea Examples and docs. 2015-11-29 21:35:21 +01:00
Gav Wood
930865fefb NibbleSlice struct. 2015-11-29 21:17:07 +01:00
Gav Wood
f1315cff71 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-29 20:11:12 +01:00
Gav Wood
06bbefd07b Nibbleslice basic operations. 2015-11-29 20:11:02 +01:00
debris
d23b8d9a74 Merge branch 'master' into rlp_fixes 2015-11-29 19:42:04 +01:00
debris
f4292134c0 uncommented triehash 2015-11-29 19:42:03 +01:00
debris
03c1944d9c fixed encoding of byte vectors 2015-11-29 19:35:22 +01:00
Gav Wood
962fa4d812 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-29 18:45:53 +01:00
Gav Wood
9c632d58f2 Possible fix? 2015-11-29 18:45:41 +01:00
debris
a1c017b7ff Merge branch 'master' of https://github.com/gavofyork/ethcore-util 2015-11-29 18:44:51 +01:00
debris
f7ec667852 in pro... 2015-11-29 18:44:29 +01:00
Gav Wood
cf62f67b5f Fix warnings. 2015-11-29 16:00:23 +01:00
Gav Wood
b334a8f824 Return lookup by reference. 2015-11-29 15:50:33 +01:00
debris
7e58f12712 triehash in progress 2015-11-29 15:41:29 +01:00
debris
1f6ae56468 as_nibbles 2015-11-29 12:39:37 +01:00
debris
96e1580ddf triehash, hex_prefix_encode 2015-11-29 12:22:35 +01:00
arkpar
5c975d06cc Started networking code 2015-11-29 11:50:28 +01:00
debris
d43091bf1e Merge branch 'crypto' of https://github.com/gavofyork/ethcore-util 2015-11-29 09:45:05 +01:00
debris
73566f071d updated rlp docs 2015-11-29 09:37:07 +01:00
debris
6f217e730c Rlp && UntrustedRlp changes 2015-11-29 09:28:48 +01:00
debris
f507ebf1fa rlp -> untrustedrlp in progress 2015-11-29 09:16:15 +01:00
arkpar
e04907729a KeyPair, EC signature 2015-11-29 02:11:56 +01:00
Gav Wood
5b57629e6d First little bit of trie done. 2015-11-29 01:39:39 +01:00
Gav Wood
d423a1d276 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-28 23:55:13 +01:00
Gav Wood
be96b2638d Doc tweaks. 2015-11-28 23:54:58 +01:00
Gav Wood
13a692cc9d Docuemntation udpate and tests. 2015-11-28 23:49:07 +01:00
Gav Wood
cefb1fa9ce OverlayDB complete and tested. 2015-11-28 22:54:12 +01:00
debris
8c0e063f6b docs for chainfilter 2015-11-28 22:43:16 +01:00
debris
b0c38cb6ec UntrastedRlp 2015-11-28 22:16:08 +01:00
debris
d6d51b456b UnsafeRlp 2015-11-28 22:10:58 +01:00
debris
52ccd7b094 fixed typo 2015-11-28 21:54:41 +01:00
debris
da60046e3d bloom filters 2015-11-28 21:42:50 +01:00
debris
b405c061a1 lower_level_bloom_indexes use collect instead of for loop 2015-11-28 21:11:10 +01:00
debris
a6240c0d30 fixed indention issues 2015-11-28 21:03:31 +01:00
debris
9b02a8bd5f cleanedup chain filter 2015-11-28 20:44:38 +01:00
debris
d1223b3b15 bloom filter uses vector instead of hashmap, added few comments 2015-11-28 20:32:46 +01:00
debris
1a30d91853 removed unused line 2015-11-28 20:06:28 +01:00
debris
addd1e5ffd bloom filter cleanup 2015-11-28 20:00:14 +01:00
debris
faf174c245 just a few comments 2015-11-28 19:48:41 +01:00
Gav Wood
358962d2ea Implemented, in principle. 2015-11-28 19:28:59 +01:00
debris
3e28c2da31 bloom filters 2015-11-28 19:11:04 +01:00
Gav Wood
5c57523dd9 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-28 19:04:31 +01:00
Gav Wood
7733faaab5 overlaydb put_payload. 2015-11-28 19:03:50 +01:00
Gav Wood
4640d64965 Reference-counted rocksdb backed DB. Just need DB I/O now. 2015-11-28 18:29:50 +01:00
debris
e769406b92 rustfmt 2015-11-28 17:10:14 +01:00
debris
f0f70f801e chainfilter almost done 2015-11-28 17:08:38 +01:00
debris
c55956c7b4 Filter trait 2015-11-28 13:08:30 +01:00
debris
90c66a8079 rlp encoding and decoding of fixed sized hashes 2015-11-28 11:25:23 +01:00
debris
07f3e6d5a5 updated tests for rlp and indention in benches 2015-11-28 10:50:41 +01:00
debris
111fc70d0b updated docs 2015-11-28 03:58:37 +01:00
Gav Wood
71dc9c0ad4 OVerlayDB draft. 2015-11-28 03:09:36 +01:00
Gav Wood
852233e4ac HashDB and initial OverlayDB 2015-11-28 03:08:57 +01:00
debris
33eeb8f477 math.rs, log2, FixedHash::shift_bloom, FixedHash::contains_bloom 2015-11-28 03:02:06 +01:00
debris
e807012894 Merge branch 'master' of https://github.com/gavofyork/ethcore-util 2015-11-28 01:39:07 +01:00
debris
6668d13ed3 merge branch 'master' of https://github.com/gavofyork/ethcore-util 2015-11-28 01:38:58 +01:00
Gav Wood
705ab53948 Fix for latest changes. 2015-11-28 01:38:36 +01:00
debris
47f8695c3b common changes in hash 2015-11-28 01:38:00 +01:00
Gav Wood
b7e69e04fe More documentation. 2015-11-28 01:12:59 +01:00
Gav Wood
d05435f4c4 Merge branch 'master' of github.com:gavofyork/ethcore-util 2015-11-28 00:15:09 +01:00
Gav Wood
2db779a63b Memory DB. 2015-11-28 00:14:40 +01:00
debris
815e01a781 removed copy from Hash, improved Clone, added BitOr 2015-11-27 23:24:01 +01:00
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
f596c5819b Move stuff to bottom layer. 2015-11-27 13:18:35 +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
Gav Wood
7bb4561c16 minor additional stuff. 2015-11-27 00:30:33 +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
91b5df8d6d Additional hash traits and methods 2015-11-26 23:24:01 +01:00
Gav Wood
7e38b70d5f Additional example code. 2015-11-26 21:34:49 +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
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
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