- Oct 02, 2015
-
-
Jeffrey Wilcke authored
eth/downloader: match capabilities when querying idle peers
-
Jeffrey Wilcke authored
core: deadlock in chainmanager after posting RemovedTransactionEvent
-
Péter Szilágyi authored
-
Jeffrey Wilcke authored
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.
-
- Oct 01, 2015
-
-
Jeffrey Wilcke authored
core, trie: new trie
-
Jeffrey Wilcke authored
common: fix #1818, secondary datadir paths to fall back to
-
Péter Szilágyi authored
-
- Sep 30, 2015
-
-
Jeffrey Wilcke authored
p2p/discover: fix race involving the seed node iterator
-
Felix Lange authored
The strict matching can get in the way of protocol upgrades.
-
Felix Lange authored
-
Felix Lange authored
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 authored
xeth: fixed nil pointer of filter retrieval
-
- Sep 29, 2015
-
-
Jeffrey Wilcke authored
core: fix a formatting loop in BadHashError
-
Péter Szilágyi authored
-
- Sep 25, 2015
-
-
Jeffrey Wilcke authored
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 authored
eth/downloader: always send termination wakes, clean leftover
-
- Sep 23, 2015
-
-
Jeffrey Wilcke authored
core: Add BadHashErr and test for BadHashes handling
-
Jeffrey Wilcke authored
VERSION: added version
-
Jeffrey Wilcke authored
-
Felix Lange authored
rpc/api: don't crash for unknown blocks
-
Péter Szilágyi authored
-
Jeffrey Wilcke authored
tests: add test for StateTests/stCallCodes.json
-
- Sep 22, 2015
-
-
Felix Lange authored
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 authored
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 authored
-
Felix Lange authored
-
Felix Lange authored
-
Felix Lange authored
-
Gustav Simonsson authored
-
- Sep 21, 2015
-
-
Jeffrey Wilcke authored
makefile: built in cross compilation targets
-
Jeffrey Wilcke authored
core, xeth: chain reorg move missing transactions to transaction pool
-
Péter Szilágyi authored
-
Jeffrey Wilcke authored
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
-
Jeffrey Wilcke authored
Changed the version number of geth to 1.2.0 so that dev builds are now properly build (instead of master). Note to self; increase version number to 1.2.1 for our next actual release.
-
Jeffrey Wilcke authored
core: separate and contain POW verifier, extensive tests
-
Gustav Simonsson authored
-
Péter Szilágyi authored
-
- Sep 18, 2015
-
-
Jeffrey Wilcke authored
tests: update common test wrappers and test files
-
Jeffrey Wilcke authored
core: transaction nonce recovery
-
Gustav Simonsson authored
-