Documentation ¶
Index ¶
- type GetAccountNonceFunc
- type NodeDev
- func (n *NodeDev) Commit() chan *common.CommitEvent
- func (n *NodeDev) DelNode(_ uint64) error
- func (n *NodeDev) GetAccountPoolMeta(account string, full bool) *common.AccountMeta
- func (n *NodeDev) GetLowWatermark() uint64
- func (n *NodeDev) GetPendingTxByHash(_ *types.Hash) *types.Transaction
- func (n *NodeDev) GetPendingTxCountByAccount(account string) uint64
- func (n *NodeDev) GetPoolMeta(full bool) *common.Meta
- func (n *NodeDev) GetTotalPendingTxCount() uint64
- func (n *NodeDev) Prepare(tx *types.Transaction) error
- func (n *NodeDev) Quorum() uint64
- func (n *NodeDev) Ready() error
- func (n *NodeDev) ReportState(height uint64, blockHash *types.Hash, txPointerList []*events.TxPointer, ...)
- func (n *NodeDev) Start() error
- func (n *NodeDev) Step(_ []byte) error
- func (n *NodeDev) Stop()
- func (n *NodeDev) SubmitTxsFromRemote(_ [][]byte) error
- func (n *NodeDev) SubscribeMockBlockEvent(ch chan<- events.ExecutedEvent) event.Subscription
- func (n *NodeDev) SubscribeTxEvent(events chan<- []*types.Transaction) event.Subscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetAccountNonceFunc ¶
type NodeDev ¶
type NodeDev struct { GetAccountNonce GetAccountNonceFunc // contains filtered or unexported fields }
func (*NodeDev) Commit ¶
func (n *NodeDev) Commit() chan *common.CommitEvent
func (*NodeDev) GetAccountPoolMeta ¶
func (n *NodeDev) GetAccountPoolMeta(account string, full bool) *common.AccountMeta
func (*NodeDev) GetLowWatermark ¶
func (*NodeDev) GetPendingTxByHash ¶
func (n *NodeDev) GetPendingTxByHash(_ *types.Hash) *types.Transaction
func (*NodeDev) GetPendingTxCountByAccount ¶
func (*NodeDev) GetTotalPendingTxCount ¶
func (*NodeDev) ReportState ¶
func (*NodeDev) SubmitTxsFromRemote ¶
func (*NodeDev) SubscribeMockBlockEvent ¶
func (n *NodeDev) SubscribeMockBlockEvent(ch chan<- events.ExecutedEvent) event.Subscription
func (*NodeDev) SubscribeTxEvent ¶
func (n *NodeDev) SubscribeTxEvent(events chan<- []*types.Transaction) event.Subscription
Click to show internal directories.
Click to hide internal directories.