Commit Graph

297 Commits

Author SHA1 Message Date
Gav Wood
7650dead6d Bring in Executive. 2016-01-11 17:03:29 +01:00
Gav Wood
0cc57483f8 Move Executive down, remove unneeded Evm prefixes. 2016-01-11 17:01:42 +01:00
Gav Wood
b0cceddb7c Move evm::EvmParams -> ActionParams. 2016-01-11 16:33:08 +01:00
Gav Wood
85ac9af832 Move EvmSchedule -> evm::Schedule 2016-01-11 16:28:30 +01:00
debris
f19a6e54bf removed warnings 2016-01-11 16:05:21 +01:00
debris
3f725ce89d reverting the execution state when out of gas 2016-01-11 15:55:54 +01:00
debris
65bce7862a Merge branch 'master' into evm 2016-01-11 15:23:27 +01:00
arkpar
c6509d7752 Moved some checks from ethash to verification module 2016-01-11 15:22:11 +01:00
debris
12f01d9905 state clone 2016-01-11 14:48:27 +01:00
debris
f611b6c7b6 state clone 2016-01-11 14:47:50 +01:00
Arkadiy Paronyan
4353518be1 Merge pull request #72 from gavofyork/verification
Block Verification (no tests yet)
2016-01-11 14:43:25 +01:00
debris
22859a04b6 changes in executive return 2016-01-11 14:14:35 +01:00
debris
bbb25fb6ce propagate evmjit errors upstream 2016-01-11 14:08:03 +01:00
Gav Wood
eb03993c6d Transaction struct improvements. 2016-01-11 13:52:40 +01:00
arkpar
3185301c97 Updated docs 2016-01-11 13:51:58 +01:00
arkpar
0221d47544 Verification integrated into client/queue 2016-01-11 13:42:32 +01:00
Gav Wood
30f74fc692 log_entry type. 2016-01-11 13:29:15 +01:00
arkpar
4dca2ff1d9 Merge branch 'master' of github.com:gavofyork/ethcore into verification 2016-01-11 12:57:36 +01:00
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
2b522e2c48 Merge branch 'network' into verification 2016-01-11 12:45:35 +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
debris
dea9ec203b removed unused stuff 2016-01-11 03:29:13 +01:00
debris
d1aadf456f shorter constructor for externalities 2016-01-11 03:26:17 +01:00
debris
88409e7dbb refactor in progress... evmjit compiling 2016-01-11 03:13:41 +01:00
debris
6d3097ac9e updated output policy docs 2016-01-11 02:47:45 +01:00
debris
7f8f0c5823 minor fixes 2016-01-11 02:42:02 +01:00
debris
b273792ef0 big refactor of executive in progress 2016-01-11 02:17:29 +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
arkpar
e6572e34fa Documentation 2016-01-10 21:30:22 +01:00
arkpar
5f4cd7f197 Merge branch 'network' into verification 2016-01-10 19:47:32 +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
debris
b72da41ea7 proper calculatng of executive gas in progress 2016-01-10 16:21:01 +01:00
arkpar
daab45f599 Merge branch 'master' of github.com:gavofyork/ethcore into verification 2016-01-10 15:21:11 +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
debris
9f06c2f2e6 errors, fees, and refunds 2016-01-10 12:29:35 +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
debris
efa6c424c1 fixed jit tests 2016-01-09 23:24:01 +01:00
arkpar
85ddbba893 Enabled logger for client app 2016-01-09 23:21:57 +01:00
debris
55a023554a Merge branch 'master' of https://github.com/gavofyork/ethcore into evm 2016-01-09 23:02:01 +01:00
debris
3e90859d9d executive call 2016-01-09 22:54:16 +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
debris
f7e9816d33 substate in progress 2016-01-09 21:39:38 +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
arkpar
af21038bb9 More block verifications 2016-01-09 19:10:05 +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
debris
9cc88e2cb1 Merge branch 'master' of https://github.com/gavofyork/ethcore into evm 2016-01-09 18:41:12 +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
debris
300a9506ed evmjit output data 2016-01-09 18:25:18 +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
debris
130b2fc46a separated executive and externalities 2016-01-09 17:55:47 +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
debris
50af19a7c8 contract creating contract 2016-01-09 13:51:59 +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
debris
5ae0f71922 executive create fixes 2016-01-09 02:12:17 +01:00
debris
bcd026aaf1 Merge branch 'master' of https://github.com/gavofyork/ethcore into evm 2016-01-09 01:41:10 +01:00
debris
68beb0099d executive tests in progress 2016-01-09 01:33:50 +01:00
debris
43c612fa89 moved runtime data to jit 2016-01-09 00:55:17 +01:00
debris
4932720d58 evm params 2016-01-09 00:51:09 +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
debris
bed4bfce1c executive in progress... 2016-01-08 12:50:06 +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
debris
d0180df167 little improvements in evm ext 2016-01-08 00:16:15 +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
debris
8335d40102 contract_address && ExtFace 2016-01-07 23:33:54 +01:00
arkpar
5ef719ae23 Missing client module 2016-01-07 21:35:06 +01:00