obscuren
310ca62285
Removed some of that gas pre pay magic
10 years ago
obscuren
19efebe91e
Updated tests and fixed suicide
10 years ago
obscuren
b909a5ec18
Trie => SecureTrie
10 years ago
obscuren
e235b57234
Fixed consensus issue for refunding
...
* Refund should _always_ go to the origin
10 years ago
obscuren
37e6870f64
wip
10 years ago
obscuren
ea9a549bbd
Removed exported fields from state object and added proper set/getters
10 years ago
obscuren
d8ac267f41
dirty tracking for state objects fixed
10 years ago
obscuren
fa4cbad315
Optimisations and fixed a couple of DDOS issues in the miner
10 years ago
obscuren
c14071df9d
Reset storage cache after sync
10 years ago
obscuren
2c454863f2
Use new rlp (TODO requires some refactoring)
10 years ago
obscuren
54927dc0e0
Fixed issue with Storage()
...
* Storage() returned encoded values. They are now decode prior to hexing
* Removed old code from state object
* Updated coin
10 years ago
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
10 years ago
obscuren
0415e4a637
Fixed coinbase copy in state
10 years ago
obscuren
ed3424ff75
Trie fixes
10 years ago
obscuren
7a410643ac
Added/changed logging
10 years ago
obscuren
50bc838047
Moved checks
10 years ago
obscuren
5a0c4ce295
Fixed "Copy" to also copy over the pending storage changes
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
b01cb2406f
Fixed state reset case
10 years ago
Joey Zhou
7c41e413e4
typo, duplications
11 years ago
obscuren
8baa0f84e7
Fixed reverting error
11 years ago