go-ethereum/p2p
nolash b8bf32bce3 swarm/network: pss 0.1
General:
    - Message encapsulation is temporary until integration with whisper

    Incoming message handling:
    - Implements a dispatcher for registering handler functions to pss topics
    - Handlers can be any sort of function, and can send/receive on p2p.MsgReadWriter
    - Actual p2p.Protocol handling now as pluggable convenience function

Sending and routing:
    - Added temporary cache solution based on message hash digest
    - Send and forward split up as separate methods
    - Send is now payload agnostic (p2p.Protocol replies massaged in p2p.MsgWriter)

Tests:
    - TestPssRandom...
	Sends PSS between randomly selected nodes in different population magnitudes
    - TestPssFullLinearEcho
        A->B->C->B->A ping/pong over pss, where A and C are running pss
    - TestPssFullRandom50Pct
        10 nodes where 5 are running pss, 5 sends to/from random nodes
        (messages currently get stuck in kad. routing, discarded by cache block)
    - Protocoltester tests status unknown
2017-05-06 14:25:00 +01:00
..
adapters p2p/adapters: Use RPC with SimNodes 2017-05-06 14:25:00 +01:00
discover cmd/geth: add --config file flag (#13875) 2017-04-12 17:27:23 +03:00
discv5 cmd/geth: add --config file flag (#13875) 2017-04-12 17:27:23 +03:00
nat p2p, p2p/discover, p2p/nat: rework logging using context keys 2017-02-28 10:20:29 +01:00
netutil cmd/geth: add --config file flag (#13875) 2017-04-12 17:27:23 +03:00
protocols swarm/network: pss 0.1 2017-05-06 14:25:00 +01:00
simulations p2p/adapters: Use RPC with SimNodes 2017-05-06 14:25:00 +01:00
testing swarm/network: pss 0.1 2017-05-06 14:25:00 +01:00
dial.go p2p/adapters: Use RPC with SimNodes 2017-05-06 14:25:00 +01:00
dial_test.go p2p/adapters: Use RPC with SimNodes 2017-05-06 14:25:00 +01:00
message.go swarm/network: peersexchange massaging 2017-05-06 14:23:38 +01:00
message_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
metrics.go eth, metrics, p2p: prepare metrics and net packets to eth/62 2015-08-21 10:30:57 +03:00
peer.go p2p, p2p/discover, p2p/nat: rework logging using context keys 2017-02-28 10:20:29 +01:00
peer_error.go p2p, p2p/discover, p2p/nat: rework logging using context keys 2017-02-28 10:20:29 +01:00
peer_test.go p2p, p2p/discover, p2p/nat: rework logging using context keys 2017-02-28 10:20:29 +01:00
protocol.go eth, p2p, rpc/api: polish protocol info gathering 2015-10-28 12:44:15 +02:00
rlpx.go crypto: add btcec fallback for sign/recover without cgo (#3680) 2017-02-18 09:24:12 +01:00
rlpx_test.go all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() 2016-02-21 22:34:34 +00:00
server.go p2p/adapters: Use RPC with SimNodes 2017-05-06 14:25:00 +01:00
server_test.go p2p/adapters: Use RPC with SimNodes 2017-05-06 14:25:00 +01:00