go-ethereum/swarm/network
nolash d5daa9a323 swarm/network: event feed/websockets pss msg notification
Adds pub/sub of incoming Pss messages using event.Feed,
and a websockets interface for pss send and notifications
through persistent connection using rpc.notifier.

Websocket RPC are started automatically on the swarm executable
if the --pss flag is present. If more instances are to be run,
alternate ws ports can be specified with the --pssport flag.

Current implementation also includes a shallow builtin ping/pong handler
with topic "pss" and version 1, to simplify POCs and testing against pss.
This will eventually be removed, so no code should be made dependent on it.
2017-05-06 14:25:00 +01:00
..
simulations swarm/network: Trigger simulations checks on peer events 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: Trigger simulations checks on peer events 2017-05-06 14:25:00 +01:00
hive_test.go p2p/simulations: Get peer events via RPC 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: event feed/websockets pss msg notification 2017-05-06 14:25:00 +01:00
pss_test.go swarm/network: event feed/websockets pss msg notification 2017-05-06 14:25:00 +01:00
pssapi.go swarm/network: event feed/websockets pss msg notification 2017-05-06 14:25:00 +01:00
test_overlay.go swarm/network: pss 0.1 2017-05-06 14:25:00 +01:00