package
0.0.0-20191113032148-3606b63ab30f
Repository: https://github.com/phenixchain/devchain.git
Documentation: pkg.go.dev
# Functions
AutoTestLogFormat customize log15 log format.
CalcTxUtxoAmount calculate total amount in tx in/out utxo set, key = ["keyinput" | "keyoutput"].
CalcUtxoAvailAmount calculate available utxo with specific addr and TxHash.
CalcUtxoSpendAmount calculate spend utxo with specific addr and TxHash.
CheckBalanceDeltaWithAddr diff balance.
CheckFrozenDeltaWithAddr check.
DefaultSend default send command implementation, only for transaction type case.
GetAutoTestConfig 获取测试配置类型.
GetTxInfo get tx receipt with tx hash code if exist.
GetTxRecpTyname get tx query -s TxHash.
Init 超时次数等于总超时时间除以每次check时睡眠时间.
IsBalanceEqualFloat according to the accuracy of coins balance.
RegisterAutoTest 注册测试配置类型.
RunChain33Cli invoke chain33 client.
SendPrivacyTxCommand 隐私交易执行回执哈希为json格式,需要解析.
SendTxCommand excute.
# Constants
FloatDiff const.
# Structs
BaseCase base test case.
BaseCasePack pack testCase with some check info.
SimpleCase 简单用例.
SimplePack 简单pack.
# Type aliases
CheckHandlerFunc 检查func.
CheckHandlerFuncDiscard 检查func.
CheckHandlerMap 检查map.
CheckHandlerMapDiscard 检查map.