- 17 4月, 2015 1 次提交
-
-
由 Felix Lange 提交于
The dial timer was not reset properly when the peer count reached MaxPeers.
-
- 14 4月, 2015 1 次提交
-
-
由 obscuren 提交于
-
- 13 4月, 2015 1 次提交
-
-
由 Felix Lange 提交于
removePeer can be called even after listenLoop and dialLoop have returned.
-
- 10 4月, 2015 5 次提交
-
-
由 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.
-
由 Felix Lange 提交于
-
由 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.
-
- 07 4月, 2015 1 次提交
-
-
由 obscuren 提交于
-
- 19 3月, 2015 1 次提交
-
-
由 Felix Lange 提交于
Message encoding functions have been renamed to catch any uses. The switch to the new encoder can cause subtle incompatibilities. If there are any users outside of our tree, they will at least be alerted that there was a change. NewMsg no longer exists. The replacements for EncodeMsg are called Send and SendItems.
-
- 16 3月, 2015 1 次提交
-
-
由 obscuren 提交于
-
- 15 3月, 2015 1 次提交
-
-
由 zelig 提交于
-
- 12 3月, 2015 1 次提交
-
-
由 Taylor Gerring 提交于
-
- 10 3月, 2015 1 次提交
-
-
由 Taylor Gerring 提交于
-
- 04 3月, 2015 4 次提交
-
-
由 Felix Lange 提交于
It is unused and untested right now. We can bring it back later if required.
-
由 Felix Lange 提交于
They got lost in the transition to rlpxFrameRW.
-
由 Felix Lange 提交于
With RLPx frames, the message code is contained in the frame and is no longer part of the encoded data. EncodeMsg, Msg.Decode have been updated to match. Code that decodes RLP directly from Msg.Payload will need to change.
-
由 Felix Lange 提交于
-
- 03 3月, 2015 1 次提交
-
-
由 Taylor Gerring 提交于
-
- 20 2月, 2015 2 次提交
-
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
-
- 19 2月, 2015 1 次提交
-
-
由 Felix Lange 提交于
The diff is a bit bigger than expected because the protocol handshake logic has moved out of Peer. This is necessary because the protocol handshake will have custom framing in the final protocol.
-
- 15 2月, 2015 1 次提交
-
-
由 obscuren 提交于
-
- 13 2月, 2015 5 次提交
-
-
由 Felix Lange 提交于
addPeer doesn't allow self connects, but we can avoid opening connections in the first place.
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
The deflect logic called Disconnect on the peer, but the peer never ran and wouldn't process the disconnect request.
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
This deletes the old NAT implementation.
-
- 12 2月, 2015 1 次提交
-
-
由 Taylor Gerring 提交于
-
- 11 2月, 2015 1 次提交
-
-
由 Taylor Gerring 提交于
-
- 07 2月, 2015 4 次提交
-
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
The unit test hooks were turned on 'in production'.
-
由 Felix Lange 提交于
The discovery RPC protocol does not yet distinguish TCP and UDP ports. But it can't hurt to do so in our internal model.
-
- 06 2月, 2015 1 次提交
-
-
由 Felix Lange 提交于
Overview of changes: - ClientIdentity has been removed, use discover.NodeID - Server now requires a private key to be set (instead of public key) - Server performs the encryption handshake before launching Peer - Dial logic takes peers from discover table - Encryption handshake code has been cleaned up a bit - baseProtocol is gone because we don't exchange peers anymore - Some parts of baseProtocol have moved into Peer instead
-
- 22 1月, 2015 1 次提交
-
-
由 Taylor Gerring 提交于
-
- 19 1月, 2015 1 次提交
-
-
由 obscuren 提交于
-
- 06 1月, 2015 1 次提交
-
-
由 obscuren 提交于
-
- 16 12月, 2014 1 次提交
-
-
由 Felix Lange 提交于
-
- 15 12月, 2014 1 次提交
-
-
由 obscuren 提交于
-