aboutsummaryrefslogtreecommitdiffstats
path: root/core/state
Commit message (Collapse)AuthorAgeFilesLines
* core/state, core, miner: handle missing root error from state.NewGustav Simonsson2015-10-163-9/+9
|
* cmd, core, eth: added official testnetJeffrey Wilcke2015-10-091-0/+5
|
* cmd/evm, core/vm, test: refactored VM and coreJeffrey Wilcke2015-10-042-80/+27
| | | | | | | | | | | | | | | | | * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * core/vm: byte code VM moved to jump table instead of switch * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * Byte code VM now shares the same code as the JITVM * Renamed Context to Contract * Changed initialiser of state transition & unexported methods * Removed the Execution object and refactor `Call`, `CallCode` & `Create` in to their own functions instead of being methods. * Removed the hard dep on the state for the VM. The VM now depends on a Database interface returned by the environment. In the process the core now depends less on the statedb by usage of the env * Moved `Log` from package `core/state` to package `core/vm`.
* core, core/state: batch-based state syncFelix Lange2015-09-233-51/+46
|
* core, trie: new trieFelix Lange2015-09-232-14/+25
|
* all: move common.Database to package ethdbFelix Lange2015-09-152-5/+7
|
* core, core/vm, core/state: remove unused functionsGustav Simonsson2015-09-112-64/+0
|
* core/state: test formatting adhering to Go conventionGustav Simonsson2015-09-091-17/+17
|
* core/state: deleted field in StateObject Copy() and unit testGustav Simonsson2015-09-082-0/+105
|
* core, tests: Double SUICIDE fixJeffrey Wilcke2015-08-212-9/+12
|
* core/state: Set log index. Closes #1226Jeffrey Wilcke2015-07-291-0/+5
|
* all: fix license headers one more timeFelix Lange2015-07-249-9/+9
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-239-36/+36
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: add some godoc synopsis commentsFelix Lange2015-07-071-0/+1
|
* all: update license informationFelix Lange2015-07-079-0/+144
|
* core, miner, tests: renamed state methodsJeffrey Wilcke2015-07-042-3/+5
| | | | | | | | | | | | * 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.
* core, core/state: only write necessary state. Skip intermediateJeffrey Wilcke2015-07-042-10/+20
|
* core, miner, xeth: renamed gas methodsobscuren2015-06-211-16/+3
| | | | | | * BuyGas => SubGas * RefundGas => AddGas * SetGasPool => SetGasLimit
* core/state: removed trie copyobscuren2015-06-171-1/+1
|
* core/state: removed state from state objectobscuren2015-06-173-31/+20
|
* core/state: fixed state testsobscuren2015-06-171-13/+10
|
* core/state: remove the need for common.Valueobscuren2015-06-171-2/+4
|
* core/state, core/vm: reworked storage get / set to use common.Hashobscuren2015-06-172-32/+25
|
* core/state, core/vm: cleanup refundsobscuren2015-06-171-14/+8
|
* core/vm, core/state: added storage to structured vm loggingobscuren2015-06-101-0/+16
|
* core, xeth: moved nonce management burden from xeth to txpoolobscuren2015-06-101-1/+1
|
* core: fixed an issue with storing receiptsobscuren2015-05-281-7/+14
|
* solidity compiler and contract metadocs integrationzelig2015-05-071-0/+3
| | | | | | | | | | | | | * common/compiler: solidity compiler + tests * rpc: eth_compilers, eth_compileSolidity + tests * fix natspec test using keystore API, notice exp dynamically changes addr, cleanup * resolver implements registrars and needs to create reg contract (temp) * xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath) * ethereumApi: implement compiler related RPC calls using XEth - json struct tests * admin: make use of XEth.SetSolc to allow runtime setting of compiler paths * cli: command line flags solc to set custom solc bin path * js admin api with new features debug and contractInfo modules * wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions
* core: removed nonce resetting from the block processor.obscuren2015-04-211-0/+1
| | | | All nonce error handling has been moved to the worker
* state: fixed mutex lockesobscuren2015-04-141-2/+14
|
* state: fixed nonce issue in managed stateobscuren2015-04-141-2/+2
| | | | Rlock => Lock when creating a new nonce
* Moved handling of nonces to the managed stateobscuren2015-04-092-5/+8
|
* Improved transaction poolobscuren2015-04-091-8/+4
| | | | | | | | | | 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
* Changed how logs are being recordedobscuren2015-04-082-81/+49
| | | | | | | 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.
* Added additional methods to the managed stateobscuren2015-04-082-2/+44
| | | | | * GetNonce Returns the canonical nonce * SetNonce Set the managed account's nonce
* Moved logging to logger.Coreobscuren2015-04-042-5/+5
|
* basic glogobscuren2015-04-042-7/+16
|
* glog wipobscuren2015-04-031-1/+4
|
* Removed old (unused) argumentobscuren2015-04-022-2/+2
|
* fixed testsobscuren2015-04-011-1/+1
|
* Blocktest fixed, Execution fixedobscuren2015-04-011-26/+42
| | | | | | * Added new CreateAccount method which properly overwrites previous accounts (excluding balance) * Fixed block tests (100% success)
* Secure trie shakey / key matchingobscuren2015-03-241-4/+4
|
* moved state and vm to coreobscuren2015-03-239-0/+1159