Commit Graph

183 Commits

Author SHA1 Message Date
Gav Wood
4512322d3e Block enactment with test. 2016-01-10 23:10:06 +01:00
Gav Wood
abb4975400 Set timestamp in enactment. 2016-01-10 22:57:31 +01:00
Gav Wood
74f88f9b9b Initial implementation of enacted.
number is now usize, timestamp u64.
2016-01-10 22:55:07 +01:00
Gav Wood
3fb401c611 Merge branch 'master' into ethash 2016-01-10 21:57:33 +01:00
Gav Wood
4f68662e53 Proper rewarding; needs consensus test doing though. 2016-01-10 21:55:03 +01:00
Gav Wood
fea418703b Better API allowing one fewer clone. 2016-01-10 17:11:46 +01:00
Gav Wood
2cc3ee66d7 Allow fields to be returned so they can be used simultaneously. 2016-01-10 17:09:02 +01:00
Arkadiy Paronyan
1bcb6f8ee3 Merge pull request #62 from gavofyork/ethash
Block complete. Needs tests.
2016-01-10 14:13:32 +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
Marek Kotewicz
e807f36e83 Merge pull request #61 from gavofyork/ethash
More on OpenBlock::close; State::kill_account added
2016-01-09 23:01:44 +01:00
Gav Wood
9a79a9032d on_close_block fixed and tested. 2016-01-09 22:45:27 +01:00
Gav Wood
25a9f74d84 Merge remote-tracking branch 'origin/master' into ethash 2016-01-09 22:29:02 +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
Arkadiy Paronyan
7b4fb9c30e Merge pull request #60 from gavofyork/ethash
Remove genesis module, add more chain specs and separate out ethereum-specific stuff
2016-01-09 18:23:05 +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
fbeb4d84ce Merge remote-tracking branch 'origin/master' into ethash 2016-01-09 17:16:49 +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
Arkadiy Paronyan
3c25c062af Merge pull request #59 from gavofyork/ethash
State::new_contract, camelCase engine params, missing param
2016-01-09 14:30:30 +01:00
Gav Wood
20341072a9 Merge branch 'master' into ethash 2016-01-09 14:20:30 +01:00
Gav Wood
2b022e11e1 State::new_contract. 2016-01-09 14:19:35 +01:00
Arkadiy Paronyan
6aa8c32621 Merge pull request #58 from gavofyork/ethash
Use reorganisation
2016-01-09 13:05:03 +01:00
Gav Wood
23d22db95c Merge branch 'master' into ethash 2016-01-09 12:32: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
Arkadiy Paronyan
ca6a20922f Merge pull request #57 from gavofyork/ethash
Initial Ethash/Block skeleton implementations.
2016-01-08 22:22:48 +01:00
Gav Wood
7cf9f0e22d Merge pull request #54 from gavofyork/gav
Spec with tested Morden genesis decoder and builtins.
2016-01-08 22:05:54 +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
fad58530f2 Memo Frontier's state root. 2016-01-08 16:49:12 +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
799da83175 Merge remote-tracking branch 'origin/master' into gav 2016-01-06 15:57:59 +01:00
Gav Wood
db23ee765a Fixes and a test! Now correctly builds Morden's genesis block. 2016-01-06 15:57:17 +01:00