Commit Graph

179 Commits

Author SHA1 Message Date
Arkadiy Paronyan
42144247f5 Merge pull request #64 from gavofyork/ethash
Use getter in header in preparation for a Header trait; additional testing in enact_block().
2016-01-11 12:55:08 +01:00
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
Gav Wood
e7f840ce79 Use getter in header in preparation for a Header trait; additional testing in enact_block(). 2016-01-10 23:42:59 +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
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
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
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
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
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
arkpar
8cd3aa4b43 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-09 14:41:04 +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
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
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
Gav Wood
5b81a2d70a Frontier Spec added. 2016-01-08 16:47:17 +01:00
arkpar
9ea7f14542 Style 2016-01-08 16:26:00 +01:00
Gav Wood
98c5905257 Add frontier chain spec. 2016-01-08 16:24:14 +01:00
arkpar
290d738e3f Style 2016-01-08 16:00:32 +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