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
11 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
obscuren
8198fd7913
Cache whole objects instead of states only
11 years ago
obscuren
aba3066658
Changed debug hook and added state iterator
11 years ago
obscuren
3ebd7f1166
State snapshotting
11 years ago
obscuren
3c35ba7c31
Fixed state overwriting issue
11 years ago
obscuren
64701e388c
Fixed state issue
11 years ago
obscuren
fd19142c0d
No longer store script directly in the state tree
11 years ago
obscuren
afe83af219
Moved seeding and moved manifest
11 years ago
obscuren
5a0bae1dae
Auto update state changes notifications
11 years ago
obscuren
16e52327a4
Upped version number
11 years ago
obscuren
1c85d8c66b
Minor improvements and bug fixes
...
* Fixed VM base bug
11 years ago
obscuren
9c6aca7893
Merged accounts and contracts in to StateObject
...
* Account removed
* Contract removed
* Address state changed to CachedStateObject
* Added StateObject
11 years ago
obscuren
6a86c517c4
Removed old VM code
11 years ago
obscuren
f567f89b99
Added address to account and contract
...
Contract and account now both have an address field or method for the
sake of simplicity.
11 years ago
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.
11 years ago
obscuren
c17381b853
Moved code around
11 years ago
obscuren
826c827e6b
Added a copy method to state
11 years ago
obscuren
92f2abdf76
Partially refactored server/txpool/block manager/block chain
...
The Ethereum structure now complies to a EthManager interface which is
being used by the tx pool, block manager and block chain in order to
gain access to each other. It's become simpeler.
TODO: BlockManager => StateManager
11 years ago
obscuren
9d492b0509
Renamed Address to Account
11 years ago
obscuren
bfed1c7cac
Trie's are no longer referenced directly but through State instead
11 years ago
obscuren
d65b4cd0dd
Updated block to use state instead of trie directly
11 years ago
obscuren
377c995103
Separated the VM from the block manager and added states
11 years ago