Commit Graph

137 Commits

Author SHA1 Message Date
Gav Wood
2cc3ee66d7 Allow fields to be returned so they can be used simultaneously. 2016-01-10 17:09:02 +01:00
Gav Wood
76bb480afb Block sealing, tests updated. 2016-01-10 14:05:39 +01:00
Gav Wood
53fada4f4a OpenBlock::close() should be complete. No tests yet though. 2016-01-09 23:47:15 +01:00
Gav Wood
9a79a9032d on_close_block fixed and tested. 2016-01-09 22:45:27 +01:00
Gav Wood
cf8ef01c6d State::kill_account added with tests & docs. 2016-01-09 22:28:31 +01:00
Gav Wood
249c615752 Minor refactoring, OpenBlock::close closer to working. 2016-01-09 22:13:13 +01:00
Gav Wood
8b5b493f7d Sketch of how OpenBlock::close() might look. 2016-01-09 18:58:04 +01:00
Gav Wood
71670e6277 Fix test warnings. 2016-01-09 18:26:35 +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
a978cbad52 Remove genesis module, add more chain specs and separate out ethereum-specific stuff. 2016-01-09 17:15:55 +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
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
Gav Wood
5b81a2d70a Frontier Spec added. 2016-01-08 16:47:17 +01:00
Gav Wood
98c5905257 Add frontier chain spec. 2016-01-08 16:24:14 +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
6837899eba Fixups for new bytes.rs API. 2016-01-08 11:53:07 +01:00
Gav Wood
e6439dde99 Minor API update. 2016-01-08 11:03:58 +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
Gav Wood
8f4637ecbc API sync (moved Populatable to util). 2016-01-08 00:00:07 +01:00
Gav Wood
183682ffbc ecrecover builtin, tests and docs. 2016-01-07 23:55:14 +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
Gav Wood
810bff1ea9 Morden genesis tested and working. 2016-01-07 19:10:29 +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
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
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
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
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