go-ethereum/swarm/network
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
..
simulations swarm/network: Pass p2p.Server to Hive.Start 2017-05-06 14:25:00 +01:00
discovery.go swarm/network: pss 0.1 2017-05-06 14:25:00 +01:00
discovery_test.go all: Fix logging 2017-05-06 14:23:39 +01:00
hive.go swarm/network: pss 0.1 2017-05-06 14:25:00 +01:00
hive_test.go swarm/network: pss 0.1 2017-05-06 14:25:00 +01:00
kademlia.go swarm/network: pss 0.1 2017-05-06 14:25:00 +01:00
kademlia_test.go all: Fix logging 2017-05-06 14:23:39 +01:00
protocol.go all: Fix logging 2017-05-06 14:23:39 +01:00
protocol_test.go all: Fix logging 2017-05-06 14:23:39 +01:00
pss.go swarm/network: pss 0.1 2017-05-06 14:25:00 +01:00
pss_test.go swarm/network: pss 0.1 2017-05-06 14:25:00 +01:00
test_overlay.go swarm/network: pss 0.1 2017-05-06 14:25:00 +01:00