Jeffrey Wilcke
184e9ae9a8
core, tests: reduced state copy by N calls
...
Reduced the amount of state copied that are required by N calls by doing
a balance check prior to any state modifications.
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
ea54283b30
all: update license information
9 years ago
Gustav Simonsson
4c490db6af
Use uint64 for block header timestamp
9 years ago
Felix Lange
1d42888d30
core/types: make blocks immutable
9 years ago
obscuren
38c61f6f25
core, core/vm: added structure logging
...
This also reduces the time required spend in the VM
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
3b7e4173ce
Cleanup VM
10 years ago
obscuren
ff9d66e096
Cleaned up changes
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
0fa7859b94
Fixed VM & Tests w/ conversion
10 years ago
Felix Lange
17c5ba2b6b
core: actually convert transaction pool
10 years ago
obscuren
515d9432fc
converted vm
10 years ago
obscuren
94505146a2
updated vm env
10 years ago
obscuren
8ccde784f9
Added (disabled) Jit validation
10 years ago
obscuren
ca1b2a1a91
Changed prev_hash to block_hash, state transition now uses vm env
...
* PREVHASH => BLOCKHASH( N )
* State transition object uses VMEnv as it's query interface
* Updated vm.Enviroment has GetHash( n ) for BLOCKHASH instruction
* Added GetHash to xeth, core, utils & test environments
10 years ago
obscuren
4dc7ee9087
Closure => Context
10 years ago
obscuren
4cd79d8ddd
Refactored block & Transaction
...
* Includes new rlp decoder
10 years ago
obscuren
59ef6e3693
Cleaned up objects
10 years ago
obscuren
db494170dc
Created generic message (easy for testing)
10 years ago
obscuren
3043b233ea
Log is now interface
10 years ago
obscuren
f298ffdbb8
Renamed State => StateDB
10 years ago
obscuren
9008b155d3
Renamed `chain` => `core`
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
a1b6a9ac29
Begin of moving objects to types package
...
* Block(s)
* Transaction(s)
10 years ago
obscuren
6c9e503eb8
Removed all implicit logging. Fixed gas issues and jump errors
10 years ago
obscuren
af8f5f0b69
ethstate => state
10 years ago
obscuren
3ee0461cb5
Moved ethchain to chain
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
272d58662c
Implemented LOG. Closes #159
10 years ago
obscuren
29b8a0bc5f
Updated the VM & VM tests
...
* Stack Error shouldn't revert to previous state
* Updated VM Test tool
* Added Transfer method to VM Env
10 years ago
obscuren
93fcabd251
Fixed most of the tests
10 years ago
obscuren
a760ce05b9
Updated chain for filtering
10 years ago
obscuren
cbd71ef8f5
Add Tx
10 years ago
obscuren
32d125131f
Refactored to new state and vm
10 years ago