- 13 Apr, 2015 2 commits
-
-
Jeffrey Wilcke authored
Add transaction tests
-
Felix Lange authored
Whisper cleanup, part 1
-
- 12 Apr, 2015 1 commit
-
-
Péter Szilágyi authored
-
- 11 Apr, 2015 2 commits
-
-
Jeffrey Wilcke authored
bugfixes for headsection deadlocks
-
zelig authored
- switchC initialised as closed - move select in setChainInfoFromBlock out of peer lock
-
- 10 Apr, 2015 32 commits
-
-
obscuren authored
-
obscuren authored
-
obscuren authored
-
obscuren authored
-
Jeffrey Wilcke authored
td update from node + bugfix
-
obscuren authored
-
Jeffrey Wilcke authored
p2p: a bunch of fixes
-
obscuren authored
-
zelig authored
- 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 authored
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 authored
-
Felix Lange authored
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 authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
Bugs fixed: - Use randomly generated flags as the spec required. - During envelope opening check the first bit only for signature.
-
Felix Lange authored
netWrapper already sets a read deadline in ReadMsg.
-
Felix Lange authored
-
Felix Lange authored
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 authored
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 authored
-
Felix Lange authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Gustav Simonsson authored
-
Gustav Simonsson authored
-
Gustav Simonsson authored
* Add initial go wrapping for TransactionTests with some tests disabled in lieu of consistent HEX encodings and a few other pending bugfixes * TODO: Consider better way of perhaps modelling each test in the JSON files as a single Go test, instead of one Go test per JSON file
-
Gustav Simonsson authored
-
obscuren authored
-
obscuren authored
-
Jeffrey Wilcke authored
xeth: fix #640, panic converting nil recipient to hex.
-
Péter Szilágyi authored
-
Péter Szilágyi authored
Fetching the recipient address from a transaction was changed to return nil instead of a zero-address, but this code path was not updated, so whenever a contract was created, a nil panic occured.
-
- 09 Apr, 2015 3 commits
-
-
Jeffrey Wilcke authored
bugfix as a result of PR 671
-
Bas van Kervel authored
-
obscuren authored
-