obscuren
db4aaedcbd
Moved ptrie => trie. Removed old trie
10 years ago
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
10 years ago
obscuren
780abaec98
Switched to new trie
10 years ago
obscuren
f298ffdbb8
Renamed State => StateDB
10 years ago
obscuren
99853ac3ce
Moved execution from vm to chain.
...
This moves call and create to the specified environments. Vms are no
longer re-used. Vm uses environment's Call(Code) and Create in order to
execute new contracts or transfer value between accounts.
State transition now uses the same mechanism described above.
10 years ago
obscuren
6dc46d3341
Changed the way transactions are being added to the transaction pool
10 years ago
obscuren
e70529a977
Added new iterator and tests
10 years ago
obscuren
14e2e488fd
Added `chain` tests & minor fixes
...
* Fork tests (equal and larger chains)
* `chain.link` fields are now exported
* moved debug function from state to dump.go
10 years ago
obscuren
60cdb1148c
Transaction execution fixes
10 years ago
obscuren
f76f953f0c
Removed debug print
10 years ago
obscuren
a82b89e2d5
Added storage root to dump
10 years ago
obscuren
76c9c8d653
Compress data on db level. Closes #174
10 years ago
obscuren
af34749a6b
ethtrie => trie
10 years ago
obscuren
af8f5f0b69
ethstate => state
10 years ago
obscuren
fd9da72536
ethcrypto => crypto
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
9d86a49a73
Renamed Sha3Bin to Sha3
10 years ago
obscuren
33a0dec8a1
Improved catching up and refactored
10 years ago
obscuren
d91357d00c
Added GetCode method
10 years ago
obscuren
3f904bf3ac
Implemented POST
10 years ago
obscuren
03ce15df4c
ethstate.NewState => ethstate.New
10 years ago
obscuren
3debeb7236
ethtrie.NewTrie => ethtrie.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
490ca410c0
Minor improvements and fixes to the new vm structure
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
16f6100500
Removed debug log
11 years ago
obscuren
0415e4a637
Fixed coinbase copy in state
11 years ago
obscuren
ed3424ff75
Trie fixes
11 years ago
obscuren
7a410643ac
Added/changed logging
11 years ago
obscuren
50bc838047
Moved checks
11 years ago
obscuren
5a0c4ce295
Fixed "Copy" to also copy over the pending storage changes
11 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
11 years ago
obscuren
b01cb2406f
Fixed state reset case
11 years ago
Joey Zhou
7c41e413e4
typo, duplications
11 years ago
obscuren
8baa0f84e7
Fixed reverting error
11 years ago
obscuren
00d3935aac
Removed old method
11 years ago
zelig
ff5703fd9b
ethutil -> ethtrie.NewTrie
11 years ago
obscuren
8ddd4c4c52
wip
11 years ago
zelig
dabaa4cce0
change all modified calls to ethtrie, ethutil and ethcrypto functions
11 years ago
zelig
a02edf7a93
put back extra debug detail logging to the right places using logger.DebugDetailf
11 years ago
obscuren
16e8fc7427
Logging order
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
803e4807ed
Removed comments
11 years ago
obscuren
7fb5e993e3
Moved 0 check to state object for now
11 years ago
obscuren
6fcc6a2f7c
Changed copy/set
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