protocol-complex

command
v0.0.0-...-737687b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2019 License: MIT Imports: 27 Imported by: 0

README

sample pss protocol

support for "mutable resources" is broken due to change to swarm feeds API. needs fix

This example illustrates how to implement a protocol of some complexity using pss.

The sim.go driver implements the protocol on a normal devp2p connection using the simulations framework.

The sim_pss.go driver implements the same protocol on over pss using the simulations framework.

The main.go and main_pss.go files are respective standalone binaries .

Files in service/ and protocol/ implement the protocol itself, and are shared between both drivers. The pss and swarm specific code is isolated to bzz/. This way, the extra implmentation needed for pss is hopefully clear.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL