Versions in this module Expand all Collapse all v0 v0.2.0 Mar 13, 2019 v0.1.0 Jul 23, 2018 Changes in this version + const BlockTopicName + const TxTopicName + type Gossip interface + AddBlockListener func() chan *pb.Header + Close func() error + ListenBlock func(ctx context.Context, processBlock func(*pb.Block) error, ...) error + ListenTx func(ctx context.Context, processTx func(*pb.Transaction) error) error + PublishBlock func(block *pb.Block) error + PublishTx func(tx *pb.Transaction) error + func NewGossip(h host.Host, p *floodsub.PubSub, s state.Reader, c chain.Reader, ...) Gossip