Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Finder ¶
type Finder interface { Start(p2p p2p.Server) error Stop() Info() interface{} SetListener(listener Listener) }
Finder to find snapshot block producers, and connect to them
type Informer ¶
type Informer interface { SubscribeProducers(gid types.Gid, id string, fn func(event consensus.ProducersEvent)) UnSubscribe(gid types.Gid, id string) }
Informer tell me who are super block producers
type Listener ¶
Click to show internal directories.
Click to hide internal directories.