Commit Graph

1072 Commits

Author SHA1 Message Date
Gav Wood
40d9cbdeaf Delta-based logging.
Closes #181
2016-01-18 23:23:32 +01:00
Gav Wood
a2860eb115 Fix client builds. 2016-01-18 19:34:30 +01:00
Gav Wood
3740f135f1 Merge branch 'gav' into cacheman 2016-01-18 19:24:41 +01:00
Gav Wood
76cded453b Cache manager.
Closes #135
2016-01-18 19:23:28 +01:00
Gav Wood
eec70fe69a Merge branch 'master' into gav 2016-01-18 16:20:35 +01:00
Gav Wood
bd21c6c327 note_used and cache management datatypes. 2016-01-18 15:48:38 +01:00
Gav Wood
1eafdc7008 PR fixes. 2016-01-18 15:47:50 +01:00
Gav Wood
3885cc07e4 Merge pull request #173 from gavofyork/ark
Multithreaded block queue
2016-01-18 15:00:44 +01:00
Gav Wood
7b0e4af078 Compact state DB finished.
Closes #172
2016-01-18 14:44:06 +01:00
Gav Wood
b9b08af518 Use JournalDB instead of OverlayDB. 2016-01-18 13:54:46 +01:00
arkpar
e862fc6257 Typo 2016-01-18 01:39:19 +01:00
Gav Wood
4f5ca1973e Merge branch 'master' into gav 2016-01-18 01:32:56 +01:00
Gav Wood
d7b6925620 Reduce spam. 2016-01-18 00:58:06 +01:00
Gav Wood
fab99e8538 Disable trieDB ref counting for now. 2016-01-18 00:51:55 +01:00
arkpar
d05e7e031b Basic queue test 2016-01-18 00:24:20 +01:00
arkpar
75092669b4 Merge branch 'master' of github.com:gavofyork/ethcore into ark 2016-01-17 23:16:33 +01:00
arkpar
a131c33bb2 Multithreaded block queue 2016-01-17 23:07:58 +01:00
Arkadiy Paronyan
2c0d84e2c7 Merge pull request #145 from gavofyork/evm
Handling all possible overflows
2016-01-17 15:58:26 +01:00
Tomusdrw
1b6dead109 Fixing clippy stuff - work in progress 2016-01-17 15:56:09 +01:00
Tomusdrw
342c4e736d Getting rid of RequiredMem enum 2016-01-17 14:17:05 +01:00
Tomusdrw
c8d94c981b Additional check before conversion 2016-01-17 14:08:31 +01:00
Tomusdrw
aca68dcfe7 Fixing mem_gas_cost calcualtion by jumping to U512 2016-01-17 13:59:30 +01:00
Tomusdrw
83ac4bce06 Handling overflows in gas_for_mem calculation 2016-01-17 13:48:48 +01:00
Tomusdrw
97d23f551b Cleaning ugly tuple deconstructions 2016-01-17 13:24:57 +01:00
Gav Wood
6ea8eaa3b5 Move ethcore files back into root. 2016-01-17 13:11:25 +01:00
arkpar
365adb152b Fixed block verification test 2016-01-17 12:55:00 +01:00
arkpar
6502399e6b Fixed build aftre botched merge 2016-01-17 12:11:39 +01:00
arkpar
efccde7b66 Merge branch 'master' of github.com:gavofyork/ethcore into client 2016-01-17 12:08:40 +01:00
Tomusdrw
eb4a9d8586 Removing println 2016-01-17 12:06:37 +01:00
arkpar
e39e7491b8 Use ethash for verification 2016-01-17 12:00:34 +01:00
Tomusdrw
4df5f0ca31 Handling all possible overflows 2016-01-17 11:54:29 +01:00
Tomusdrw
1414fe28b9 Merge branch 'master' into evm 2016-01-17 11:41:46 +01:00
Tomusdrw
62597cb294 Merge branch 'evm+gav' into evm 2016-01-17 11:26:59 +01:00
Tomusdrw
57129f4fd3 Changing to AddAsign 2016-01-17 11:26:37 +01:00
Tomusdrw
94f23ac5ba Merge branch 'gav' into evm+gav
Conflicts:
	src/ethereum/ethash.rs
2016-01-17 01:18:35 +01:00
Tomusdrw
48040590f5 Fixing create-gasleft 2016-01-16 21:24:19 +01:00
Tomusdrw
56c059588d Changing state tests to support transition 2016-01-16 21:08:04 +01:00
Gav Wood
cbdc2ec80d Enable TransactionViews from the BlockView. 2016-01-16 21:04:14 +01:00
Gav Wood
667a0fad01 Merge remote-tracking branch 'origin/master' into gav 2016-01-16 21:02:59 +01:00
Gav Wood
bffbba32d2 Docs. 2016-01-16 21:02:31 +01:00
Tomusdrw
9849ce08e0 Merge branch 'master' into evm
Conflicts:
	src/evm/tests.rs
	src/executive.rs
	src/externalities.rs
	src/tests/executive.rs
