Commit Graph

264 Commits (d55fc35df1ca4996048625421d4c475a437d273e)

Author SHA1 Message Date
Felix Lange 8564eb9f7e p2p/discover: add node URL functions, distinguish TCP/UDP ports 10 years ago
Felix Lange 5bdc115943 p2p: integrate p2p/discover 10 years ago
Felix Lange 739066ec56 p2p/discover: add some helper functions 10 years ago
Felix Lange 12224c7f59 p2p/discover: new package implementing the Node Discovery Protocol 10 years ago
zelig 2e48d39fc7 key generation abstracted out, for testing with deterministic keys 10 years ago
zelig 488a042736 fix clientidentity test after privkey removed 10 years ago
zelig 71765957e4 get rid of Private Key in ClientIdentity 10 years ago
zelig 68205dec9f make crypto handshake calls package level, store privateKey on peer + tests ok 10 years ago
zelig 4499743522 apply handshake related improvements from p2p.crypto branch 10 years ago
zelig 54252ede31 add temporary forced session token generation 10 years ago
zelig faa069a126 peer-level integration test for crypto handshake 10 years ago
zelig 20aade56c3 chop first byte when cryptoid.PubKeyS is set from identity.Pubkey() since this is directly copied in the auth message 10 years ago
zelig 1f2adb05b5 add initial peer level test (failing) 10 years ago
zelig 4afde4e738 add code documentation 10 years ago
zelig 364b783281 changes that fix it all: 10 years ago
zelig 58fc2c679b important fix for peer pubkey. when taken from identity, chop first format byte! 10 years ago
zelig 923504ce3d add equality check for nonce and remote nonce 10 years ago
zelig 2e868566d7 add minor comments to the test 10 years ago
zelig e252c634cb first stab at integrating crypto in our p2p 10 years ago
zelig 1803c65e40 integrate cryptoId into peer and connection lifecycle 10 years ago
zelig 489d956283 completed the test. FAIL now. it crashes at diffie-hellman. ECIES -> secp256k1-go panics 10 years ago
zelig 076c382a74 handshake test to crypto 10 years ago
zelig 3b6385b146 handshake test to crypto 10 years ago
zelig 714b955d6e fix crash 10 years ago
zelig b855f671a5 rewrite to comply with latest spec 10 years ago
zelig 4e52adb84a add crypto auth logic to p2p 10 years ago
zelig d227f6184e fix protocol to accomodate privkey 10 years ago
zelig 88167f39a6 add privkey to clientIdentity + tests 10 years ago
zelig c8a8aa0d43 initial hook for crypto handshake (void, off by default) 10 years ago
obscuren 67f9783e6a Moved `obscuren` secp256k1-go 10 years ago
Taylor Gerring c14900dbb0 Add initial P2P json logs 10 years ago
obscuren 8d1637f567 Moved connection errors to DebugDetail level 10 years ago
Felix Lange 3caa4ad1ba p2p: improve test for peers message 10 years ago
Felix Lange b0ff946b55 p2p: move peerList back into baseProtocol 10 years ago
Felix Lange eb0e7b1b81 eth, p2p: remove EncodeMsg from p2p.MsgWriter 10 years ago
obscuren 6abf8ef78f Merge 10 years ago
obscuren 09841b1c9b Cleaned up some of that util 10 years ago
Felix Lange aa3b91b802 p2p: fix call to Server.removePeer (might help with #209) 10 years ago
obscuren 56dac74f71 made mist in a compilable, workable state using the new refactored packages 10 years ago
Felix Lange da900f9435 p2p: add test for base protocol disconnect 10 years ago
Felix Lange f0f6727778 p2p: use an error type for disconnect requests 10 years ago
Felix Lange 65e39bf20e p2p: add MsgPipe for protocol testing 10 years ago
Felix Lange e28c60caf9 p2p: improve and test eofSignal 10 years ago
Felix Lange 9423401d73 p2p: fix decoding of disconnect reason (fixes #200) 10 years ago
obscuren 1fb84d3c5f Fixed tests 10 years ago
Felix Lange cfd7e74c25 p2p: add test for NewPeer 10 years ago
Felix Lange 3a09459c4c p2p: make Disconnect not hang for peers created with NewPeer 10 years ago
Felix Lange 9b85002b70 p2p: remove Msg.Value and MsgLoop 10 years ago
Felix Lange 6049fcd52a p2p: use package rlp for baseProtocol 10 years ago
Felix Lange c1fca72552 p2p: use package rlp 10 years ago