Jeffrey Wilcke
ab16ce70fc
core, miner, tests: renamed state methods
...
* Update => SyncIntermediate
* Added SyncObjects
SyncIntermediate only updates whatever has changed, but, as a side
effect, requires much more disk space.
SyncObjects will only sync whatever is required for a block and will not
save intermediate state to disk. As drawback this requires more time
when more txs come in.
10 years ago
Jeffrey Wilcke
08caeedd84
core, core/state: only write necessary state. Skip intermediate
10 years ago
obscuren
bdd63837ea
core/state: removed trie copy
10 years ago
obscuren
aa699a1283
core/state: removed state from state object
10 years ago
obscuren
787a61bb27
core/state, core/vm: reworked storage get / set to use common.Hash
10 years ago
obscuren
5721fcf668
core/state, core/vm: cleanup refunds
10 years ago
obscuren
6184781b49
Improved transaction pool
...
The transaction pool will now some easily be able to pre determine the
validity of a transaction by checking the following:
* Account existst
* gas limit higher than the instrinsic gas
* enough funds to pay upfront costs
* nonce check
10 years ago
obscuren
1c872ddf4b
Changed how logs are being recorded
...
Logs are now recorded per transactions instead of tossing them out after
each transaction. This should also fix an issue with
`eth_getFilterLogs` (#629 ) Also now implemented are the `transactionHash,
blockHash, transactionIndex, logIndex` on logs. Closes #654 .
10 years ago
obscuren
1889727144
Moved logging to logger.Core
10 years ago
obscuren
a0e44e3281
basic glog
10 years ago
obscuren
36452afd4e
glog wip
10 years ago
obscuren
b8124ec791
Removed old (unused) argument
10 years ago
obscuren
0a554a1f27
Blocktest fixed, Execution fixed
...
* Added new CreateAccount method which properly overwrites previous
accounts (excluding balance)
* Fixed block tests (100% success)
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
d7ab716eea
Fixed mkdnode & added some tests
10 years ago
obscuren
8ce6a36478
converted chain manager
10 years ago
obscuren
e620bde405
conversion state
10 years ago
obscuren
f486c0ae56
new type + additional methods
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
347cb272be
fixed ethtest
10 years ago
obscuren
19efebe91e
Updated tests and fixed suicide
10 years ago
obscuren
ee0a1bec6c
GasLimit check updated
10 years ago
obscuren
b909a5ec18
Trie => SecureTrie
10 years ago
obscuren
ac88ae86a3
GetOrNew for accessors. Fixes #404
10 years ago
obscuren
ea9a549bbd
Removed exported fields from state object and added proper set/getters
10 years ago
obscuren
fa4cbad315
Optimisations and fixed a couple of DDOS issues in the miner
10 years ago
obscuren
3f6baa45a7
Documented methods & removed old manifest
10 years ago
obscuren
623469cb6c
Added missing whisper timestamp. Closes #284
10 years ago
obscuren
79cd58bdf3
removed old code
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
1508a23a6f
Minor updates on gas and removed/refactored old code.
10 years ago
obscuren
3325683794
Fixed refund model
10 years ago
obscuren
198cc69357
Gas corrections and vm fixes
10 years ago
obscuren
3043b233ea
Log is now interface
10 years ago
obscuren
f298ffdbb8
Renamed State => StateDB
10 years ago
obscuren
6dc46d3341
Changed the way transactions are being added to the transaction pool
10 years ago
obscuren
c8d0f8adc5
Changed refund
10 years ago
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