Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDposNetwork ¶
func NewDposNetwork(pid peer.PID, listener manager.NetworkEventListener, dposAccount account.DposAccount) (*dposNetwork, error)
Types ¶
type Arbitrator ¶
type Arbitrator interface {
interfaces.NewBlocksListener
interfaces.ArbitratorsListener
protocol.TxnPoolListener
Start()
Stop() error
}
func NewArbitrator ¶
func NewArbitrator(password []byte, arConfig ArbitratorConfig) (Arbitrator, error)
type ArbitratorConfig ¶
type ArbitratorConfig struct {
EnableEventLog bool
EnableEventRecord bool
Store interfaces.IDposStore
}
Click to show internal directories.
Click to hide internal directories.