# Functions
CreateDbBlock convert an rpc block to an dbblock.
CreateDbTx convert an rpc transaction to an dbtransaction.
CreateDebtTx convert an rpc transaction to an dbtransaction.
CreateEmptyAccount create an empty dbaccount.
NewDBClient reuturn an DB client.
# Structs
Client warpper for mongodb interactive.
DBAccount describle a account which stored in the database.
DBBlock describle the block info which stored in the database.
DBLastBlock contains the last block information.
DBMiner describle a miner account which stored in the database.
DBMinerRankInfo descible top miner rank.
DBNodeInfo descible an single node in the network.
DBOneDayAddressInfo describle all blocks in an single day.
DBOneDayBlockAvgTime describle avg block time in an single day.
DBOneDayBlockDifficulty describle avg block difficulty in an single day.
DBOneDayBlockInfo describle all blocks in an single day.
DBOneDayHashRate describle all hashrates in an single day.
DBOneDaySingleAddressInfo describle one day single address info.
DBOneDayTxInfo describle all transactions in an single day.
No description provided by the author
DBSimpleTxInBlock describle the transaction info contained by dbblock which stored in the database.
No description provided by the author
DBSingleMinerRankInfo describle single miner rank info.
DBTx describle a transaction which stored in the database.
Debt describle a transaction which stored in the database.