aboutsummaryrefslogtreecommitdiffstats
path: root/eth/gasprice.go
Commit message (Collapse)AuthorAgeFilesLines
* core, eth, rpc: split out block validator and state processorJeffrey Wilcke2015-11-181-1/+1
| | | | | | | | | | | | This removes the burden on a single object to take care of all validation and state processing. Now instead the validation is done by the `core.BlockValidator` (`types.Validator`) that takes care of both header and uncle validation through the `ValidateBlock` method and state validation through the `ValidateState` method. The state processing is done by a new object `core.StateProcessor` (`types.Processor`) and accepts a new state as input and uses that to process the given block's transactions (and uncles for rewords) to calculate the state root for the next block (P_n + 1).
* eth, xeth: fix GasPriceOracle goroutine leakFelix Lange2015-10-281-49/+58
| | | | | | | | | | | | | XEth.gpo was being initialized as needed. WithState copies the XEth struct including the gpo field. If gpo was nil at the time of the copy and Call or Transact were invoked on it, an additional GPO listenLoop would be spawned. Move the lazy initialization to GasPriceOracle instead so the same GPO instance is shared among all created XEths. Fixes #1317 Might help with #1930
* core, eth, event, miner, xeth: fix event post / subscription racePéter Szilágyi2015-10-121-9/+6
|
* cmd/geth, cmd/utils, core, rpc: renamed to blockchainJeffrey Wilcke2015-10-041-2/+2
| | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted.
* GPO updatezsfelfoldi2015-08-171-10/+13
|
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: update license informationFelix Lange2015-07-071-0/+16
|
* core, eth, rpc: proper gas used. Closes #1417Jeffrey Wilcke2015-07-071-1/+3
| | | | Added some additional backward compatibility code for old receipts
* core, eth, miner, xeth: receipt storage fixJeffrey Wilcke2015-07-041-6/+3
| | | | | * Added GetReceiptsFromBlock, GetReceipt, PutReceipts * Added ContractAddress to receipt. See #1042
* gpo non-existent block checkszsfelfoldi2015-06-301-4/+11
|
* core, eth, rpc: avoid unnecessary block header copyingFelix Lange2015-06-301-6/+6
|
* fixed gas price corr. factorzsfelfoldi2015-06-151-1/+1
|
* fallback for uninitialized GPO config valueszsfelfoldi2015-06-151-0/+3
|
* fixed initial base price bugzsfelfoldi2015-06-151-0/+4
|
* added missing sourcezsfelfoldi2015-06-151-0/+174