Commit Graph

689 Commits (236147bf70a9e52eaba748bdfe61bb600db4dcac)

Author SHA1 Message Date
Felix Lange 32a9c0ca80 p2p: bump devp2p protcol version to 3 10 years ago
Felix Lange fd3e1061e0 p2p: handle disconnect before protocol handshake 10 years ago
Felix Lange cf754b9483 p2p/discover: fix race in ListenUDP 10 years ago
Felix Lange 5cc1256fd6 p2p: ensure we don't dial ourself 10 years ago
Felix Lange 7101f44998 p2p: add I/O timeout for encrytion handshake 10 years ago
Felix Lange 22ee366ed6 p2p: fix goroutine leak for invalid peers 10 years ago
Felix Lange 5110f80bba p2p: improve read deadlines 10 years ago
Felix Lange 170eb3ac68 p2p/discover: map listening port using configured mechanism 10 years ago
Felix Lange 82f0bd9009 p2p/discover: code review fixes 10 years ago
Felix Lange d0a2e655c9 cmd/ethereum, cmd/mist, eth, p2p: use package p2p/nat 10 years ago
Felix Lange 1543833ca0 p2p/nat: new package for port mapping stuff 10 years ago
Taylor Gerring db24fb792c Move standard fields to LogEvent 10 years ago
Taylor Gerring d53e5646ec Use strongly-typed objects 10 years ago
Felix Lange 9915d3c3be p2p/discover: deflake UDP tests 10 years ago
Felix Lange 028775a086 cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodes 10 years ago
Felix Lange 2cf4fed11b cmd/mist, eth, javascript, p2p: use Node URLs for peer suggestions 10 years ago
Felix Lange e34d134102 p2p: fixes for actual connections 10 years ago
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