Commit Graph

39 Commits

Author SHA1 Message Date
Gav Wood
28341fef9f Introduce ordered mapping for PodAccount and related structures. 2016-01-13 12:14:11 +01:00
Gav Wood
9d2ac7fc37 State testing framework. First test is failing. 2016-01-13 01:19:05 +01:00
Gav Wood
c6ec6e4aef State::exists, docs and tests. 2016-01-12 12:34:14 +01:00
Gav Wood
7239acc451 Transaction address decoding. 2016-01-11 20:47:19 +01:00
Gav Wood
0004ed8960 Integrate Executive into State. 2016-01-11 17:37:22 +01:00
Gav Wood
0cc57483f8 Move Executive down, remove unneeded Evm prefixes. 2016-01-11 17:01:42 +01:00
debris
65bce7862a Merge branch 'master' into evm 2016-01-11 15:23:27 +01:00
debris
12f01d9905 state clone 2016-01-11 14:48:27 +01:00
debris
f611b6c7b6 state clone 2016-01-11 14:47:50 +01:00
Gav Wood
30f74fc692 log_entry type. 2016-01-11 13:29:15 +01:00
Gav Wood
76bb480afb Block sealing, tests updated. 2016-01-10 14:05:39 +01:00
debris
55a023554a Merge branch 'master' of https://github.com/gavofyork/ethcore into evm 2016-01-09 23:02:01 +01:00
Gav Wood
cf8ef01c6d State::kill_account added with tests & docs. 2016-01-09 22:28:31 +01:00
debris
9cc88e2cb1 Merge branch 'master' of https://github.com/gavofyork/ethcore into evm 2016-01-09 18:41:12 +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
Gav Wood
2b022e11e1 State::new_contract. 2016-01-09 14:19:35 +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
debris
bcd026aaf1 Merge branch 'master' of https://github.com/gavofyork/ethcore into evm 2016-01-09 01:41:10 +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
debris
d27a16c945 executive in progress 2016-01-07 21:29:36 +01: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
ffd10d3373 Broken build 2015-12-17 21:12:35 +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
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
Gav Wood
d6e6f9bf94 State::ensure_cached with docs and tests. 2015-12-16 16:39:49 +01:00
Gav Wood
6e6d00178e Minor reworking of Account. 2015-12-13 23:12:22 +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