Versions in this module Expand all Collapse all v1 v1.0.1 Sep 19, 2019 Changes in this version + type BlockStore interface + Get func(height uint64) ([]byte, bool) + Put func(height uint64, block []byte) error + type Consensus interface + GrpcHandle func(server *grpc.Server) error + type Peer struct + Addrs []multiaddr.Multiaddr + ID string + type Transport interface + AddPeer func(peer Peer) + Connect func(ctx context.Context, remote string) (net.Conn, error) + ID func() string + Listener func() net.Listener + Peer func(id string) Peer + PeerIDs func() []string + RemovePeer func(id string)