2016-01-16 21:01:14 +01:00
Gav Wood
cf1e9f24b6 Enable TransactionView. 2016-01-16 21:01:02 +01:00
Tomusdrw
3979b787f7 merged with mk 2016-01-16 20:58:23 +01:00
Gav Wood
7a6ace6691 Merge pull request #131 from gavofyork/fix_ext
externalities refactor
2016-01-16 20:55:50 +01:00
Gav Wood
14658d7da0 Merge branch 'master' into gav 2016-01-16 18:46:47 +01:00
Gav Wood
60f0ff8e9e Fix bug. 2016-01-16 18:46:23 +01:00
Arkadiy Paronyan
e89eb3715e Merge pull request #140 from gavofyork/gav
More open files.
2016-01-16 18:38:08 +01:00
Gav Wood
d8efbb2173 Change netspecs to real values. 2016-01-16 18:35:07 +01:00
Gav Wood
dd5fcb398f Support Homestead, 2016-01-16 18:30:27 +01:00
debris
1d8d038682 s/inc_sstore_clear_count/inc_sstore_clears/g 2016-01-16 17:33:46 +01:00
Tomusdrw
e9dab4d567 Merge branch 'evm' into evm_stack_fix
Conflicts:
	src/evm/instructions.rs
	src/evm/interpreter.rs
2016-01-16 17:27:54 +01:00
debris
d128d1fccd renamed inc_sstore_refund_count -> inc_sstore_clear_count 2016-01-16 17:26:32 +01:00
Tomusdrw
5b9097a9ca Renaming NO_OF_LOG_INSTRUCTIONS -> MAX_NO_OF_TOPICS 2016-01-16 17:24:42 +01:00
Arkadiy Paronyan
a04d5c2af7 Merge pull request #59 from gavofyork/gav
Assign-operators for Uint.
2016-01-16 17:18:35 +01:00
Tomusdrw
79c1cc02f7 Vec<u8> -> Bytes and clearing log API 2016-01-16 17:17:43 +01:00
Tomusdrw
09c46be74d Cleaning evm 2016-01-16 17:08:57 +01:00
debris
5171d566a3 Updated OriginInfo description. 2016-01-16 17:08:39 +01:00
debris
a66f46b4e9 Merge branch 'master' of https://github.com/gavofyork/ethcore into fix_ext 2016-01-16 17:06:37 +01:00
debris
9062771209 fixed review issues: add_sstore_refund -> inc_sstore_refund, sstore_refunds_count -> sstore_clears_count. Also removed all unnecessary copying of transaction code/data. 2016-01-16 17:06:15 +01:00
Gav Wood
0c2869d542 Tesys for U256 assign ops. 2016-01-16 16:52:59 +01:00
Tomusdrw
da4f31b430 Fixing tinykeccak to compile with c99 mode 2016-01-16 16:44:47 +01:00
Gav Wood
512eee04cf Assign-operators for Uint. 2016-01-16 16:26:46 +01:00
Tomusdrw
d496a66a30 Single array for logs output. 2016-01-16 16:11:57 +01:00
Gav Wood
d5a7c3415f Merge pull request #52 from gavofyork/pow
Power for uint
2016-01-16 15:57:07 +01:00
Gav Wood
60678a21a6 Put boot nodes back. 2016-01-16 15:45:45 +01:00
Tomusdrw
666cbe7d47 Implementing pow, overflowing_pow only for uint. Adding missing docs. 2016-01-16 15:45:33 +01:00
Gav Wood
2caff9d7c2 Merge branch 'master' into gav 2016-01-16 15:37:35 +01:00
Gav Wood
8e9ea7969a Cleanup and docs. 2016-01-16 15:29:36 +01:00
Gav Wood
a79644d982 Fast SHA3. 2016-01-16 14:29:36 +01:00
Tomusdrw
40947e214b Merge branch 'master' into pow 2016-01-16 14:18:06 +01:00
Tomusdrw
045d2ce44b Merge branch 'master' into evm 2016-01-16 14:16:56 +01:00
Tomusdrw
f7a745adee Fixing compilation 2016-01-16 14:14:35 +01:00
Tomusdrw
012474b237 Fixing SSTORE gas calculation 2016-01-16 13:59:48 +01:00
Gav Wood
1d06c05a9f Merge pull request #57 from gavofyork/uint_decimal_display
uint fmt debug/display changed to output decimal representation
2016-01-16 13:33:41 +01:00
Gav Wood
32b8da2172 Merge pull request #56 from gavofyork/rlp_display
rlp display
2016-01-16 13:33:06 +01:00
Gav Wood
cd0db09e14 Merge pull request #55 from gavofyork/flush_macro
Flush macro
2016-01-16 13:32:38 +01:00
arkpar
d07934ffee Client app event handler 2016-01-16 13:30:27 +01:00
arkpar
69f1f310b6 Minor timers fix 2016-01-16 13:29:51 +01:00
Gav Wood
b4556c3436 More open files. 2016-01-16 11:52:28 +01:00
debris
fa1f0d1cf4 executive tests fixed
Conflicts:
	src/executive.rs
