- 09 10月, 2015 2 次提交
-
-
由 Jeffrey Wilcke 提交于
core, core/vm, cmd/evm: remove redundant balance check
-
由 Jeffrey Wilcke 提交于
crypto: correct sig validation, add missing unit tests of exported functions
-
- 07 10月, 2015 2 次提交
-
-
由 Jeffrey Wilcke 提交于
console/history respect datadir
-
由 Jeffrey Wilcke 提交于
core: fix #1848, block receipts db entry for the genesis too
-
- 06 10月, 2015 4 次提交
-
-
由 Gustav Simonsson 提交于
-
由 Jeffrey Wilcke 提交于
cmd/geth: dev version number
-
由 Jeffrey Wilcke 提交于
-
由 Jeffrey Wilcke 提交于
core: fixed head write on block insertion
-
- 05 10月, 2015 2 次提交
-
-
由 Jeffrey Wilcke 提交于
Due to a rebase this probably got overlooked / ignored. This fixes the issue of a block insertion never writing the last block.
-
由 Jeffrey Wilcke 提交于
core, core/vm: refactor
-
- 04 10月, 2015 2 次提交
-
-
由 Jeffrey Wilcke 提交于
* Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted.
-
由 Jeffrey Wilcke 提交于
* 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`.
-
- 03 10月, 2015 1 次提交
-
-
由 Jeffrey Wilcke 提交于
Moved the filtering system from `event` to `eth/filters` package and removed the `core.Filter` object. The `filters.Filter` object now requires a `common.Database` rather than a `eth.Backend` and invokes the `core.GetBlockByX` directly rather than thru a "manager".
-
- 02 10月, 2015 4 次提交
-
-
由 Jeffrey Wilcke 提交于
eth/downloader: match capabilities when querying idle peers
-
由 Jeffrey Wilcke 提交于
core: deadlock in chainmanager after posting RemovedTransactionEvent
-
由 Péter Szilágyi 提交于
-
由 Jeffrey Wilcke 提交于
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.
-
- 01 10月, 2015 3 次提交
-
-
由 Jeffrey Wilcke 提交于
core, trie: new trie
-
由 Jeffrey Wilcke 提交于
common: fix #1818, secondary datadir paths to fall back to
-
由 Péter Szilágyi 提交于
-
- 30 9月, 2015 5 次提交
-
-
由 Jeffrey Wilcke 提交于
p2p/discover: fix race involving the seed node iterator
-
由 Felix Lange 提交于
The strict matching can get in the way of protocol upgrades.
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
nodeDB.querySeeds was not safe for concurrent use but could be called concurrenty on multiple goroutines in the following case: - the table was empty - a timed refresh started - a lookup was started and initiated refresh These conditions are unlikely to coincide during normal use, but are much more likely to occur all at once when the user's machine just woke from sleep. The root cause of the issue is that querySeeds reused the same leveldb iterator until it was exhausted. This commit moves the refresh scheduling logic into its own goroutine (so only one refresh is ever active) and changes querySeeds to not use a persistent iterator. The seed node selection is now more random and ignores nodes that have not been contacted in the last 5 days.
-
由 Jeffrey Wilcke 提交于
xeth: fixed nil pointer of filter retrieval
-
- 29 9月, 2015 2 次提交
-
-
由 Jeffrey Wilcke 提交于
core: fix a formatting loop in BadHashError
-
由 Péter Szilágyi 提交于
-
- 25 9月, 2015 4 次提交
-
-
由 Jeffrey Wilcke 提交于
This fix addresses an issue with filters that were (possibly) not yet added to the filter queues but were expected. I've added additional nil checks making sure it doesn't crash and swapped the installation of the filter around so it's installed before use. Closes #1665
-
由 Jeffrey Wilcke 提交于
eth/downloader: always send termination wakes, clean leftover
-
由 Bas van Kervel 提交于
-
由 Péter Szilágyi 提交于
-
- 24 9月, 2015 1 次提交
-
-
由 Jeffrey Wilcke 提交于
core: Add BadHashErr and test for BadHashes handling
-
- 23 9月, 2015 8 次提交
-
-
由 Jeffrey Wilcke 提交于
VERSION: added version
-
由 Jeffrey Wilcke 提交于
-
由 Felix Lange 提交于
rpc/api: don't crash for unknown blocks
-
由 Péter Szilágyi 提交于
-
由 Jeffrey Wilcke 提交于
tests: add test for StateTests/stCallCodes.json
-
由 Felix Lange 提交于
Most eth RPC calls that work with blocks crashed when the block was not found because they called Hash on a nil block. This is a regression introduced in cdc2662c (#1779). While here, remove the insane conversions in get*CountBy*. There is no need to construct a complete BlockRes and converting int->int64->*big.Int->[]byte->hexnum->string to format the length of a slice as hex.
-
由 Felix Lange 提交于
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.
-
由 Felix Lange 提交于
-