go-pulse/core
Felix Lange 9be5d5cd90 eth/downloader: fix negative balance issue in tests
The test chain generated by makeChainFork included invalid uncle
headers, crashing the generator during the state commit.

The headers were invalid because they used the iteration counter as the
block number, even though makeChainFork uses a block with number > 0 as
the parent. Fix this by introducing BlockGen.Number, which allows
accessing the actual number of the block being generated.
2015-12-18 12:09:10 +01:00
..
state Merge pull request #1889 from karalabe/fast-sync-rebase 2015-10-21 11:44:22 -07:00
types rpc: new RPC implementation with pub/sub support 2015-12-14 16:34:05 +01:00
vm rpc: new RPC implementation with pub/sub support 2015-12-14 16:34:05 +01:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
asm.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
bad_block.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
bench_test.go core, eth, rpc: split out block validator and state processor 2015-11-18 14:24:42 +01:00
block_validator_test.go cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks 2015-11-27 11:06:12 +02:00
block_validator.go core, eth, rpc: split out block validator and state processor 2015-11-18 14:24:42 +01:00
blockchain_test.go core: added a new RemovedLogEvent 2015-12-01 12:12:30 +01:00
blockchain.go core: write individual transactions and receipts too on fast sync 2015-12-04 15:30:59 +02:00
blocks.go remove 0x 2015-08-20 18:50:47 +02:00
canary.go canary update 2015-08-20 18:38:21 +02:00
chain_makers_test.go core, eth, rpc: split out block validator and state processor 2015-11-18 14:24:42 +01:00
chain_makers.go eth/downloader: fix negative balance issue in tests 2015-12-18 12:09:10 +01:00
chain_pow_test.go core, eth: receipt chain reconstruction 2015-10-19 10:03:09 +03:00
chain_pow.go core: separate and contain POW verifier, extensive tests 2015-09-21 10:24:49 +03:00
database_util_test.go core, eth, miner, xeth: clean up tx/receipt db accessors 2015-11-19 16:03:32 +02:00
database_util.go core, eth, miner, xeth: clean up tx/receipt db accessors 2015-11-19 16:03:32 +02:00
default_genesis.go cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks 2015-11-27 11:06:12 +02:00
error.go Merge pull request #1889 from karalabe/fast-sync-rebase 2015-10-21 11:44:22 -07:00
events.go core: added a new RemovedLogEvent 2015-12-01 12:12:30 +01:00
execution.go core, core/vm, cmd/evm: remove redundant balance check 2015-10-06 12:42:34 +02:00
fees.go Merge pull request #1515 from fjl/license-fixes 2015-07-28 04:29:42 -07:00
filter_test.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
gaspool.go core, eth, rpc: split out block validator and state processor 2015-11-18 14:24:42 +01:00
genesis.go cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks 2015-11-27 11:06:12 +02:00
helper_test.go cmd/geth, cmd/utils, core, rpc: renamed to blockchain 2015-10-04 01:13:56 +02:00
state_processor.go core, eth, rpc: split out block validator and state processor 2015-11-18 14:24:42 +01:00
state_transition.go core, core/state: move gas tracking out of core/state 2015-10-17 10:24:34 +02:00
transaction_pool_test.go core: tx pool skip price validation for "owned" transactions 2015-12-16 03:21:17 +01:00
transaction_pool.go core: tx pool skip price validation for "owned" transactions 2015-12-16 03:21:17 +01:00
types.go core, eth, rpc: split out block validator and state processor 2015-11-18 14:24:42 +01:00
vm_env.go core, tests: get_hash fix 2015-10-21 02:31:46 +02:00