2016-01-16 11:43:45 +01:00
Tomusdrw
a1a4c5a068 Merge branch 'master' into evm
Conflicts:
	src/evm/tests.rs
	src/executive.rs
2016-01-16 11:33:41 +01:00
debris
0d686b2327 cleanup 2016-01-16 08:56:03 +01:00
debris
4e321eb20f cleanup 2016-01-16 08:35:51 +01:00
debris
c67822a03c executive tests are working after the cleanup 2016-01-16 08:23:29 +01:00
debris
4fc52a92ac externalities refactor in progress 2016-01-16 07:46:36 +01:00
debris
a3e88c2b33 executive tests fixed 2016-01-16 04:59:53 +01:00
Tomusdrw
aef38a9abc Fixing code compilation 2016-01-16 02:25:08 +01:00
Gav Wood
5a2fab8b64 Clean up logging. 2016-01-16 01:48:38 +01:00
Tomusdrw
6ff83581f7 Merge branch 'master' into pow 2016-01-16 01:47:30 +01:00
Tomusdrw
689b1fd112 Merge branch 'master' into evm
Conflicts:
	src/lib.rs
2016-01-16 01:44:50 +01:00
Gav Wood
2f14b755f1 Make stuff work. 2016-01-16 01:44:07 +01:00
Tomusdrw
24777cc569 Fixing memory calculations overflows 2016-01-16 01:24:37 +01:00
debris
2899790cd3 test for rlp display 2016-01-16 00:42:02 +01:00
debris
d41ad82aa9 uint fmt debug/display is changed to output decimal representation 2016-01-16 00:38:41 +01:00
Tomusdrw
e0f3f7adcc Fixing memory slices when trying to get memory with size=0 2016-01-16 00:31:04 +01:00
Gav Wood
4fde74c5e8 Fix for sync. 2016-01-15 23:32:17 +01:00
Tomusdrw
9e7fea94bf Fixing memory allocation 2016-01-15 23:32:16 +01:00
Gav Wood
e876a04afb Bugs fixed for last_hashes. 2016-01-15 22:55:04 +01:00
Tomusdrw
f49afe1b6a Fixing memory read-write 2016-01-15 22:46:29 +01:00
Tomusdrw
24e86d4479 Fixing possible gas-memory calculation overflows 2016-01-15 21:46:08 +01:00
Gav Wood
5520497e81 Fixed Uint output. 2016-01-15 21:25:55 +01:00
debris
e3f1d70353 display trait implemented for rlp 2016-01-15 21:03:38 +01:00
Tomusdrw
7bb963f866 Fixing CALLDATALOAD for big indexes 2016-01-15 20:19:46 +01:00
Tomusdrw
51f828ac37 Fixing CALLDATALOAD 2016-01-15 20:14:16 +01:00
debris
3e1add7051 flush macro 2016-01-15 19:51:48 +01:00
Tomusdrw
46ecb16191 Fixing BYTE instruction 2016-01-15 19:48:51 +01:00
Tomusdrw
7af4825b15 Implementing Signextend and fixing signed operations 2016-01-15 19:15:37 +01:00
Gav Wood
2eead090d5 Fix executive. Syncs to 62509. 2016-01-15 18:56:28 +01:00
arkpar
c224808416 Merge branch 'network' 2016-01-15 16:36:30 +01:00
arkpar
3ec294bda2 Missing files 2016-01-15 16:36:08 +01:00
Gav Wood
df2aabb712 Merge pull request #127 from gavofyork/transaction_tests_fixes
callcode builtins tests pass
2016-01-15 16:30:53 +01:00
Tomusdrw
b7e7518b8e More merging with master 2016-01-15 16:26:47 +01:00
Gav Wood
af65d539d1 Merge pull request #49 from gavofyork/network
Refactoring: General IO is now split from Networking IO
2016-01-15 16:25:21 +01:00
arkpar
2319fd4cec New list of bootnodes 2016-01-15 16:19:21 +01:00
Tomusdrw
5b3436dcad Merge branch 'master' into pow 2016-01-15 16:10:09 +01:00
Tomusdrw
39a7576ddb Merge branch 'master' into evm
Conflicts:
	src/executive.rs
	src/lib.rs
