Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ledger ¶
type Ledger interface { // GetBlockchainInfo() (*common.BlockchainInfo, error) // // GetBlockByNumber(blockNumber uint64) (*common.Block, error) // //迭代器是一个阻塞迭代器,也就是说,它阻塞直到下一个块在分类帐中可用为止。 //resultsiterator包含类型blockholder GetBlocksIterator(startBlockNumber uint64) (ResultsIterator, error) //关闭关闭分类帐 Close() }
type QueryResultsIterator ¶
type QueryResultsIterator interface { ResultsIterator GetBookmarkAndClose() string }
queryresultsiterator-查询结果集的迭代器
type ResultsIterator ¶
type ResultsIterator interface { //Next返回结果集中的下一项。当 //迭代器耗尽 Next() (QueryResult, error) //close释放迭代器占用的资源 Close() }
resultsiterator-查询结果集的迭代器
Click to show internal directories.
Click to hide internal directories.