Documentation ¶
Index ¶
- func New(cfg *types.Consensus, sub []byte) queue.Module
- type Client
- func (client *Client) CheckBlock(parent *types.Block, current *types.BlockDetail) error
- func (client *Client) Close()
- func (client *Client) CreateBlock()
- func (client *Client) CreateGenesisTx() (ret []*types.Transaction)
- func (client *Client) GetGenesisBlockTime() int64
- func (client *Client) ProcEvent(msg queue.Message) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { *drivers.BaseClient // contains filtered or unexported fields }
func (*Client) CheckBlock ¶
solo 不检查任何的交易
func (*Client) CreateBlock ¶
func (client *Client) CreateBlock()
func (*Client) CreateGenesisTx ¶
func (client *Client) CreateGenesisTx() (ret []*types.Transaction)
func (*Client) GetGenesisBlockTime ¶
Click to show internal directories.
Click to hide internal directories.