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
...
The unit test hooks were turned on 'in production'.
10 years ago
Felix Lange
8564eb9f7e
p2p/discover: add node URL functions, distinguish TCP/UDP ports
...
The discovery RPC protocol does not yet distinguish TCP and UDP ports.
But it can't hurt to do so in our internal model.
10 years ago
Felix Lange
5bdc115943
p2p: integrate p2p/discover
...
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
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
obscuren
6abf8ef78f
Merge
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
59b63caf5e
p2p: API cleanup and PoC 7 compatibility
...
Whoa, one more big commit. I didn't manage to untangle the
changes while working towards compatibility.
10 years ago
Felix Lange
f38052c499
p2p: rework protocol API
10 years ago
Felix Lange
f3473312ba
all: fix rename breakage
10 years ago
zelig
771fbcc02e
initial commit of p2p package
10 years ago