Commit Graph

1001 Commits

Author SHA1 Message Date
Tomusdrw
23cae6607a Fixing all tests. Changing memory to U256. Fixing tier_step_gas 2016-01-13 23:51:10 +01:00
Marek Kotewicz
8a789533d2 Merge pull request #44 from gavofyork/gav
Nice macros.
2016-01-13 23:23:13 +01:00
arkpar
e4ef044d44 Merge branch 'master' of github.com:gavofyork/ethcore-util into io 2016-01-13 23:20:12 +01:00
Gav Wood
5fd5c461b3 u256_from_ hex -> str. 2016-01-13 23:19:08 +01:00
arkpar
f72f7d05e9 Merge branch 'master' of github.com:gavofyork/ethcore-util into io 2016-01-13 23:14:59 +01:00
Gav Wood
12187b8af7 Merge remote-tracking branch 'origin/master' into gav 2016-01-13 23:14:36 +01:00
arkpar
4d2437906e Io channel 2016-01-13 23:13:57 +01:00
Gav Wood
08824e3ece Move macros to util. 2016-01-13 23:07:01 +01:00
Gav Wood
b23ec6ee69 Nice macros. 2016-01-13 23:06:44 +01:00
Gav Wood
78b10fd5f2 More nice syntax. 2016-01-13 22:45:46 +01:00
debris
5a072d1b4b vm ext call function uses u256 instead of u64, ext works entirely on u256 2016-01-13 22:36:59 +01:00
Gav Wood
a3f066a35c Refactor Diff datastructures. 2016-01-13 22:35:21 +01:00
Tomusdrw
263936145d Memory implemented 2016-01-13 22:30:41 +01:00
debris
6f17b7b44b vm ext create function uses u256 instead of u64 2016-01-13 22:29:49 +01:00
debris
48e74e5874 vm ext ret function used u256 instead of u64 2016-01-13 22:16:44 +01:00
debris
360e667a64 updated executive tests 2016-01-13 22:06:05 +01:00
debris
90645e30a6 update pr to use From::from 2016-01-13 22:05:10 +01:00
debris
dfc1be8a6e Merge branch 'master' of https://github.com/gavofyork/ethcore-util into json_aid_changes 2016-01-13 21:53:48 +01:00
debris
922dae31d5 Merge branch 'master' of https://github.com/gavofyork/ethcore into executive_tests 2016-01-13 21:53:38 +01:00
Gav Wood
3a1d829b1d Additional test. 2016-01-13 19:00:19 +01:00
Gav Wood
5cc5e7780c Tests and an additional From::from for hex string -> hash that defaults to 0s for bad strings. 2016-01-13 18:58:57 +01:00
Gav Wood
9fa9ef46db Merge branch 'master' into gav 2016-01-13 18:41:52 +01:00
Gav Wood
dd99ebd859 From::from(u64) for hashes. 2016-01-13 18:41:33 +01:00
Gav Wood
602d9d99b1 State conensus tests now print mismatching diff. 2016-01-13 18:40:18 +01:00
Gav Wood
311aa5c442 State diffing. 2016-01-13 18:37:09 +01:00
debris
cb16bdb350 cleanup 2016-01-13 17:45:06 +01:00
debris
6c44f29b06 json aid changes 2016-01-13 17:42:57 +01:00
debris
1f4d5fb860 check callcreates 2016-01-13 17:26:04 +01:00
Tomusdrw
da5f65c0d3 Gas calculation 2016-01-13 17:11:00 +01:00
debris
e94a575f6c fixed code, added nonce and storage executive tests 2016-01-13 16:30:19 +01:00
debris
d7adf95189 fixed suicide refund address 2016-01-13 16:16:21 +01:00
Gav Wood
5ba76d767e Account diffing. 2016-01-13 15:54:17 +01:00
debris
87eb66183c executive output uses BytesRef 2016-01-13 15:26:52 +01:00
Tomusdrw
0a5666f2c0 Simple Gas calculation based on instruction gas price tier 2016-01-13 15:21:13 +01:00
debris
df3e3edc8a bytes_ref 2016-01-13 15:14:24 +01:00
arkpar
76dc2d6074 Merge branch 'master' of github.com:gavofyork/ethcore-util into io 2016-01-13 15:09:56 +01:00
arkpar
a5bb7b7f92 Work around ICE 2016-01-13 15:08:36 +01:00
arkpar
28c482691a Fixed context lifetimes 2016-01-13 13:56:48 +01:00
debris
5f7a81a468 Merge branch 'master' of https://github.com/gavofyork/ethcore into executive_tests 2016-01-13 13:25:06 +01:00
debris
920d8c51db gas_left is correct in all tests 2016-01-13 13:16:53 +01:00
Tomusdrw
95d97fc75c Merge branch 'master' of github.com:gavofyork/ethcore-util 2016-01-13 12:24:19 +01:00
Tomusdrw
d5ed4a8ffd Fixed typos 2016-01-13 12:24:14 +01:00
Tomusdrw
d7176faddc Merge branch 'master' into evm 2016-01-13 12:20:07 +01:00
Tomusdrw
6577d742a8 Rewriting tests to support JIT and Interpreter 2016-01-13 12:18:54 +01:00
Gav Wood
4be539a965 Stirct ordering for hashes. 2016-01-13 12:16:10 +01:00
Gav Wood
28341fef9f Introduce ordered mapping for PodAccount and related structures. 2016-01-13 12:14:11 +01:00
Tomusdrw
4a26b6a40f Yay, Add test passing 2016-01-13 12:02:49 +01:00
arkpar
c98f73c5c9 Finished splitting IoService and NetworkService 2016-01-13 11:31:37 +01:00
Tomusdrw
5c79b1b84b Adding some more methods 2016-01-13 01:53:33 +01:00
debris
68a2c843ef executive tests 2016-01-13 01:23:01 +01:00
Gav Wood
9d2ac7fc37 State testing framework. First test is failing. 2016-01-13 01:19:05 +01:00
Gav Wood
6447f9b90b Additional helper function. 2016-01-13 01:18:33 +01:00
Tomusdrw
0733214059 Some initial implementation of more complicated methods 2016-01-13 00:13:09 +01:00
Gav Wood
635bf284b4 Fix RLP on consensus.
Add JSON helpers.
2016-01-12 23:44:30 +01:00
debris
09662ace50 executive transact tests 2016-01-12 19:43:26 +01:00
debris
7d4365c875 Merge branch 'master' of https://github.com/gavofyork/ethcore into executive_tests 2016-01-12 19:11:05 +01:00
debris
e3fa730dc7 executive tests in progress 2016-01-12 18:31:47 +01:00
Gav Wood
349223f6f9 Transaction API complete. 2016-01-12 18:10:10 +01:00
Gav Wood
6b1eb943e2 Add U512 type and a few conversions. 2016-01-12 17:40:55 +01:00
Gav Wood
08074ef397 Use U512s for ether cost calculation. 2016-01-12 17:40:34 +01:00
arkpar
982063e1ac Started IO service refactoring 2016-01-12 17:33:40 +01:00
Marek Kotewicz
2b184585e2 Merge pull request #93 from gavofyork/gav
Utils for consensus test decoding and better layout.
2016-01-12 16:35:10 +01:00
Gav Wood
f6d03cf92c Merge pull request #89 from gavofyork/evm_tests
executive fixes + tests
2016-01-12 16:34:36 +01:00
debris
a5e1db11ca match return => return match 2016-01-12 16:32:51 +01:00
Gav Wood
49a431d744 Utils for consensus test decoding and better layout. 2016-01-12 16:20:29 +01:00
Marek Kotewicz
3b8df91578 Merge pull request #92 from gavofyork/gav
All transaction tests pass. Nicer testing framework.
2016-01-12 16:08:18 +01:00
debris
36e250bcc9 executive returns addresses of contracts created during execution 2016-01-12 16:05:54 +01:00
Gav Wood
56ee6770b5 All transaction tests pass. Nicer testing framework. 2016-01-12 15:45:40 +01:00
debris
51610480b0 executive uses stack_limit from schedule 2016-01-12 15:12:03 +01:00
debris
1aa62691c6 executive checks schedule exceptional code deposit before returning OutOfGas 2016-01-12 14:56:19 +01:00
Gav Wood
283f62f048 Merge pull request #88 from gavofyork/verification
Block verification tests; BlockProvider blockchain trait for testing
2016-01-12 14:39:32 +01:00
debris
f7af71e272 fixed checking address existance in externalities call callback 2016-01-12 13:54:54 +01:00
debris
a2ae5d39fa Merge branch 'master' of https://github.com/gavofyork/ethcore into evm_tests 2016-01-12 13:46:31 +01:00
arkpar
7edfafd457 Some additional tests 2016-01-12 13:43:43 +01:00
debris
011a42fd6d added max_depth to executive, fixed bugs in externalities call, added "bomb" tests 2016-01-12 13:39:12 +01:00
arkpar
fdcf9e62ec Merge branch 'master' of github.com:gavofyork/ethcore into verification 2016-01-12 13:31:49 +01:00
arkpar
a9a5d71f2f Verification tests 2016-01-12 13:14:01 +01:00
Gav Wood
8e8825320c Merge branch 'master' into gav 2016-01-12 12:34:51 +01:00
Gav Wood
c6ec6e4aef State::exists, docs and tests. 2016-01-12 12:34:14 +01:00
Arkadiy Paronyan
915a6050cd Merge pull request #86 from gavofyork/gav
Add tests module, add two more transaction tests.
2016-01-12 12:26:36 +01:00
Gav Wood
25c069c62c Merge pull request #82 from gavofyork/evm_tests
bring back removed tests, removed build warnings
2016-01-12 12:24:50 +01:00
Gav Wood
7634d60a97 Add tests module, add two more transaction tests. 2016-01-12 12:22:18 +01:00
Gav Wood
df3db60ec0 Nicer transaction validation API. Nicer OutOfBounds API in general. 2016-01-12 11:44:16 +01:00
Gav Wood
8970ef572e Slightly cleaner test code. 2016-01-12 01:41:47 +01:00
Gav Wood
7bc21bbdd7 Merge remote-tracking branch 'origin/master' into gav 2016-01-12 01:32:12 +01:00
Gav Wood
5765fb1069 Transaction tests passing. 2016-01-12 01:30:30 +01:00
Gav Wood
e2de777c30 Fix panic in crypto, avoid incorrect casting in bytes. 2016-01-12 00:55:42 +01:00
Gav Wood
48fbf24e21 Avoid panicking on oversize u64. 2016-01-12 00:10:47 +01:00
Gav Wood
65ab524053 Avoid panic on invalid uint data. 2016-01-11 23:59:33 +01:00
debris
5b68c294af bring back removed tests, removed build warnings 2016-01-11 23:40:52 +01:00
Arkadiy Paronyan
7f2949bd52 Merge pull request #81 from gavofyork/evm_tests
fixed getting block info in evmjit + tests
2016-01-11 23:06:12 +01:00
debris
2519cbae34 fixed getting block info in evmjit + tests 2016-01-11 23:01:21 +01:00
Arkadiy Paronyan
5036735e2c Merge pull request #80 from gavofyork/evm_tests
evm tests cleanup
2016-01-11 22:41:57 +01:00
debris
8762bc12e3 test cleanup 2016-01-11 22:32:01 +01:00
Gav Wood
735202fac0 Minor API reduction. 2016-01-11 22:00:25 +01:00
Gav Wood
b9e2d7dabc Transaction test and a fix. 2016-01-11 21:57:22 +01:00
Gav Wood
7239acc451 Transaction address decoding. 2016-01-11 20:47:19 +01:00
Gav Wood
845ac87f88 Transaction includes signature. 2016-01-11 20:36:29 +01:00
Gav Wood
728883f45e Remove unneeded panic. 2016-01-11 19:40:02 +01:00
debris
d809ee53d6 hidden private fields of evm/executive 2016-01-11 19:25:37 +01:00
debris
e6d381bedd renamed VmFactory -> Factory 2016-01-11 19:01:42 +01:00
Gav Wood
1c48e34d69 Additional mem use. 2016-01-11 18:01:54 +01:00
Gav Wood
1d81b4f930 EVMJIT build fixes. 2016-01-11 17:49:49 +01:00
Gav Wood
c104009ef6 Additional standard.rs. 2016-01-11 17:38:28 +01:00
Gav Wood
0004ed8960 Integrate Executive into State. 2016-01-11 17:37:22 +01:00
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
c269cb5c85 Added sync to std uses 2016-01-11 11:52:18 +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
arkpar
6f3c3fa020 Documentation 2016-01-10 22:42:27 +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
02b530f4aa Style 2016-01-10 15:13:12 +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
arkpar
39fb29ffcc Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2016-01-10 14:10:29 +01:00
arkpar
2f45d22b38 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2016-01-10 14:09:51 +01:00
Gav Wood
6410759bc3 Remove unneeded error. 2016-01-10 14:06:38 +01:00
Gav Wood
76bb480afb Block sealing, tests updated. 2016-01-10 14:05:39 +01:00
arkpar
b0cef968e7 Networking fixes 2016-01-10 14:02:01 +01:00
Gav Wood
5862d58379 Reworked network errors (now NetworkError) to be a subset of UtilErrors rather than the
other way around.
2016-01-10 12:53:55 +01:00
debris
9f06c2f2e6 errors, fees, and refunds 2016-01-10 12:29:35 +01:00
Gav Wood
ffc28bf495 Additional bloom-related functionality.
RlpStandard for non-emit_*-based RlpStream extesions.
2016-01-09 23:47:46 +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
568d28e94b Bitwise Or Assign and some additional convenience in Hash. 2016-01-09 22:30:13 +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
6eac110b65 Merge branch 'master' into gav 2016-01-09 12:33: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
Gav Wood
2b90f7d03a Introduce use-dependency amalgamation. We now have:
- `use standard;` (bring in a set of standard and external dependencies)
- `use common;` (bring in a low-level subset of this crate; basically anything that itself requires only `use standard;`)

