Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface { // Configurate will be called on server startup, where the server will pass // its relay channel, which can be used to relay generated blocks and // consensus messages into the network and the private key. Configurate(chan<- *pb.Message, *ecdsa.PrivateKey) // AddTransaction will be called each time the server sees a tx for the // first time. AddTransaction(*pb.Transaction) }
Engine is an interface abstraction for an algorithm agnostic consensus engine.
Click to show internal directories.
Click to hide internal directories.