- 14 4月, 2015 3 次提交
- 13 4月, 2015 8 次提交
-
-
由 obscuren 提交于
-
由 Jeffrey Wilcke 提交于
blockpool stability fixes:
-
由 Jeffrey Wilcke 提交于
Added blockchain DB versioning support, closes #650
-
由 Jeffrey Wilcke 提交于
Add transaction tests
-
由 obscuren 提交于
When a parent is missing in the block list an attempt should be made to fetch the missing parent and grandparents.
-
由 zelig 提交于
- 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
-
由 Felix Lange 提交于
Whisper cleanup, part 1
-
由 Bas van Kervel 提交于
-
- 12 4月, 2015 4 次提交
-
-
由 obscuren 提交于
If a peer was somehow already fetching and somehow managed to end up in the `available` pool it should return it's work.
-
由 Péter Szilágyi 提交于
-
由 obscuren 提交于
-
由 obscuren 提交于
-
- 11 4月, 2015 7 次提交
-
-
由 Jeffrey Wilcke 提交于
bugfixes for headsection deadlocks
-
由 zelig 提交于
- switchC initialised as closed - move select in setChainInfoFromBlock out of peer lock
-
由 obscuren 提交于
-
由 obscuren 提交于
-
由 obscuren 提交于
-
由 obscuren 提交于
-
由 Jeffrey Wilcke 提交于
td update from node + bugfix
-
- 10 4月, 2015 18 次提交
-
-
由 obscuren 提交于
-
由 Jeffrey Wilcke 提交于
p2p: a bunch of fixes
-
由 obscuren 提交于
-
由 zelig 提交于
- reorg and simplify AddBlock - introduce nodeCache - TestPeerPromotionByTdOnBlock unskipped and passes - move switchC/idleC channel creation around: solves deadlock (now respects the contract with section process: either can activate or complete at any one time)
-
由 Felix Lange 提交于
This is supposed to apply some back pressure so Server is not accepting more connections than it can actually handle. The current limit is 50. This doesn't really need to be configurable, but we'll see how it behaves in our test nodes and adjust accordingly.
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
As of this commit, p2p will disconnect nodes directly after the encryption handshake if too many peer connections are active. Errors in the protocol handshake packet are now handled more politely by sending a disconnect packet before closing the connection.
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
Bugs fixed: - Use randomly generated flags as the spec required. - During envelope opening check the first bit only for signature.
-
由 Felix Lange 提交于
netWrapper already sets a read deadline in ReadMsg.
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
There were multiple synchronization issues in the disconnect handling, all caused by the odd special-casing of Peer.readLoop errors. Remove the special handling of read errors and make readLoop part of the Peer WaitGroup. Thanks to @Gustav-Simonsson for pointing at arrows in a diagram and playing rubber-duck.
-
由 Felix Lange 提交于
This commit introduces a new (temporary) peer selection strategy based on random lookups. While we're here, also implement the TODOs in dialLoop.
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
-
由 Péter Szilágyi 提交于
-
由 Péter Szilágyi 提交于
-