# Packages
No description provided by the author
# Functions
BlockOnTheChain return true if the block is on the chain.
CheckTransaction check trans for mine.
CheckTransList check trans list for mine.
CreateAppFromSourceCode create app.
CreateBiosTrans CreateBiosTrans.
DecodeBlock decode data and check sign, check hash.
DecodeOpsDataOfTrans decode ops data.
DecodeTrans decode transaction data.
DeleteBlock delete block.
DeleteTransaction delete Transaction.
GetAdminInfo get admin info.
GetAdminList get admin list.
GetAppInfoOfChain get app information.
GetBlockInterval get the interval time of between blocks.
GetBlockSizeLimit get the limit size of block.
GetBlockTime get block time.
GetChainInfo get chain info.
GetHashOfTransList get hash of transaction list.
GetHashPowerLimit ge hash power limit.
GetLastBlockIndex get the index of last block.
GetParentBlockOfChain get parent block of chain.
GetTheBlockKey get block key,if index==0,return last key.
GetTransInfo get info of transaction.
GetUserCoin get user coin number.
GetVoteInfo get vote info.
GetVoteReward get reward info.
InitDefaultDbMgr init default db proxy, not write data to database.
IsAdmin is admin.
IsExistBlock Determine whether block exists.
IsExistTransaction Determine whether transaction exists.
IsMiner check miner.
NewBlock new block
1.
NewDbProxyMgr new db proxy manager.
NewTransaction create a new transaction struct 1.
ParseTransList parse transaction list.
ProcessBlockOfChain process block.
ReadBlockData read block data.
ReadTransactionData read transaction data.
ReadTransList read trans list from db.
TransListExist return true when transList exist.
TransListToBytes transList to bytes.
WriteBlock write block data to database.
WriteTransaction write transaction data to database.
WriteTransList write transList to db.
# Constants
AddressLen the byte length of Address.
AdminNum admin number, DPOS vote.
AppFlagGzipCompress gzip compress.
AppFlagImport the app code can be included.
AppFlagPlublc App funds address uses the plublc address, except for app, others have no right to operate the address.
AppFlagRun the app can be call.
encoding type.
encoding type.
encoding type.
HashLen the byte length of Hash.
MaxGuerdon MaxGuerdon.
OpsConfig config.
OpsMove Move out of coin, move from this chain to adjacent chains.
OpsNewApp create new app.
OpsNewChain create new chain.
OpsRegisterAdmin Registered as a admin.
OpsRegisterMiner Registered as a miner.
OpsReportError error block.
OpsRunApp run app.
OpsTransfer pTransfer.
OpsUnvote unvote.
OpsUpdateAppLife update app life.
OpsVote vote admin.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
Key of the running state.
ops of sync.
ops of sync.
ops of sync.
ops of sync.
ops of sync.
time.
time.
time.
time.
time.
time.
time.
# Variables
Switch switch of status.
# Structs
AdminInfo vote info.
AppInfo App info in database.
BaseInfo stat info of last block.
Block Block structure.
BlockInfo the block info in database.
BroadcastInfo broadcase info.
DB Type definition of a database.
DBNWProxyMgr db server, proxy and cache, not write data to database.
DependItem App's dependency information.
Log Type definition of a log.
RewardInfo reward.
StatSwitch define switch of govm status.
StBlock StBlock.
StTrans 交易的结构体.
Transaction the transaction data.
TransactionHead transaction = sign + head + data.
TransInfo the transaction info.
UpdateInfo Information of update app life.
VoteInfo vote info.