package
0.0.0-20191113032148-3606b63ab30f
Repository: https://github.com/phenixchain/devchain.git
Documentation: pkg.go.dev

# Functions

CalcTxHashsHash 计算几个txhash的hash值 作校验使用.
FilterParaCrossTxHashes only all para chain cross txs like xx.paracross exec.
FilterParaMainCrossTxHashes ForkParacrossCommitTx之前允许txgroup里面有main chain tx的跨链.
FilterTxsForPara include some main tx in tx group before ForkParacrossCommitTx.
GetBlock get block detail by block hash.
GetName return paracross name.
GetTx get tx by tx hash.
Init paracross exec register.
NewMainAccount create new Main account 以后如果支持从平行链资产转移到主链, 构建平行链资产在主链的paracross帐号 execName: paracross symbol: user.p.{guodun}.coins.{guodun} user.p.{guodun}.token.{TEST} 完整的帐号地址 mavl-paracross-user.p.{guodun}.coins.guodun-{user-address} 对应平行链上子地址 mavl-coins-{guodun}-exec-{Address(paracross)}:{Address(paracross)}.
NewParaAccount create new paracross account 其中带{}, 都表示变量, 用需要用真实的地址, 符号代替 构建主链资产在平行链paracross帐号 execName: user.p.{guodun}.paracross symbol: coins.bty, token.{TEST} 完整的帐号地址 mavl-{paracross}-coins.bty-{user-address} 不带title{paracross} 对应主链上paracross 子帐号 malv-coins-bty-exec-{Address(paracross)}:{Address(user.p.{guodun}.paracross)}.

# Structs

Paracross exec.