Commit Graph

220 Commits

Author SHA1 Message Date
arkpar
3a2663ce93 Client now takes Spec instead of Engine 2016-01-11 12:28:59 +01:00
arkpar
33d3a4d633 Engine and Spec are now thread safe 2016-01-11 11:51:31 +01:00
arkpar
5d0e186632 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-11 01:07:58 +01:00
Arkadiy Paronyan
0d5aaa69fa Merge pull request #63 from gavofyork/ethash
Block enactment (including test)
2016-01-10 23:40:50 +01:00
arkpar
452294ab8d ImportResult becomes a result 2016-01-10 23:37:09 +01:00
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
arkpar
5f5f26de48 Do not insert new blocks out of order 2016-01-10 15:08:57 +01:00
arkpar
11dd92f1f5 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-10 14:13:42 +01:00
Arkadiy Paronyan
1bcb6f8ee3 Merge pull request #62 from gavofyork/ethash
Block complete. Needs tests.
2016-01-10 14:13:32 +01:00
arkpar
51584f5202 Networking fixes 2016-01-10 14:11:23 +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
arkpar
5ce27152b4 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-09 23:24:38 +01:00
arkpar
85ddbba893 Enabled logger for client app 2016-01-09 23:21:57 +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
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
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
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
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
arkpar
8cd3aa4b43 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-09 14:41:04 +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
arkpar
86dfa1b425 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-09 10:26:31 +01:00
arkpar
f1cdc0a17d Started block verification 2016-01-09 10:16:35 +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
arkpar
b272595183 Rlp error handling 2016-01-08 17:52:25 +01:00