obscuren
60cdb1148c
Transaction execution fixes
10 years ago
obscuren
6c9e503eb8
Removed all implicit logging. Fixed gas issues and jump errors
10 years ago
obscuren
75ee3b3f08
debugging code
10 years ago
obscuren
af34749a6b
ethtrie => trie
10 years ago
obscuren
af8f5f0b69
ethstate => state
10 years ago
obscuren
b1c247231b
ethlog => logger
10 years ago
obscuren
df5603de0a
Moved logging to state, proper structured block
...
* Moved logs to state so it's subject to snapshotting
* Split up block header
* Removed logs from transactions and made them receipts only
10 years ago
obscuren
7849b7e978
Refund SSTORE properly
10 years ago
obscuren
1d3f43f060
Added generic add balance method
10 years ago
obscuren
b5beb1aac1
added a transfer method to vm env
10 years ago
obscuren
70f7a0be11
Use the state instead of the state object directly.
...
If a state gets reset and you still hold a pointer to the previous,
incorrect, state object you'll operate on the wrong object. Using the
state to set/get objects and attributes you won't have this problem
since the state will always have the correct object.
10 years ago
obscuren
311c6f8a3f
Fixed remote Arithmetic tests
10 years ago
obscuren
3d177be73e
Couple of minor issues fixed
...
* CALLVALUE pushed incorrect value to the stack
* Set execution model to closure
10 years ago
obscuren
b417766b36
Minor tweaks for poc7
10 years ago
obscuren
33a0dec8a1
Improved catching up and refactored
10 years ago
obscuren
d91357d00c
Added GetCode method
10 years ago
obscuren
42d43147ca
Changed log statements
10 years ago
obscuren
7d95e8624a
Added message to closure && added change addresses
10 years ago
obscuren
a760ce05b9
Updated chain for filtering
10 years ago
obscuren
03ce15df4c
ethstate.NewState => ethstate.New
10 years ago
obscuren
1f9894c084
Old code removed and renamed amount to balance
10 years ago
obscuren
32d125131f
Refactored to new state and vm
10 years ago
obscuren
1e8b54abfb
Refactored state, state object and vm
...
* The State and StateObject have been moved to their own package
* The VM is moved to it's own package
10 years ago
obscuren
93261b98c2
Changed iterator
10 years ago
obscuren
90f63657cb
Removed debug log
10 years ago
obscuren
0415e4a637
Fixed coinbase copy in state
10 years ago
obscuren
ed3424ff75
Trie fixes
10 years ago
obscuren
50bc838047
Moved checks
10 years ago
obscuren
5b2e5d180f
Changed diff output not to prefix hex with 0x
10 years ago
obscuren
9010857677
Special diff output for execution
10 years ago
obscuren
04561c4ddc
Updated VM & added helper methods to state
...
* VM BALANCE opcode updated to pop 1 item and use that to retrieve the
address' balance
* GetBalance and GetNonce on state that'll always return something valid
10 years ago
obscuren
b7ff773ecf
Removed debug log
10 years ago
obscuren
e504088b79
Consensus and bug fixes
...
* Ensure that each state object has an address that is 20 bytes
* Byte logging for vm
* changed diff output
10 years ago
obscuren
14d13167a7
Remove debug println
10 years ago
obscuren
b01cb2406f
Fixed state reset case
10 years ago
obscuren
d40cba3042
changed state reset
10 years ago
obscuren
8baa0f84e7
Fixed reverting error
10 years ago
obscuren
2f9bc2ab75
Removed old code
11 years ago
obscuren
00d3935aac
Removed old method
11 years ago
obscuren
92693e4459
The dragon has been slain. Consensus reached!
11 years ago
obscuren
ed276cd7c2
Added Paranoia check for VM execution
11 years ago
zelig
dabaa4cce0
change all modified calls to ethtrie, ethutil and ethcrypto functions
11 years ago
zelig
707d413761
refactor ethutil/trie to ethtrie
11 years ago
zelig
b9e8a3e024
modified logging API
...
- package vars for tagged loggers
- weed out spurious fmt.PrintX and log.PrintX logging
- tried to second guess loglevel for some :)
11 years ago
obscuren
0b8ba1d55b
Renamed snapshot to copy/set and added it back to the VM
11 years ago
obscuren
731f55a05d
Reset state when a transition fails
11 years ago
obscuren
34c8045d5b
Fixed issue where JUMPI would do an equally check with 1 instead of GT
11 years ago
obscuren
3621988e15
Removed deprecated states
11 years ago
obscuren
53e30f750d
Removal of manual updating of state objects
...
* You'll only ever need to update the state by calling Update. Update
will take care of the updating of it's child state objects.
11 years ago
obscuren
02d8ad030f
Keeping old code for reference
11 years ago