Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmd/geth, cmd/utils, core, rpc: renamed to blockchain | Jeffrey Wilcke | 2015-10-04 | 1 | -849/+0 |
| | | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted. | ||||
* | core: deadlock in chainmanager after posting RemovedTransactionEvent | Jeffrey Wilcke | 2015-10-02 | 1 | -1/+3 |
| | | | | | | | | This PR solves an issue with the chain manager posting a `RemovedTransactionEvent`, the tx pool will try to acquire the chainmanager lock which has previously been locked prior to posting `RemovedTransactionEvent`. This results in a deadlock in the core. | ||||
* | Merge pull request #1405 from fjl/lean-trie | Jeffrey Wilcke | 2015-10-01 | 1 | -4/+4 |
|\ | | | | | core, trie: new trie | ||||
| * | core, core/state: batch-based state sync | Felix Lange | 2015-09-23 | 1 | -4/+4 |
| | | |||||
* | | core: Add BadHashErr and test for BadHashes handling | Gustav Simonsson | 2015-09-23 | 1 | -1/+1 |
| | | |||||
* | | cmd/geth, core: make "geth blocktest" work again | Felix Lange | 2015-09-23 | 1 | -0/+1 |
|/ | | | | | | | | | The test genesis block was not written properly, block insertion failed immediately. While here, fix the panic when shutting down "geth blocktest" with Ctrl+C. The signal handler is now installed automatically, causing ethereum.Stop to crash because everything is already stopped. | ||||
* | core, core/types: readd transactions after chain re-org | Jeffrey Wilcke | 2015-09-22 | 1 | -28/+32 |
| | | | | | | | | | | | | | | Added a `Difference` method to `types.Transactions` which sets the receiver to the difference of a to b (NOTE: not a **and** b). Transaction pool subscribes to RemovedTransactionEvent adding back to those potential missing from the chain. When a chain re-org occurs remove any transactions that were removed from the canonical chain during the re-org as well as the receipts that were generated in the process. Closes #1746 | ||||
* | core: separate and contain POW verifier, extensive tests | Péter Szilágyi | 2015-09-21 | 1 | -46/+6 |
| | |||||
* | all: move common.Database to package ethdb | Felix Lange | 2015-09-15 | 1 | -2/+3 |
| | |||||
* | core: split out TD from database and all internals | Péter Szilágyi | 2015-09-11 | 1 | -65/+85 |
| | |||||
* | core, eth: split the db blocks into headers and bodies | Péter Szilágyi | 2015-09-11 | 1 | -109/+153 |
| | |||||
* | Add tests for uncle timestamps and refactor timestamp type | Gustav Simonsson | 2015-08-25 | 1 | -1/+2 |
| | |||||
* | core, miner: write miner receipts | Jeffrey Wilcke | 2015-08-19 | 1 | -1/+3 |
| | |||||
* | Merge pull request #1604 from obscuren/db-merge | Jeffrey Wilcke | 2015-08-09 | 1 | -26/+22 |
|\ | | | | | core, eth, trie, xeth: merged state, chain, extra databases in one | ||||
| * | core, eth, trie, xeth: merged state, chain, extra databases in one | Jeffrey Wilcke | 2015-08-08 | 1 | -26/+22 |
| | | |||||
* | | core/vm, tests: implemented semi-jit vm | Jeffrey Wilcke | 2015-08-07 | 1 | -1/+1 |
|/ | | | | * changed stack and removed stack ptr. Let go decide on slice reuse. | ||||
* | Merge pull request #1568 from obscuren/issue-1559 | Jeffrey Wilcke | 2015-08-03 | 1 | -1/+5 |
|\ | | | | | core: added a running flag to prevent panics in the chainmanager | ||||
| * | core: added a running flag to prevent panics in the chainmanager | Jeffrey Wilcke | 2015-08-01 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | The running flag will determine whether the chain manager is still running or not. This will prevent the quit channel from being closed twice resulting in a panic. This PR should fix this issue. Closes #1559 | ||||
* | | core: added default genesis block | Jeffrey Wilcke | 2015-08-02 | 1 | -1/+9 |
|/ | | | | | When a user runs a freshly setup geth w/o a database initialised the default genesis block is decoded and inserted in to the database. | ||||
* | Merge pull request #1515 from fjl/license-fixes | Jeffrey Wilcke | 2015-07-28 | 1 | -1/+1 |
|\ | | | | | all: fix license headers one more time | ||||
| * | all: fix license headers one more time | Felix Lange | 2015-07-24 | 1 | -1/+1 |
| | | | | | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | | cmd/geth, core, eth: Version 1.0.0 | Jeffrey Wilcke | 2015-07-25 | 1 | -7/+1 |
| | | | | | | | | | | | | | | Genesis release. Closes #1402 Conflicts: cmd/geth/main.go | ||||
* | | cmd/core,xeth: removed unneeded states & added batch writes | Jeffrey Wilcke | 2015-07-23 | 1 | -22/+0 |
|/ | |||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 1 | -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". | ||||
* | core: during chain reorg rewrite receipts and transactions | Jeffrey Wilcke | 2015-07-15 | 1 | -0/+7 |
| | | | | | | | | | Added PutBlockReceipts; storing receipts by blocks. Eventually this will require pruning during some cleanup cycle. During forks the receipts by block are used to get the new canonical receipts and transactions. This PR fixes #1473 by rewriting transactions and receipts from the point of where the fork occured. | ||||
* | cmd, core, eth, common: genesis preparation | Jeffrey Wilcke | 2015-07-10 | 1 | -40/+45 |
| | | | | | Implemented the --genesis flag thru which we can set a custom genesis block, including the official Ethereum genesis block. | ||||
* | Use uint64 on ts in chain_manager, block_processor | Gustav Simonsson | 2015-07-08 | 1 | -1/+1 |
| | |||||
* | all: add some godoc synopsis comments | Felix Lange | 2015-07-07 | 1 | -0/+1 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 1 | -0/+16 |
| | |||||
* | core, miner, tests: added test, implemented bad block reporting | Jeffrey Wilcke | 2015-07-05 | 1 | -0/+2 |
| | |||||
* | core, eth, miner, xeth: receipt storage fix | Jeffrey Wilcke | 2015-07-04 | 1 | -1/+1 |
| | | | | | * Added GetReceiptsFromBlock, GetReceipt, PutReceipts * Added ContractAddress to receipt. See #1042 | ||||
* | core, miner: miner header validation, transaction & receipt writing | Jeffrey Wilcke | 2015-07-03 | 1 | -13/+20 |
| | | | | | | | | * Miners do now verify their own header, not their state. * Changed old putTx and putReceipts to be exported * Moved writing of transactions and receipts out of the block processer in to the chain manager. Closes #1386 * Miner post ChainHeadEvent & ChainEvent. Closes #1388 | ||||
* | core, cmd/geth: improved recover functionality | Jeffrey Wilcke | 2015-07-01 | 1 | -80/+6 |
| | | | | | `geth recover` now accepts both hashes and numbers using "#" and no longer requires the ethereum instance. | ||||
* | Merge pull request #1370 from obscuren/force-checkpoint | Jeffrey Wilcke | 2015-07-01 | 1 | -2/+10 |
|\ | | | | | core, cmd/geth: recover by number | ||||
| * | core, cmd/geth: recover by number | Jeffrey Wilcke | 2015-07-01 | 1 | -2/+10 |
| | | |||||
* | | Use uint64 for block header timestamp | Gustav Simonsson | 2015-06-30 | 1 | -1/+1 |
|/ | |||||
* | core: added checkpoint for last block | Jeffrey Wilcke | 2015-06-30 | 1 | -56/+41 |
| | | | | | * Add a checkpoint every X blocks * Removed queued write | ||||
* | core, miner: added queued write to WriteBlock | Jeffrey Wilcke | 2015-06-30 | 1 | -15/+18 |
| | | | | | | | | This fixes an issue with the lru cache not being available when calling WriteBlock. WriteBlock previously always assumed to be called from the InsertChain where the lru cache was always created prior to calling WriteBlock. When being called from the worker this could lead in to a nil pointer exception being thrown and causing database corruption. | ||||
* | cmd/geth: decent error message if metrics are disabled | Péter Szilágyi | 2015-06-30 | 1 | -1/+0 |
| | |||||
* | cmd, core, eth, metrics, p2p: require enabling metrics | Péter Szilágyi | 2015-06-30 | 1 | -1/+2 |
| | |||||
* | core: replaced BlockCache with lru.Cache | Jeffrey Wilcke | 2015-06-30 | 1 | -19/+24 |
| | |||||
* | Merge branch 'miner-broadcast' into core-optimisations-2 | Jeffrey Wilcke | 2015-06-30 | 1 | -43/+67 |
|\ | | | | | | | | | | | Conflicts: core/chain_manager.go miner/worker.go | ||||
| * | core, miner: added write block method & changed mining propagation | Jeffrey Wilcke | 2015-06-29 | 1 | -45/+67 |
| | | |||||
* | | core: fixed tests | Jeffrey Wilcke | 2015-06-30 | 1 | -0/+1 |
| | | |||||
* | | core: removed write's go routine | Jeffrey Wilcke | 2015-06-30 | 1 | -7/+2 |
| | | |||||
* | | core: renamed next to pending & fixed tests | obscuren | 2015-06-30 | 1 | -15/+10 |
| | | |||||
* | | core: reduced cache limit to 256 | obscuren | 2015-06-30 | 1 | -1/+1 |
| | | |||||
* | | core: switched to proper LRU | obscuren | 2015-06-30 | 1 | -9/+6 |
| | | |||||
* | | core: added LRU caching and added batch writing when LDB is used | obscuren | 2015-06-30 | 1 | -21/+81 |
| | | |||||
* | | core, eth, rpc: avoid unnecessary block header copying | Felix Lange | 2015-06-30 | 1 | -3/+3 |
| | | |||||
* | | core: remove superfluous big.Int allocations | Felix Lange | 2015-06-30 | 1 | -21/+3 |
| | | | | | | | | | | With blocks now being immutable, use big.Int values from accessor functions instead of copying their results. | ||||
* | | core/types: make blocks immutable | Felix Lange | 2015-06-30 | 1 | -66/+28 |
|/ | |||||
* | core, eth, eth/fetcher, ethdb: polish metrics gathering a bit | Péter Szilágyi | 2015-06-24 | 1 | -14/+0 |
| | |||||
* | core, ethdb: instrument the block and state db | Péter Szilágyi | 2015-06-24 | 1 | -1/+14 |
| | | | | | Conflicts: ethdb/database.go | ||||
* | cmd/geth, core: impl. percentile reporting, instrument insertions | Péter Szilágyi | 2015-06-24 | 1 | -1/+4 |
| | |||||
* | core, ethdb, trie: validate database errors | obscuren | 2015-06-21 | 1 | -3/+13 |
| | |||||
* | core: moved check for max queue to checkQueue | obscuren | 2015-06-15 | 1 | -10/+2 |
| | | | | | Moved the queue to check to the checkQueue method so no undeeded loops need to be initiated or sorting needs to happen twice. | ||||
* | core: changed interrupt strategy | obscuren | 2015-06-12 | 1 | -102/+101 |
| | | | | | | Removed chain manager's select/channel approach when checking for interrupts. Now using an atomic int32 instead which checked for every block processed. | ||||
* | eth, core: interupt the chain processing on stop | obscuren | 2015-06-12 | 1 | -94/+104 |
| | | | | | Added an additional channel which is used to interupt the chain manager when it's processing blocks. | ||||
* | core: log tx count for each set of blocks we're importing | obscuren | 2015-06-10 | 1 | -1/+4 |
| | |||||
* | core: fix a race condition accessing the gas limit | Péter Szilágyi | 2015-06-10 | 1 | -3/+5 |
| | |||||
* | core: fix a lock annoyance and potential deadlock | Péter Szilágyi | 2015-06-10 | 1 | -4/+9 |
| | |||||
* | core: fix up a deadlock caused by double locking | Péter Szilágyi | 2015-06-09 | 1 | -8/+5 |
| | |||||
* | core: fix data race accessing ChainManager.currentBlock | Péter Szilágyi | 2015-06-09 | 1 | -1/+4 |
| | |||||
* | core: fix data race in accessing ChainManager.td | Péter Szilágyi | 2015-06-09 | 1 | -9/+8 |
| | |||||
* | core: write accounts to statedb. Closes #1210 | obscuren | 2015-06-09 | 1 | -6/+7 |
| | |||||
* | Merge pull request #1193 from tgerring/hotbackup | Jeffrey Wilcke | 2015-06-09 | 1 | -3/+14 |
|\ | | | | | Improve export command | ||||
| * | Export should start with block 0 | Taylor Gerring | 2015-06-06 | 1 | -1/+1 |
| | | |||||
| * | Cleanup | Taylor Gerring | 2015-06-06 | 1 | -2/+1 |
| | | |||||
| * | Allow exporting subset of chain | Taylor Gerring | 2015-06-06 | 1 | -2/+14 |
| | | |||||
* | | core: settable genesis nonce | obscuren | 2015-06-09 | 1 | -9/+15 |
| | | | | | | | | | | | | | | You can set the nonce of the block with `--genesisnonce`. When the genesis nonce changes and it doesn't match with the first block in your database it will fail. A new `datadir` must be given if the nonce of the genesis block changes. | ||||
* | | core: fix the nonce check one more time | Felix Lange | 2015-06-08 | 1 | -3/+3 |
|/ | | | | | The block nonce verification was effectively disabled by a typo. This time, there is an actual test for it. | ||||
* | wip | obscuren | 2015-06-05 | 1 | -2/+10 |
| | |||||
* | core, eth, miner: moved nonce management to tx pool. | obscuren | 2015-06-04 | 1 | -20/+1 |
| | | | | | | | | Removed the managed tx state from the chain manager to the transaction pool where it's much easier to keep track of nonces (and manage them). The transaction pool now also uses the queue and pending txs differently where queued txs are now moved over to the pending queue (i.e. txs ready for processing and propagation). | ||||
* | wip | obscuren | 2015-06-04 | 1 | -2/+3 |
| | |||||
* | core: insert less length zero chains | Felix Lange | 2015-06-01 | 1 | -4/+5 |
| | | | | This reduces the amount of queueEvents that are sent internally. | ||||
* | core: re-add parallel nonce checks | Felix Lange | 2015-06-01 | 1 | -63/+44 |
| | | | | | In this incancation, the processor waits until the nonce has been verified before handling the block. | ||||
* | Merge pull request #1155 from karalabe/fix-chainmanager-datarace | Felix Lange | 2015-05-30 | 1 | -2/+2 |
|\ | | | | | core: fix #1154, sort out data race accessing the future blocks | ||||
| * | core: fix #1154, sort out data race accessing the future blocks | Péter Szilágyi | 2015-05-30 | 1 | -2/+2 |
| | | |||||
* | | core: moved guards | obscuren | 2015-05-29 | 1 | -9/+8 |
| | | |||||
* | | core: log block hash during nonce error | obscuren | 2015-05-28 | 1 | -2/+2 |
| | | |||||
* | | core: partially removed nonce parallelisation and added merge error chk | obscuren | 2015-05-28 | 1 | -24/+56 |
|/ | | | | | | | Invalid forks are now detected Current setup of parellelisation actually inserts bad blocks. This fix is tmp until a better one is found | ||||
* | core, eth/downloader: expose the bad hashes, check in downloader | Péter Szilágyi | 2015-05-28 | 1 | -1/+1 |
| | |||||
* | core: adjust gas calculation | obscuren | 2015-05-27 | 1 | -0/+1 |
| | |||||
* | core: check negative value transactions. Closes #1109 | obscuren | 2015-05-27 | 1 | -1/+1 |
| | |||||
* | core: prevent crash when last block fails | obscuren | 2015-05-26 | 1 | -6/+16 |
| | |||||
* | core: disable cash tmp | obscuren | 2015-05-19 | 1 | -3/+5 |
| | |||||
* | core: chain manager no longer exports genesis block | obscuren | 2015-05-19 | 1 | -2/+2 |
| | |||||
* | core: parallelise nonce checking when processing blocks | obscuren | 2015-05-18 | 1 | -6/+83 |
| | | | | | | ChainManager now uses a parallel approach to block processing where all nonces are checked seperatly from the block processing process. This speeds up the process by about 3 times on my i7 | ||||
* | core: global chain insert lock | obscuren | 2015-05-17 | 1 | -44/+43 |
| | |||||
* | core, miner: fork resolving and restart miner after sync op | obscuren | 2015-05-16 | 1 | -7/+15 |
| | | | | Fork resolving fixes #940 | ||||
* | core: fixed mining strategy | obscuren | 2015-05-15 | 1 | -9/+15 |
| | |||||
* | core: changed how head events are checked | obscuren | 2015-05-15 | 1 | -2/+2 |
| | |||||
* | core: changed log message for forks. closes #952 | obscuren | 2015-05-14 | 1 | -11/+13 |
| | |||||
* | solidity compiler and contract metadocs integration | zelig | 2015-05-07 | 1 | -3/+2 |
| | | | | | | | | | | | | | * 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 | ||||
* | Add genesis block total difficulty in tests | Gustav Simonsson | 2015-05-07 | 1 | -0/+1 |
| | |||||
* | core: added unix timestamp to debug output for block proc | obscuren | 2015-05-04 | 1 | -1/+1 |
| | |||||
* | core: print ignored blocks | obscuren | 2015-05-03 | 1 | -1/+1 |
| | |||||
* | eth,core: changed NewTicker to Tick | obscuren | 2015-05-03 | 1 | -2/+2 |
| | |||||
* | core: added 'ignored' status | obscuren | 2015-05-01 | 1 | -2/+3 |
| | |||||
* | core: added a wait group to chain manager for graceful shutdown | obscuren | 2015-04-30 | 1 | -0/+8 |
| | |||||
* | core: check for parent in calc TD. TD = (N != 0 == parent.TD) || (== D) | obscuren | 2015-04-30 | 1 | -0/+4 |
| | |||||
* | core, eth: verify td of received blocks | obscuren | 2015-04-30 | 1 | -2/+4 |
| | |||||
* | core: added some additional chain tests for shortest chain | obscuren | 2015-04-30 | 1 | -1/+1 |
| | |||||
* | core: return the index of the block that failed when inserting a chain | obscuren | 2015-04-29 | 1 | -3/+5 |
| | |||||
* | core: fixed chain reorg during splits | obscuren | 2015-04-29 | 1 | -26/+32 |
| | | | | | | | | | | | | | | Chain reorgs weren't properly handled when a chain was further ahead. Previously we'd end up with mixed chains in our canonical numbering sequence. Added test for this type of forking. ``` /-o-o-o A o-C-+ \-o-o-o-o B ``` Ends up with with C A1, A2, A3, B4 | ||||
* | core: seperated proccing mutex and getting mutex | obscuren | 2015-04-29 | 1 | -41/+47 |
| | |||||
* | core: moved mutex locks in insert blocks to start of function | obscuren | 2015-04-29 | 1 | -41/+40 |
| | | | | | Insert blocks will no longer allow processing of multiple chains at the same time. The block lock has been moved to start of the function. | ||||
* | core: set min gas price at startup | obscuren | 2015-04-29 | 1 | -10/+10 |
| | |||||
* | core, miner: added value check on tx validation | obscuren | 2015-04-26 | 1 | -7/+3 |
| | | | | | | * Changed CalcGasLimit to no longer need current block * Added a gas * price + value on tx validation * Transactions in the pool are now re-validated once every X | ||||
* | xeth, core, cmd/utils: Transaction can not be over block gas limit | obscuren | 2015-04-24 | 1 | -11/+18 |
| | | | | Transactions will be invalidated when the tx.gas_limit > block.gas_limit | ||||
* | Moved leveldb update loop to eth/backend | Bas van Kervel | 2015-04-23 | 1 | -5/+5 |
| | | | | | | change order of block insert and update LastBlock bugfix, wrong hash stored in blockDb | ||||
* | core: set the state for the managed tx state | obscuren | 2015-04-23 | 1 | -1/+1 |
| | | | | | Set the state for the managed tx state instead of creating a new managed state. | ||||
* | core: shuffled some code | obscuren | 2015-04-21 | 1 | -7/+13 |
| | |||||
* | core: force block process & fixed chain manager test | obscuren | 2015-04-20 | 1 | -1/+6 |
| | |||||
* | core: added chain reset mechanism on bad blocks | obscuren | 2015-04-20 | 1 | -12/+23 |
| | |||||
* | core: added chain head reset to known block | obscuren | 2015-04-20 | 1 | -0/+24 |
| | |||||
* | core: moved TD calculation from proc to chain | obscuren | 2015-04-20 | 1 | -5/+6 |
| | |||||
* | cleanup | obscuren | 2015-04-19 | 1 | -3/+2 |
| | |||||
* | core: merge using equal block numbers rather than the current block | obscuren | 2015-04-19 | 1 | -1/+7 |
| | |||||
* | core: changed split detection to also account for number less than | obscuren | 2015-04-16 | 1 | -1/+2 |
| | |||||
* | core: during split properly insert parent blocks | obscuren | 2015-04-14 | 1 | -1/+32 |
| | | | | | | | During a split parent and grand parent were included in the database but not in the canonical chain (numbered chain). Added a `merge` function which finds the common ancestor of the chains and reinserts the missing blocks. | ||||
* | Merge pull request #702 from ethersphere/frontier/blockpool | Jeffrey Wilcke | 2015-04-13 | 1 | -0/+1 |
|\ | | | | | blockpool stability fixes: | ||||
| * | blockpool stability fixes: | zelig | 2015-04-13 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | - follow up locks and fix them - chainManager: call SetQueued for parentErr future blocks, uncomment TD checks, unskip test - make ErrIncorrectTD non-fatal to be forgiving to genuine mistaken nodes (temp) but demote them to guard against stuck best peers. - add purging to bounded nodeCache (config nodeCacheSize) - use nodeCache when creating blockpool entries and let non-best peers add blocks (performance boost) - minor error in addError - reduce idleBestPeerTimeout to 1 minute - correct status counts and unskip status passing status test - glogified logging | ||||
* | | Added blockchain DB versioning support, closes #650 | Bas van Kervel | 2015-04-13 | 1 | -2/+5 |
|/ | |||||
* | Merge branch 'frontier/blockpool' of ↵ | obscuren | 2015-04-09 | 1 | -0/+1 |
|\ | | | | | | | https://github.com/ethersphere/go-ethereum into ethersphere-frontier/blockpool | ||||
| * | future queued block support | zelig | 2015-04-09 | 1 | -0/+1 |
| | | | | | | | | | | | | | | - queued bool // flag for blockpool to skip TD check - set to true when future block queued - in checkTD: skip check if queued - TODO: add test (insertchain sets future block) | ||||
* | | Added default registrar | obscuren | 2015-04-09 | 1 | -9/+1 |
|/ | |||||
* | Updated logging | obscuren | 2015-04-07 | 1 | -5/+5 |
| | |||||
* | Block header changed & console miner control | obscuren | 2015-04-06 | 1 | -1/+1 |
| | | | | | | * miner control moved to `admin.miner` * miner option to set extra data * block extra now bytes | ||||
* | time lapse | obscuren | 2015-04-05 | 1 | -1/+3 |
| | |||||
* | Updated logging | obscuren | 2015-04-05 | 1 | -8/+18 |
| | |||||
* | Added thread safe each | obscuren | 2015-04-05 | 1 | -4/+4 |
| | |||||
* | Removed debugging | obscuren | 2015-04-05 | 1 | -7/+0 |
| | |||||
* | prevent deadlock | obscuren | 2015-04-05 | 1 | -13/+6 |
| | |||||
* | Improved chain manager, improved block processor, fixed tests | obscuren | 2015-04-04 | 1 | -5/+40 |
| | | | | | | * ChainManager allows cached future blocks for later processing * BlockProcessor allows a 4 second window on future blocks * Fixed tests | ||||
* | Changed log to new logging | obscuren | 2015-04-04 | 1 | -5/+9 |
| | |||||
* | check for nil block (tmp). | obscuren | 2015-04-04 | 1 | -0/+3 |
| | | | | @zelig this needs to be addressed in the block pool. | ||||
* | basic glog | obscuren | 2015-04-04 | 1 | -0/+10 |
| | |||||
* | do not include BlockEqualTS as valid uncles | obscuren | 2015-04-03 | 1 | -1/+2 |
| | |||||
* | Read most protocol params from common/params.json | Gustav Simonsson | 2015-04-02 | 1 | -8/+6 |
| | | | | | | | | | * Add params package with exported variables generated from github.com/ethereum/common/blob/master/params.json * Use params package variables in applicable places * Add check for minimum gas limit in validation of block's gas limit * Remove common/params.json from go-ethereum to avoid outdated version of it | ||||
* | fixed tests | obscuren | 2015-03-24 | 1 | -1/+1 |
| | |||||
* | Copy fix | obscuren | 2015-03-24 | 1 | -1/+1 |
| | |||||
* | better block propagation | obscuren | 2015-03-24 | 1 | -2/+2 |
| | |||||
* | moved state and vm to core | obscuren | 2015-03-23 | 1 | -1/+1 |
| | |||||
* | moved to error | obscuren | 2015-03-23 | 1 | -9/+2 |
| | |||||
* | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-03-23 | 1 | -2/+4 |
|\ | |||||
| * | Correct difficulty calculation to use new difficulty minimum | Gustav Simonsson | 2015-03-23 | 1 | -2/+4 |
| | | |||||
* | | logging for possible uncles | obscuren | 2015-03-23 | 1 | -0/+5 |
| | | |||||
* | | added some nil checks for cache (testing specific) | obscuren | 2015-03-23 | 1 | -6/+19 |
|/ | |||||
* | Added caching for block chain. Currently set to 10k | obscuren | 2015-03-20 | 1 | -1/+19 |
| | |||||
* | :-) | obscuren | 2015-03-20 | 1 | -1/+0 |
| | |||||
* | merge | obscuren | 2015-03-19 | 1 | -9/+7 |
|\ | |||||
| * | re-enabled json logging | obscuren | 2015-03-19 | 1 | -2/+0 |
| | | |||||
| * | fixed chain event. Closes #529 | obscuren | 2015-03-19 | 1 | -5/+5 |
| | | |||||
* | | Merge branch 'conversion' of github.com-obscure:ethereum/go-ethereum into ↵ | obscuren | 2015-03-18 | 1 | -15/+12 |
|\ \ | | | | | | | | | | conversion | ||||
| * | | core: use package rlp to encode blocks | Felix Lange | 2015-03-18 | 1 | -15/+12 |
| | | | | | | | | | | | | | | | This also changes the chain export format so there is no enclosing list around the blocks, which enables streaming export. | ||||
* | | | prep template for fixed size hashes | obscuren | 2015-03-18 | 1 | -2/+2 |
|/ / | |||||
* / | converted chain manager | obscuren | 2015-03-17 | 1 | -21/+27 |
|/ | |||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 1 | -18/+18 |
| | |||||
* | typo | obscuren | 2015-03-14 | 1 | -1/+1 |
| | |||||
* | Improved errors. Closes #475 | obscuren | 2015-03-14 | 1 | -2/+2 |
| | |||||
* | GetBlockByNumber now properly looks for a number in the database | obscuren | 2015-03-14 | 1 | -28/+33 |
| | |||||
* | Return proper error | obscuren | 2015-03-14 | 1 | -0/+2 |
| | |||||
* | Implemented a manage state for keeping track of nonces | obscuren | 2015-03-13 | 1 | -5/+6 |
| | |||||
* | Increased genesis gas & gas floor limit to 3141592 | obscuren | 2015-03-13 | 1 | -3/+1 |
| | |||||
* | fallback | obscuren | 2015-03-11 | 1 | -0/+2 |
| | |||||
* | merge | obscuren | 2015-03-08 | 1 | -8/+6 |
|\ | |||||
| * | Added eth.chain.new_head | Taylor Gerring | 2015-03-06 | 1 | -2/+9 |
| | | |||||
* | | Separated block db from state db. Partial fix for #416 | obscuren | 2015-03-07 | 1 | -15/+16 |
| | | |||||
* | | Queued approach to delivering chain events | obscuren | 2015-03-06 | 1 | -34/+73 |
| | | |||||
* | | debug comments & pow handling | obscuren | 2015-03-06 | 1 | -5/+0 |
| | | |||||
* | | Merge pull request #426 from Gustav-Simonsson/add_blockchain_tests | Jeffrey Wilcke | 2015-03-06 | 1 | -0/+15 |
|\ \ | | | | | | | Add initial implementation of block tests | ||||
| * | | Add initial implementation of block tests | Gustav Simonsson | 2015-03-05 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | | | * Add blocktest cmd and support for block tests files in tests/BlockTests , the launched node does not connect to network, resets state with a genesis block from the test file and starts the RPC API | ||||
* | | | Miner fixes and updates (including miner) | obscuren | 2015-03-05 | 1 | -9/+19 |
|/ / | |||||
* | | uncle validation | obscuren | 2015-03-04 | 1 | -6/+6 |
| | | |||||
* | | Changed nonce to a uint64 | obscuren | 2015-03-04 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'jsonlogs' of https://github.com/ethersphere/go-ethereum into ↵ | obscuren | 2015-03-04 | 1 | -3/+12 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ethersphere-jsonlogs Conflicts: eth/block_pool.go eth/block_pool_test.go eth/protocol_test.go miner/worker.go | ||||
| * | | add eth.chain.new_head log to core/chain_manager | zelig | 2015-03-03 | 1 | -3/+12 |
| |/ | |||||
* / | New gas prices model | obscuren | 2015-03-02 | 1 | -4/+6 |
|/ | |||||
* | Merge branch 'master' into develop | obscuren | 2015-02-24 | 1 | -4/+26 |
|\ | |||||
| * | Properly uninstall filters. Mining issue fixed #closes #365 | obscuren | 2015-02-23 | 1 | -4/+26 |
| | | | | | | | | | | | | * Added an additional tx state which is used to get the current nonce * Refresh transient state each time a new canonical block is found * Properly uninstall filters. Fixes a possible crash in RPC | ||||
* | | removed log | obscuren | 2015-02-24 | 1 | -1/+0 |
|/ | |||||
* | Minor updates for release | obscuren | 2015-02-21 | 1 | -1/+2 |
| | |||||
* | Fixed chain event issue | obscuren | 2015-02-20 | 1 | -3/+1 |
| | |||||
* | fixed merge | obscuren | 2015-02-20 | 1 | -6/+3 |
|\ | |||||
* | | dirty tracking for state objects fixed | obscuren | 2015-02-20 | 1 | -1/+1 |
| | | |||||
* | | Optimisations and fixed a couple of DDOS issues in the miner | obscuren | 2015-02-20 | 1 | -5/+20 |
|/ | |||||
* | Added GetBlock GetUncle with OOB guard | obscuren | 2015-02-18 | 1 | -8/+8 |
| | |||||
* | Changed to ChainEvent and fixed a nil pointer in transact | obscuren | 2015-02-18 | 1 | -2/+0 |
| | |||||
* | Filter and mutex locks added | obscuren | 2015-02-17 | 1 | -1/+12 |
| | |||||
* | Removed reference to lastBlockNumber & LastBlockNumber | obscuren | 2015-02-16 | 1 | -21/+5 |
| | |||||
* | Resolved some bugs in the miner | obscuren | 2015-02-15 | 1 | -1/+1 |
| | | | | | | * TODO nonce error sometimes persists * Fixed mining on wrong blocks * Fixed state error & receipt fail | ||||
* | Reference pointer to block instead of pointer to function | obscuren | 2015-02-15 | 1 | -1/+1 |
| | |||||
* | Basic structure miner | obscuren | 2015-02-10 | 1 | -1/+10 |
| | |||||
* | Filtering | obscuren | 2015-02-05 | 1 | -2/+1 |
| | |||||
* | changed lost key | obscuren | 2015-01-29 | 1 | -1/+7 |
| | |||||
* | Fixed difficulty | obscuren | 2015-01-18 | 1 | -5/+4 |
| | | | | Difficulty was broken when refactored. | ||||
* | Moved the TD method from block processor. | obscuren | 2015-01-10 | 1 | -1/+15 |
| | |||||
* | mem fixes for vm. Changed uncle inclusion tests | obscuren | 2015-01-10 | 1 | -0/+22 |
| | |||||
* | Merge remote-tracking branch 'upstream/develop' into develop | zelig | 2015-01-09 | 1 | -2/+2 |
|\ | |||||
| * | Minor fixed and additions for block proc | obscuren | 2015-01-08 | 1 | -2/+2 |
| | | | | | | | | | | | | * Path check length * Genesis include TD * Output TD on last block | ||||
* | | GetBlockHashesFromHash(hash, max) gives back max hashes starting from PARENT ↵ | zelig | 2015-01-09 | 1 | -3/+1 |
|/ | | | | of hash | ||||
* | Refactored ethutil.Config.Db out | obscuren | 2015-01-07 | 1 | -16/+13 |
| | |||||
* | Adjusted difficulty and skip get tx messages | obscuren | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Changed prev_hash to block_hash, state transition now uses vm env | obscuren | 2015-01-04 | 1 | -8/+8 |
| | | | | | | | * 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 | ||||
* | Closure => Context | obscuren | 2015-01-02 | 1 | -20/+0 |
| | |||||
* | Added a query interface for world state | obscuren | 2015-01-02 | 1 | -0/+9 |
| | |||||
* | Set TD to block once processed | obscuren | 2015-01-02 | 1 | -0/+1 |
| | |||||
* | Delete current chain for reset | obscuren | 2014-12-23 | 1 | -0/+4 |
| | |||||
* | Chain importer | obscuren | 2014-12-23 | 1 | -5/+0 |
| | |||||
* | Refactored block & Transaction | obscuren | 2014-12-23 | 1 | -59/+75 |
| | | | | * Includes new rlp decoder | ||||
* | Merge fixes | obscuren | 2014-12-18 | 1 | -1/+4 |
| | |||||
* | Merged develop | obscuren | 2014-12-18 | 1 | -37/+83 |
|\ | |||||
| * | Updated to new methods | obscuren | 2014-12-18 | 1 | -0/+7 |
| | | |||||
| * | Locks, refactor, tests | obscuren | 2014-12-18 | 1 | -37/+76 |
| | | | | | | | | | | | | * Added additional chain tests * Added proper mutex' on chain * Removed ethereum dependencies | ||||
* | | Merge branch 'develop' into poc8 | obscuren | 2014-12-18 | 1 | -1/+10 |
|\| | |||||
| * | moved err check | obscuren | 2014-12-17 | 1 | -1/+10 |
| | | |||||
* | | resolve merge conflict hell | zelig | 2014-12-15 | 1 | -4/+0 |
| | | |||||
* | | adapt chain_manager to eth protocol interface | zelig | 2014-12-15 | 1 | -0/+4 |
| | | | | | | | | | | - add Status() to return td, currentblock hash, genesis hash - GetChainHashesFromHash -> GetBlockHashesFromHash | ||||
* | | add Status to retrieve TD, currentBlock, genesis for easy interface with ↵ | zelig | 2014-12-15 | 1 | -1/+5 |
|/ | | | | eth/protocol | ||||
* | moved interfaces | obscuren | 2014-12-11 | 1 | -0/+2 |
| | |||||
* | states moved to chain | obscuren | 2014-12-11 | 1 | -0/+13 |
| | |||||
* | upped proto version and modified block pool | obscuren | 2014-12-05 | 1 | -9/+15 |
| | |||||
* | Only set TD if it's actually higher | obscuren | 2014-12-04 | 1 | -1/+4 |
| | |||||
* | Renamed `chain` => `core` | obscuren | 2014-12-04 | 1 | -0/+276 |