Documentation ¶
Index ¶
- func NewNode(opts ...order.Option) (order.Order, error)
- type MempoolConfig
- type Node
- func (n *Node) Commit() chan *pb.CommitEvent
- func (n *Node) DelNode(delID uint64) error
- func (n *Node) GetPendingNonceByAccount(account string) uint64
- func (n *Node) Prepare(tx *pb.Transaction) error
- func (n *Node) Quorum() uint64
- func (n *Node) Ready() error
- func (n *Node) ReportState(height uint64, blockHash *types.Hash, txHashList []*types.Hash)
- func (n *Node) Start() error
- func (n *Node) Step(msg []byte) error
- func (n *Node) Stop()
- type SOLO
- type SOLOConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MempoolConfig ¶ added in v1.4.0
type Node ¶
func (*Node) Commit ¶
func (n *Node) Commit() chan *pb.CommitEvent
func (*Node) GetPendingNonceByAccount ¶ added in v1.0.1
func (*Node) ReportState ¶
type SOLO ¶ added in v1.4.0
type SOLO struct { BatchTimeout time.Duration `mapstructure:"batch_timeout"` MempoolConfig MempoolConfig `mapstructure:"mempool"` }
type SOLOConfig ¶ added in v1.4.0
type SOLOConfig struct {
SOLO SOLO
}
Click to show internal directories.
Click to hide internal directories.