- 19 2月, 2015 2 次提交
-
-
由 Felix Lange 提交于
This should prevent connection drops.
-
由 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.
-
- 13 2月, 2015 3 次提交
-
-
由 Felix Lange 提交于
For compatibility with cpp-ethereum
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
There are now two deadlines, frameReadTimeout and payloadReadTimeout. The frame timeout is longer and allows for connections that are idle. The message timeout is still short and ensures that we don't get stuck in the middle of a message.
-
- 07 2月, 2015 1 次提交
-
-
由 Felix Lange 提交于
The unit test hooks were turned on 'in production'.
-
- 06 2月, 2015 9 次提交
-
-
由 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
-
由 zelig 提交于
-
由 zelig 提交于
-
由 zelig 提交于
-
由 zelig 提交于
- add const length params for handshake messages - add length check to fail early - add debug logs to help interop testing (!ABSOLUTELY SHOULD BE DELETED LATER) - wrap connection read/writes in error check - add cryptoReady channel in peer to signal when secure session setup is finished - wait for cryptoReady or timeout in TestPeersHandshake
-
由 zelig 提交于
-
由 zelig 提交于
- abstract the entire handshake logic in cryptoId.Run() taking session-relevant parameters - changes in peer to accomodate how the encryption layer would be switched on - modify arguments of handshake components - fixed test getting the wrong pubkey but it till crashes on DH in newSession()
-
由 zelig 提交于
-
由 zelig 提交于
-
- 06 1月, 2015 2 次提交
-
-
由 Felix Lange 提交于
It had been moved to Peer, probably for debugging.
-
由 obscuren 提交于
-
- 12 12月, 2014 1 次提交
-
-
由 Felix Lange 提交于
-
- 27 11月, 2014 1 次提交
-
-
由 Felix Lange 提交于
-
- 22 11月, 2014 2 次提交
-
-
由 Felix Lange 提交于
Whoa, one more big commit. I didn't manage to untangle the changes while working towards compatibility.
-
由 Felix Lange 提交于
-
- 23 10月, 2014 1 次提交
-
-
由 zelig 提交于
-