And, from an external create:
- `use ethcore_util::*;` (bring in the entirety of this module and the standard dependencies)
2016-01-09 12:12:36 +01:00
arkpar
24ba723818 Do not expose sha3 from crypto 2016-01-09 10:27:41 +01:00
arkpar
86dfa1b425 Merge branch 'master' of github.com:gavofyork/ethcore into network 2016-01-09 10:26:31 +01:00
arkpar
02c60acc14 Fixed build after merge 2016-01-09 10:22:03 +01:00
arkpar
6183ba5cb5 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2016-01-09 10:20:11 +01:00
arkpar
49d97d7cb3 is_zero for hash types 2016-01-09 10:20:07 +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
d7fe922425 Fix API, 2016-01-08 22:30:45 +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
arkpar
647ea286ba Renamed RlpStream::raw to as_raw 2016-01-08 15:57:50 +01:00
arkpar
9286a03656 Even more style 2016-01-08 15:52:43 +01:00
arkpar
469b0a17dc More style 2016-01-08 13:55:44 +01:00
arkpar
396a1755e3 More style 2016-01-08 13:49:00 +01:00
arkpar
e6623c0edd Removed wrong file 2016-01-08 13:33:38 +01:00
arkpar
1ffd999f96 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2016-01-08 13:32:52 +01:00
arkpar
288794fd27 Style 2016-01-08 13:10:00 +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
e4ed6467a9 Fixes and renaming fax->copy. 2016-01-08 12:05:38 +01:00
Gav Wood
f81fb2de51 Fix and some tests for opaque types in populatable. 2016-01-08 12:02:26 +01:00
Gav Wood
6837899eba Fixups for new bytes.rs API. 2016-01-08 11:53:07 +01:00
Gav Wood
3018c4a28a Additional Populatable API tweaks. 2016-01-08 11:52:46 +01:00
Gav Wood
f0da76df7c API cleanups. 2016-01-08 11:43:11 +01:00
Gav Wood
e6439dde99 Minor API update. 2016-01-08 11:03:58 +01:00
Gav Wood
806de37cec Additional docs. 2016-01-08 11:02:32 +01:00
Gav Wood
51ccd5e8fc Comment TODO. 2016-01-08 00:36:57 +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
5fc87a334d Additional work & convenience functions on crypto, bytes & hash.
Renaming mut_bytes() to as_slice_mut().
2016-01-07 23:59:50 +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
Gav Wood
5423797ce4 Build fix. 2016-01-06 14:06:34 +01:00
Gav Wood
398231f9a7 Additional missing struct stuff. 2016-01-06 13:59:48 +01:00
Gav Wood
be7bfd51a7 Merge branch 'master' into gav 2016-01-06 13:55:05 +01:00
Gav Wood
8bf03bb8ff Secure trie functions & structs. 2016-01-06 13:53:23 +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
Gav Wood
0125125c27 Semantic version test fix. 2016-01-05 19:05:51 +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
arkpar
73405cc74c Fixed timeout signature; Added usage example 2016-01-04 23:58:59 +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
39f2dc9e2f Style 2016-01-04 13:49:32 +01:00
arkpar
8d37ef7d8e Removed Copy trait from H256 2016-01-04 13:25:32 +01:00
arkpar
32fcc6b3e9 Removed fmt file 2016-01-03 09:23:45 +01:00
arkpar
2cdf4ebd0a Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2016-01-03 09:22:26 +01:00
debris
156fcad4e2 docs 2015-12-30 12:46:10 +01:00
arkpar
9e0c8e3d8b Documentation 2015-12-30 12:23:36 +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
267495c264 User IO messages 2015-12-28 11:41:51 +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
634b6be1e6 fixed warnings 2015-12-26 15:50:55 +01:00
arkpar
fa1b74fa53 minor fixes 2015-12-26 15:48:41 +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
88debb2190 address to and from h256 2015-12-24 00:31:43 +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
416c2ec3e4 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2015-12-22 22:23:53 +01:00
arkpar
3ad262e18f more networking 2015-12-22 22:23:43 +01:00
arkpar
f34b22c65b cache item count in Rlp 2015-12-22 22:23:01 +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
debris
9220e0c49f missing Error case 2015-12-21 02:30:38 +01:00
debris
be2b041ee4 fixed semantic version tests 2015-12-21 01:57:34 +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
7ed49bea4d Merge pull request #20 from gavofyork/uint
convenient creation of uint
2015-12-20 12:55:51 +00:00
Gav Wood
feee9a26cb Remove SemanticVersion to ethcore-util. 2015-12-20 12:29:06 +00:00
Gav Wood
72a24ad023 SemanticVersion struct.
Additional documentation.
2015-12-20 12:28:13 +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
arkpar
900fc833f0 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2015-12-19 14:19:14 +01:00
Gav Wood
0addfc186d Add tests for triedb, optimise tests for triedbmut. 2015-12-19 12:53:05 +00:00
Gav Wood
cc192b2264 Merge remote-tracking branch 'origin/master' into triemut 2015-12-19 12:38:02 +00:00
Gav Wood
80cdde2972 Renamed RLP's generic submodules to prevent systematic name clashing.
Repotted Trie module.
2015-12-19 12:35:26 +00:00
debris
c2a799064d fixed one of tree route cases 2015-12-18 11:34:55 +01:00
debris
f7ee9436cd more convinient creation of uint 2015-12-18 10:29:06 +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
arkpar
6e4850d4ae updated for new RLP interface 2015-12-17 14:05:13 +01:00
Gav Wood
2a5c6665cf Trie (immutable). 2015-12-17 12:48:47 +01:00
Gav Wood
674c667114 Rename Trie to TrieMut in preparation for immutable trie. 2015-12-17 12:43:50 +01:00