2016-01-15 16:08:06 +01:00
Tomusdrw
539fffaab9 Implementing missing instructions 2016-01-15 16:04:18 +01:00
arkpar
bda04702c7 Merge branch 'master' of github.com:gavofyork/ethcore into client 2016-01-15 15:55:46 +01:00
debris
5e59271508 Merge branch 'master' into transaction_tests_fixes 2016-01-15 15:14:41 +01:00
debris
ed0e243506 callcode builtins are working 2016-01-15 15:00:28 +01:00
Tomusdrw
2d2e4fc838 Changing to overflowing_pow 2016-01-15 14:48:07 +01:00
Tomusdrw
5e2721f964 Pow implementation 2016-01-15 14:45:30 +01:00
Gav Wood
34b516b8b0 Move flush back to common. 2016-01-15 14:42:16 +01:00
Tomusdrw
0ea9e13210 Detecting overflows in shl 2016-01-15 14:40:54 +01:00
Gav Wood
df151ab92c Make clear when the panic occurs to a missing trie root. 2016-01-15 14:40:51 +01:00
Gav Wood
d04e843e2d Revert accidental executive test changes. 2016-01-15 14:30:39 +01:00
Gav Wood
65d6904e63 Split externalities from executive. 2016-01-15 14:22:46 +01:00
arkpar
d80fe310a3 Merge branch 'master' of github.com:gavofyork/ethcore into client 2016-01-15 13:18:18 +01:00
Arkadiy Paronyan
123c991c2e Merge pull request #124 from gavofyork/transaction_tests_fixes
executive error on not enoguh base gas
2016-01-15 13:18:06 +01:00
Arkadiy Paronyan
ec4ea71335 Merge pull request #53 from gavofyork/gav
Add flush function.
2016-01-15 13:15:38 +01:00
Gav Wood
1136e65f0d Add flush function. 2016-01-15 13:11:30 +01:00
debris
99940aea98 Merge branch 'gav' of https://github.com/gavofyork/ethcore into transaction_tests_fixes 2016-01-15 13:10:30 +01:00
Gav Wood
0c39a83365 Fix executive for out of gas builtins. 2016-01-15 13:08:37 +01:00
debris
80f2bfd8a5 executive error on not enoguh base gas 2016-01-15 13:07:44 +01:00
Tomusdrw
b8a2a16e83 Fixing tests 2016-01-15 12:35:27 +01:00
arkpar
0b511a180a Bad block reporting 2016-01-15 12:26:04 +01:00
arkpar
223e946268 Merge branch 'master' of github.com:gavofyork/ethcore-util into network 2016-01-15 12:18:57 +01:00
debris
87539234e3 builin fail should return 0 gas left 2016-01-15 11:59:05 +01:00
Tomusdrw
162a1cd8a2 Power for uint 2016-01-15 11:57:51 +01:00
arkpar
e911e3d8a6 Merge branch 'master' of github.com:gavofyork/ethcore into client 2016-01-15 11:43:05 +01:00
debris
790a68a7ca Merge branch 'master' of https://github.com/gavofyork/ethcore into state_tests_fixes 2016-01-15 11:39:43 +01:00
debris
952efb93ac fixed builtin outofgas 2016-01-15 11:39:10 +01:00
Arkadiy Paronyan
241db922f1 Merge pull request #122 from gavofyork/gav
More state tests.
2016-01-15 11:26:39 +01:00
Arkadiy Paronyan
844ae0908d Merge pull request #51 from gavofyork/gav
Fix for assumption that empty trie root RLP can always be looked up.
2016-01-15 11:24:56 +01:00
Gav Wood
23fbe39408 Fix for assumption that empty trie root RLP can always be looked up. 2016-01-15 04:02:24 +01:00
Gav Wood
b6139d2064 Remove debug stuff. 2016-01-15 04:02:06 +01:00
Tomusdrw
c4e5271651 Initial implementation of couple of more instructions 2016-01-15 03:12:39 +01:00
arkpar
76223d3d13 Receipt logging 2016-01-15 02:52:37 +01:00
debris
9a3944d890 Merge branch 'mul_fix' of https://github.com/gavofyork/ethcore-util 2016-01-15 02:32:59 +01:00
Tomusdrw
5d0c294635 Fixes after merge 2016-01-15 02:16:04 +01:00