Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |