package
0.0.0-20191113032148-3606b63ab30f
Repository: https://github.com/phenixchain/devchain.git
Documentation: pkg.go.dev
# Functions
CalcMinerHeightKey get miner key.
CreateRawAssetTransferTx create asset transfer tx.
CreateRawCommitTx4MainChain create commit tx to main chain.
CreateRawMinerTx create miner tx.
CreateRawNodeConfigTx create raw tx for node config.
CreateRawNodeGroupApplyTx create raw tx for node group.
GetDappForkHeight get paracross dapp fork height.
GetExecName get para exec name.
IsParaForkHeight check height more than fork height.
No description provided by the author
NewType get paracross type.
No description provided by the author
# Constants
ParacrossActionAssetTransfer paracross asset transfer key.
ParacrossActionAssetWithdraw paracross asset withdraw key.
ParacrossActionCommit paracross consensus commit action.
ParacrossActionMiner paracross consensus miner action.
ParacrossActionNodeConfig para super node config.
ParacrossActionNodeGroupApply apply for node group initially.
ParacrossActionTransfer paracross asset transfer action.
ParacrossActionTransferToExec asset transfer to exec.
ParacrossActionWithdraw paracross asset withdraw action.
ParacrossNodeCanceled to cancel apply of joining or quiting.
ParacrossNodeIDClosed id voting closed.
ParacrossNodeGroupApply apply for para chain node group initially.
ParacrossNodeGroupApprove super manager approve the apply.
ParacrossNodeGroupModify applyer modify some parameters.
ParacrossNodeGroupQuit applyer quit the apply when not be approved.
ParacrossNodeJoined pass to add by votes.
ParacrossNodeIDJoining apply for join group.
ParacrossNodeQuited pass to quite by votes.
ParacrossNodeIDQuiting apply for quiting group.
ParacrossStatusCommitDone commit done status.
ParacrossStatusCommiting commit status.
node config op.
node config op.
node config op.
node config op.
node vote op.
node vote op.
node vote op.
node vote op.
TyLogParaAssetDeposit asset deposit log key.
TyLogParaAssetTransfer asset transfer log key.
TyLogParaAssetWithdraw asset withdraw log key.
TyLogParacrossCommit commit log key.
TyLogParacrossCommitDone commit down key.
record 和 commit 不一样, 对应高度完成共识后收到commit 交易 这个交易就不参与共识, 只做记录 TyLogParacrossCommitRecord commit record key.
在平行链上保存节点参与共识的数据 TyLogParacrossMiner miner log key.
TyLogParaNodeConfig config super node log key.
paracross 执行器的日志类型.
paracross 执行器的日志类型.
paracross 执行器的日志类型.
paracross 执行器的日志类型.
paracross 执行器的日志类型.
# Variables
ErrForkHeightNotReach fork height not reach.
ErrInvalidTitle invalid commit msg title.
ErrNodeNotForTheTitle the node not match with title.
ErrParaBlockHashNoMatch block hash not match with before.
ErrParaConsensStopBlocksNotReach consensus stop blocks not reach.
ErrParaCurHashNotMatch para curr main hash not match with pre, main node may switched.
ErrParaEmptyMinerTx block no miner tx.
ErrParaManageNodesNotSet config manage node not set.
ErrParaMinerBaseIndex miner base index not 0.
ErrParaMinerExecErr miner tx exec error.
ErrParaMinerTxType the 0 tx is not miner tx.
ErrParaNodeAddrExisted node addr exist in group.
ErrParaNodeAddrNotExisted node addr not exist in group.
ErrParaNodeGroupExisted para config group taked over alreay.
ErrParaNodeGroupFrozenCoinsNotEnough node group coins in tx less than conf's minimum coins.
ErrParaNodeGroupLastAddr last super node not be allow to quite.
ErrParaNodeGroupNotSet para config node group not set by take over.
ErrParaNodeOpStatusWrong node process wrong status.
ErrParaNodeVoteSelf vote self not allow.
ErrParaUnSupportNodeOper unsupport node operation.
ErrParaWaitingNewSeq para waiting main node new seq coming.
ErrTitleNotExist commit msg title not exist.
ForkCommitTx main chain support paracross commit tx.
ForkLoopCheckCommitTxDone 循环检查共识交易done的fork.
MainForkParacrossCommitTx 平行链配置项对应主链的ForkCommitTx 高度.
MainLoopCheckCommitTxDoneForkHeight 平行链的配置项,对应主链的ForkLoopCheckCommitTxDone高度.
ParacrossActionAssetTransferStr asset transfer key.
ParacrossActionAssetWithdrawStr asset withdraw key.
ParacrossActionCommitStr Commit string.
ParacrossActionTransferStr trasfer key.
ParacrossActionTransferToExecStr transfer to exec key.
ParacrossActionWithdrawStr withdraw key.
ParaNodeVoteStr ...
ParaSelfConsensForkHeight para self consens height string.
ParaX paracross exec name.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
跨链转账相关.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
action.
No description provided by the author
记录不同blockHash的详细数据.
stateDB.
LocalDB title-height-addr : txHash.
ParacrossType base paracross type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
logs.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
node query.
No description provided by the author
query.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
ParacrossClient is the client API for Paracross service.
ParacrossServer is the server API for Paracross service.