Commit Graph

108 Commits

Author SHA1 Message Date
obscuren
9f62d441a7 Moved gas limit err check to buy gas 2014-06-16 11:14:01 +02:00
obscuren
8124547348 Moving a head closer to interop 2014-06-13 16:06:27 +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
c7d1924c34 sha 2014-06-09 21:35:56 +02:00
obscuren
4d98762486 Fixed state object gas return 2014-05-28 23:16:54 +02:00
obscuren
65722aeeca Added StringToBytesFunc 2014-05-28 13:14:56 +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
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
230aafbf66 Working on interop
* Receipts after each transaction
* Fee structure
* Applying fees to miners
2014-05-22 17:35:26 +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
fd19142c0d No longer store script directly in the state tree 2014-05-20 11:19:07 +02:00
obscuren
b8034f4d9e Increment nonce in the public api 2014-05-19 12:14:04 +02:00
obscuren
5a0bae1dae Auto update state changes notifications 2014-05-08 19:09:36 +02:00
obscuren
f0440e85dc Removed value from closure. 2014-05-08 14:20:45 +02:00
Maran
6c66cb3fa9 Merge branch 'develop' of github.com:ethereum/eth-go into develop 2014-05-07 11:05:53 +02:00
Maran
45ce820b11 Implemented value() 2014-05-07 11:05:49 +02:00
obscuren
a0af7de58e Optimizations 2014-05-06 17:43:27 +02:00
obscuren
17674fb888 Added suicide back in 2014-05-01 22:14:34 +02:00
obscuren
21724f7ef9 Added manifest changes and changed closures 2014-04-30 14:43:32 +02:00
obscuren
16e52327a4 Upped version number 2014-04-27 16:53:35 +02:00
obscuren
ca6e3f6def Notify of changes 2014-04-26 02:06:25 +02:00
obscuren
0f93da400a Added new state object change echanism 2014-04-26 01:48:40 +02:00
obscuren
ee7c16a8d9 Fixed Base problem and sload/sstore 2014-04-24 13:30:57 +02:00
obscuren
1c85d8c66b Minor improvements and bug fixes
* Fixed VM base bug
2014-04-24 00:00:50 +02:00
obscuren
c81804444f Call initial closure with proper tx argument 2014-04-23 15:53:53 +02:00
obscuren
3a9a252f6e Fixed minor issue with gas and added state object init 2014-04-23 11:51:04 +02:00
obscuren
6930260962 Updated VM 2014-04-20 01:31:01 +02:00
obscuren
a96c8c8af9 Added proper gas handling 2014-04-18 13:41:07 +02:00
obscuren
ca13e3b105 Moved assembler stage processing to it's own file 2014-04-15 16:16:38 -04:00
obscuren
086acd122b Added pre processing of script data 2014-04-12 00:13:42 -04:00
obscuren
116516158d Renamed 2014-04-11 13:29:57 -04:00
obscuren
ca747f2688 Added the possibility for debug hooks during closure call 2014-04-11 08:28:30 -04:00
obscuren
891f725909 Added better address format 2014-04-10 18:14:19 -04:00
obscuren
6a530ea371 Call fixed 2014-04-10 14:40:12 -04:00
obscuren
e09f0a5f2c Split code for contracts 2014-04-09 12:27:54 -04:00
obscuren
c0a030ef0a Added new insruction methods 2014-04-09 14:08:18 +02:00
obscuren
7277c42047 Fixed some state issues 2014-03-31 01:03:28 +02:00
obscuren
205e33bc83 Fixed bug in stack to expand beyond expectations. Fixed EQ and NOT opcode 2014-03-30 18:55:51 +02:00
obscuren
43cad69016 Reworked transaction constructors 2014-03-27 15:42:39 +01:00
obscuren
e0b6091d7e Test fixes and removed old code. Added VM gas fees 2014-03-24 13:20:34 +01:00
obscuren
6a86c517c4 Removed old VM code 2014-03-22 11:47:27 +01:00
obscuren
01c1bce9c5 Removed regular ints from the virtual machine and closures 2014-03-21 18:22:47 +01:00
obscuren
2ea4c632d1 Closure return, arguments fixed. Added proper tests 2014-03-21 14:47:55 +01:00
obscuren
fa1db8d2dc Implemented closure arguments 2014-03-21 11:54:36 +01:00
obscuren
f567f89b99 Added address to account and contract
Contract and account now both have an address field or method for the
sake of simplicity.
2014-03-20 23:38:16 +01:00
obscuren
7705b23f24 Removed caller from tx and added "callership" to account.
Transactions can no longer serve as callers. Accounts are now the
initial callee of closures. Transactions now serve as transport to call
closures.
2014-03-20 23:17:53 +01:00
obscuren
f3d27bf5d8 Rewrote opcodes again 2014-03-20 22:51:20 +01:00
obscuren
c68ff9886b Fixed MSTORE and added some more commets 2014-03-20 19:50:53 +01:00
obscuren
38ea6a6d5d Closures and vm based on closures
Status: Work in progress
2014-03-20 17:26:07 +01:00
obscuren
bfed1c7cac Trie's are no longer referenced directly but through State instead 2014-03-03 11:03:16 +01:00
obscuren
0afdedb01a Some log statements changed to the default logger 2014-02-24 13:50:52 +01:00
obscuren
b29c1eecd1 Removed debug print 2014-02-24 12:44:18 +01:00
obscuren
377c995103 Separated the VM from the block manager and added states 2014-02-24 12:10:45 +01:00