Commit Graph

228 Commits

Author SHA1 Message Date
obscuren
5e2bf12a31 Refactored state transitioning to its own model 2014-06-13 12:57:52 +02:00
obscuren
d078e9b8c9 Refactoring state transitioning 2014-06-13 12:45:11 +02:00
obscuren
b855e5f7df Changed opcode numbers and added missing opcodes 2014-06-12 11:19:32 +02:00
obscuren
6593c69424 Merge branch 'develop' into interop 2014-06-12 10:07:40 +02:00
obscuren
3a9d7d318a log changes 2014-06-12 10:07:27 +02:00
obscuren
8a2e50ab2a Merge branch 'develop' into interop
Conflicts:
	peer.go
2014-06-11 21:56:59 +02:00
obscuren
9ee6295c75 Minor changes 2014-06-11 21:55:45 +02:00
obscuren
1bf6f8b4a6 Added a buy gas method 2014-06-11 21:55:34 +02:00
obscuren
4d3209ad1d Moved process transaction to state manager
* Buy gas of the coinbase address
2014-06-11 21:55:23 +02:00
Maran
1938bfcddf Fix compare 2014-06-11 16:16:57 +02:00
Maran
e090d131c3 Implemented counting of usedGas 2014-06-11 11:40:40 +02:00
Maran
bdc206885a Don't mine transactions if they would go over the GasLimit implements ethereum/go-ethereum#77 further. 2014-06-10 17:23:32 +02:00
Maran
69044fe577 Refactor to use new method 2014-06-10 17:22:43 +02:00
Maran
753f749423 Implement CalcGasPrice for ethereum/go-ethereum#77 2014-06-10 17:22:06 +02:00
Maran
2995d6c281 Validate minimum gasPrice and reject if not met 2014-06-10 15:02:41 +02:00
obscuren
c7d1924c34 sha 2014-06-09 21:35:56 +02:00
Maran
d7b882977c Make contract creation error more explicit by mentioning the sneder 2014-06-03 11:56:19 +02:00
Maran
2010fea088 Added faux latency for peeroverview 2014-06-03 10:42:55 +02:00
Maran
fb6ff61730 Implemented Public Peer interface 2014-06-02 15:20:27 +02:00
obscuren
8fcba0eb1e fixed test 2014-05-29 23:54:48 +02:00
obscuren
4d98762486 Fixed state object gas return 2014-05-28 23:16:54 +02:00
obscuren
b695c82520 Fixes #60 2014-05-28 15:07:11 +02:00
obscuren
65722aeeca Added StringToBytesFunc 2014-05-28 13:14:56 +02:00
obscuren
6e98e5709a Set initial used gas 2014-05-28 12:39:34 +02:00
obscuren
9988b1a047 Sort transactions based on the nonce
* Added a transaction sorter
2014-05-28 12:06:09 +02:00
obscuren
73761f7af6 Closure call now returns the total usage as well
* Return the used gas value based on the UseGas and ReturnGas
2014-05-28 12:05:46 +02:00
obscuren
98d4b51120 Changed opcode names 2014-05-28 12:03:12 +02:00
obscuren
4eb1771e67 Hooks can now quit the vm 2014-05-27 13:32:31 +02:00
obscuren
aba3066658 Changed debug hook and added state iterator 2014-05-27 13:10:18 +02:00
obscuren
3ebd7f1166 State snapshotting 2014-05-26 00:09:38 +02:00
obscuren
81ef40010f The body of contracts are now returned instead 2014-05-25 14:13:54 +01:00
obscuren
99fa9afaf1 Updated to work with the new config 2014-05-25 14:13:07 +01:00
obscuren
281559d427 Canonical contract creation 2014-05-22 18:24:04 +02:00
obscuren
cc8464ce80 Transaction querying 2014-05-22 17:56:33 +02:00
obscuren
230aafbf66 Working on interop
* Receipts after each transaction
* Fee structure
* Applying fees to miners
2014-05-22 17:35:26 +02:00
obscuren
f8f84ef095 Removed old contract creation code 2014-05-22 00:25:02 +02:00
obscuren
f5852b47d1 Removed some logging and refactored a bit 2014-05-21 14:00:13 +02:00
obscuren
86cf69648e Improved miner so it won't include invalid transactions 2014-05-21 13:04:40 +02:00
obscuren
2667cb3ab6 Apply to parent 2014-05-21 12:39:07 +02:00
obscuren
0c27c5eb7f Proper log statement 2014-05-21 12:38:56 +02:00
obscuren
07fe00c466 Changed numbers 2014-05-21 11:42:31 +02:00
obscuren
cbf221f6b7 Fixed competing block method 2014-05-21 11:42:20 +02:00
obscuren
734b2e4cf7 Merge branch 'hotfix/4' into develop 2014-05-21 01:12:39 +02:00
obscuren
3c35ba7c31 Fixed state overwriting issue 2014-05-21 01:12:28 +02:00
obscuren
5ceb1620e9 Fixed couple issues
* (imp) Lock / RLock tries
* (fix) stack
2014-05-21 00:17:50 +02:00
obscuren
64701e388c Fixed state issue 2014-05-20 22:43:59 +02:00
obscuren
3b38df085e Fixed casting issue 2014-05-20 22:04:47 +02:00
obscuren
ad51c85e5d Fixed crash 2014-05-20 19:19:53 +02:00
obscuren
0c4040d191 Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop 2014-05-20 15:02:53 +02:00
obscuren
2bd377a3de Changed transaction hash for poc 5 2014-05-20 15:02:46 +02:00