Commit Graph

17 Commits

Author SHA1 Message Date
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