Commit Graph

402 Commits

Author SHA1 Message Date
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
debris
d27a16c945 executive in progress 2016-01-07 21:29:36 +01:00
arkpar
68cd250ec0 Fixed block header seal fields decoding 2016-01-07 21:28:17 +01:00
arkpar
9b28d4cff6 Removed dup file 2016-01-07 21:27:41 +01:00
arkpar
edea8d56e3 TODO comment 2016-01-07 20:49:36 +01:00
arkpar
24ecd0091a Client consolidation and docs 2016-01-07 20:43:37 +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
debris
ec720aefa9 env -> ext 2016-01-07 19:20:23 +01:00
Gav Wood
810bff1ea9 Morden genesis tested and working. 2016-01-07 19:10:29 +01:00
debris
146999cfbf executive init 2016-01-07 19:05:44 +01:00
arkpar
2a4d470039 Client app 2016-01-07 16:08:12 +01:00
debris
8c6d6950ca evm call and create in progress 2016-01-06 20:00:32 +01:00
debris
a0bb1068af evm env uses EnvInfo. blockhash function implementation 2016-01-06 17:53:59 +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
debris
b447de9120 additional asserts in jit log test 2016-01-06 13:09:41 +01:00
debris
293bca363e evm logs 2016-01-06 13:00:14 +01:00
debris
ad43079fdc test balance 2016-01-06 10:37:21 +01:00
debris
8bc2e65c16 distinguish between i256 and h256 on evmjit wrapper layer 2016-01-05 20:24:43 +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
debris
cdcabc2f4a Merge branch 'master' of https://github.com/gavofyork/ethcore into evm 2016-01-05 18:43:59 +01:00
debris
359ba8d597 extcode working 2016-01-05 18:43:46 +01:00
arkpar
aff4e24775 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-05 00:11:16 +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
arkpar
8d37ef7d8e Removed Copy trait from H256 2016-01-04 13:25:32 +01:00
debris
156fcad4e2 docs 2015-12-30 12:46:10 +01:00
debris
2e7f0e29de tests for sload, sstore, sha3 2015-12-30 12:03:40 +01:00
debris
e3f59d82ef vm factory 2015-12-29 12:37:38 +01:00
debris
3dd26582a2 env implementation in progress 2015-12-29 12:04:03 +01:00
debris
4e31fe5785 fixed signal 11 error 2015-12-28 22:37:15 +01:00
debris
f2ae8708de fixed env address 2015-12-28 15:11:05 +01:00
arkpar
b925df2cd9 Use HeaderView instead of BlockHeader 2015-12-28 12:03:05 +01:00
arkpar
1a1c61179f order peers by difficulty 2015-12-27 02:27:15 +01:00
arkpar
1d67a7a373 sync fixed; more tests 2015-12-27 00:48:03 +01:00
arkpar
bf9667a206 sync tests 2015-12-26 15:47:07 +01:00
arkpar
9087cc798b sync refactoring; range tests 2015-12-25 14:55:55 +01:00
arkpar
0578712a26 syncing code done 2015-12-24 17:18:47 +01:00
debris
142bba096a "importing" evmjit callbacks abi 2015-12-24 02:28:09 +01:00
debris
000d8fe8d0 runtime_data, tests in progress 2015-12-24 01:07:46 +01:00
debris
c695e09bba docs 2015-12-23 13:49:45 +01:00
debris
353d4fbea0 evm adapter init 2015-12-23 13:02:01 +01: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
arkpar
48abca6669 Merge branch 'master' of github.com:gavofyork/ethcore into network 2015-12-22 22:32:24 +01:00
arkpar
fcba0122bc started sync 2015-12-22 22:19:50 +01: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
debris
f9457cc584 block insert in one batch to extras 2015-12-21 14:23:10 +01:00
debris
491cc29a09 group best block info together in blockchain 2015-12-21 02:57:02 +01:00
debris
0164ce4b19 Merge branch 'master' into blockchain 2015-12-21 02:34:41 +01:00
Gav Wood
b52aac497e Remove networkparams. 2015-12-20 22:31:40 +00:00
Gav Wood
6a363c5646 Correct seal fields in spec. 2015-12-20 21:07:03 +00:00
Gav Wood
ea9a008031 Move information from networkparams.rs into spec.rs
Repot null_engine, spec, evm_schedule, builtin.
2015-12-20 20:45:43 +00:00
Gav Wood
a9591dcd3c Move bulking out in Engine/Params. 2015-12-20 15:12:53 +00:00
Gav Wood
feee9a26cb Remove SemanticVersion to ethcore-util. 2015-12-20 12:29:06 +00:00
Gav Wood
c718a5c627 Additional doc/tests. 2015-12-20 12:22:54 +00:00
Gav Wood
435911b9f0 Repot & introduce various additional components for rest of consensus algorithm. 2015-12-20 12:16:12 +00:00
Gav Wood
9d70f6bdff State::transfer_balance and a couple of placeholders. 2015-12-19 21:38:25 +00:00
Gav Wood
6b61ab6322 More succient code in State require/get. 2015-12-19 21:22:19 +00:00
Gav Wood
c7167068b8 Removed need for mutation in State. 2015-12-19 21:15:22 +00:00
Gav Wood
4c58d1a53f Remove cruft. 2015-12-19 18:03:42 +00:00
Gav Wood
b922f8ddec State::code and State::storage_at + tests. 2015-12-19 18:00:19 +00:00
Gav Wood
20d4da78bc Merge remote-tracking branch 'origin/master' into broken 2015-12-19 14:06:00 +00:00
Arkadiy Paronyan
18850c3197 Merge pull request #44 from gavofyork/state
State functions for balance and nonce operations
2015-12-19 14:21:22 +01:00
debris
c2a799064d fixed one of tree route cases 2015-12-18 11:34:55 +01:00
Gav Wood
ffd10d3373 Broken build 2015-12-17 21:12:35 +01:00
debris
e591738157 blockchain Cell<H256> -> RefCell<H256> 2015-12-17 20:37:04 +01:00
debris
dad010f8b1 fixed loading genesis 2015-12-17 19:26:21 +01:00
debris
dbeae3ade3 Merge branch 'master' of https://github.com/gavofyork/ethcore into blockchain 2015-12-17 17:21:47 +01:00
debris
5630daa0a8 removed unused block mod 2015-12-17 17:21:37 +01:00
debris
535e936e29 basic tests and docs for blockchain 2015-12-17 17:20:10 +01:00
debris
f390eb8545 blockchain insert_block tree route 2015-12-17 15:11:42 +01:00
Gav Wood
58d8f13913 TrieDBMut rather than TrieDB in preparation for immutable Trie type. 2015-12-17 12:43:01 +01:00
Gav Wood
8687d0d097 Slightly better mutation semantics. 2015-12-17 12:32:35 +01:00
debris
324762f6a7 cleanup 2015-12-17 02:13:14 +01:00
debris
2251c469b8 extras refactored 2015-12-17 01:54:24 +01:00
Gav Wood
e08958d502 Minor doc fix. 2015-12-16 20:11:37 +01:00
Gav Wood
8edd95e8cb Test and fixes for State's require function. 2015-12-16 20:02:28 +01:00
Gav Wood
d2f3942c47 Tests for nonce & balance. 2015-12-16 18:28:04 +01:00
Gav Wood
5443563903 State functions for balance and nonce operations. 2015-12-16 18:20:23 +01:00
debris
3862d639bc cache size && common naming changes 2015-12-16 17:39:15 +01:00
Marek Kotewicz
efdb178487 Merge pull request #43 from gavofyork/state
Account::storage_at, Account::ensure_cached and tests.
2015-12-16 17:15:52 +01:00
Gav Wood
d6e6f9bf94 State::ensure_cached with docs and tests. 2015-12-16 16:39:49 +01:00
Gav Wood
249424997d Account::storage_at, Account::ensure_cached and tests. 2015-12-16 12:46:25 +01:00
debris
b2177ad2eb Merge branch 'master' of https://github.com/gavofyork/ethcore into blockchain 2015-12-15 16:22:48 +01:00
Marek Kotewicz
9ec38dd8ab Merge pull request #42 from gavofyork/state
Additional tests.
2015-12-15 16:22:35 +01:00
debris
e575f35caf blockchain wip 2015-12-15 16:21:19 +01:00
Gav Wood
7fb17a39ce Additional tests for Account set_storage and set_code. 2015-12-15 13:17:59 +01:00
Gav Wood
17435099f1 Additional tests. 2015-12-15 13:09:50 +01:00
debris
e38225d1a5 removed all warnings 2015-12-14 17:53:48 +01:00
debris
b7ed6144db common improvements in querying 2015-12-14 17:12:47 +01:00
debris
ee65595a76 HeaderView, BlockView, blockchain api for blocks, block_headers, transaction_hashes, uncle_hashes 2015-12-14 16:14:50 +01:00
debris
ef2a0a2e5c fixed blockview seal 2015-12-14 15:31:56 +01:00
debris
eb342d4a6a Merge branch 'master' of https://github.com/gavofyork/ethcore into blockchain 2015-12-14 15:26:56 +01:00
debris
c573b51a31 seal todo done 2015-12-14 15:22:41 +01:00
debris
debf88db5d blocksdb 2015-12-14 14:15:27 +01:00
debris
01ee84b7d0 bc extras: TransactionAddress, BlockLogBlooms, BlocksBlooms 2015-12-14 13:32:22 +01:00
debris
fe9c8f8c11 applied changed from rlp_array 2015-12-14 12:18:53 +01:00
debris
bd43d46026 Merge branch 'rlp_array' into blockchain 2015-12-14 12:15:07 +01:00
debris
7e9ce8f51c rlp array && added missing rustc crate 2015-12-14 12:09:32 +01:00
Gav Wood
8d6a8973a6 More methods in Account, documentation and tests. 2015-12-14 11:32:12 +01:00
debris
8a55909bef fixes after the merge 2015-12-14 11:05:40 +01:00
debris
2ac0f0f4ac Merge branch 'master' of https://github.com/gavofyork/ethcore into blockchain 2015-12-14 11:02:33 +01:00
Gav Wood
6e6d00178e Minor reworking of Account. 2015-12-13 23:12:22 +01:00
debris
937b521b68 Merge branch 'master' of https://github.com/gavofyork/ethcore into cache 2015-12-13 22:47:48 +01:00
debris
a509bffdc0 query_extras 2015-12-13 22:39:01 +01:00
Gav Wood
51e7dd705f Cleanups. 2015-12-13 21:49:40 +01:00
Gav Wood
53f4b226b9 Add Account and State classes. 2015-12-13 21:36:17 +01:00
debris
96298299e3 Merge branch 'blockchain' into cache 2015-12-13 17:50:51 +01:00
debris
9c6279b8aa updated BlockView 2015-12-13 17:48:36 +01:00
debris
a63603046c Merge branch 'master' of https://github.com/gavofyork/ethcore into blockchain 2015-12-13 17:38:19 +01:00
debris
bb56a68097 cache init 2015-12-13 17:33:11 +01:00
Gav Wood
6852976c9c Revert regressions.
Merge branch 'master' of github.com:gavofyork/ethcore
2015-12-13 16:44:14 +01:00
Gav Wood
12f6534fa5 Merge branch 'master' of github.com:gavofyork/ethcore 2015-12-13 14:16:11 +01:00
debris
5e215af5e2 loading frontier genesis block 2015-12-12 15:52:37 +01:00
debris
ada79ed62a loading genesis state 2015-12-12 06:05:36 +01:00
debris
04b6743ba8 genesis_state in progress 2015-12-11 14:41:18 +01:00
debris
0b29ac79c5 implementation genesis_block without genesis state 2015-12-11 03:51:23 +01:00
debris
c50c005fd6 blockchain init 2015-12-09 19:03:25 +01:00
debris
74368663db denominations and networkparams 2015-12-09 15:31:43 +01:00
debris
1468145110 added two methods to transaction struct 2015-12-09 02:09:42 +01:00
debris
421d2d1174 signature agnostic transaction 2015-12-09 00:45:33 +01:00
debris
a9099e8569 Decodable blockheader 2015-12-08 16:36:44 +01:00
debris
43b88e4e76 blockheader 2015-12-08 16:31:36 +01:00
Gav Wood
44f287df02 Remove Bytes type from here. 2015-12-07 17:20:46 +01:00
debris
d516fca165 added installation guide 2015-12-05 19:44:43 +01:00
debris
02c8ee3c91 evmjit as sublibrary 2015-12-05 19:21:07 +01:00
debris
1a3e8fdb3b ethcore compiling with latest util 2015-12-05 17:32:36 +01:00
Gav Wood
f596c5819b Move stuff to bottom layer. 2015-11-27 13:18:35 +01:00
Gav Wood
7bb4561c16 minor additional stuff. 2015-11-27 00:30:33 +01:00
Gav Wood
7e38b70d5f Additional example code. 2015-11-26 21:34:49 +01:00
Gav Wood
e335e7a818 Silly test function. 2015-11-24 22:21:15 +01:00
Gav Wood
950f1f898b Change to library. 2015-11-24 21:05:08 +01:00
Gav Wood
c8a4a9d5ae Initial commit. 2015-11-24 20:57:23 +01:00