Documentation
¶
Index ¶
- Constants
- type Node
- func (n *Node) Commit() chan *common.CommitEvent
- func (n *Node) GetLowWatermark() uint64
- func (n *Node) Prepare(tx *types.Transaction) error
- func (n *Node) Quorum() uint64
- func (n *Node) Ready() error
- func (n *Node) ReportState(height uint64, blockHash *types.Hash, txPointerList []*events.TxPointer, ...)
- func (n *Node) Start() error
- func (n *Node) Step([]byte) error
- func (n *Node) Stop()
- func (n *Node) SubmitTxsFromRemote(_ [][]byte) error
- func (n *Node) SubscribeMockBlockEvent(ch chan<- events.ExecutedEvent) event.Subscription
- func (n *Node) SubscribeTxEvent(events chan<- []*types.Transaction) event.Subscription
Constants ¶
View Source
const (
ErrPoolFull = "txpool is full"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
func (*Node) Commit ¶
func (n *Node) Commit() chan *common.CommitEvent
func (*Node) GetLowWatermark ¶
func (*Node) ReportState ¶
func (*Node) SubmitTxsFromRemote ¶
func (*Node) SubscribeMockBlockEvent ¶
func (n *Node) SubscribeMockBlockEvent(ch chan<- events.ExecutedEvent) event.Subscription
func (*Node) SubscribeTxEvent ¶
func (n *Node) SubscribeTxEvent(events chan<- []*types.Transaction) event.Subscription
Click to show internal directories.
Click to hide internal directories.