package
0.0.0-20210712090754-55a2f5289189
Repository: https://github.com/d-platformoperatingsystem/dpos.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.
RunDplatformOSCli invoke dplatformos client.
SendPrivacyTxCommand json ,.
SendTxCommand excute.

# Constants

FloatDiff const.

# Variables

check.
dplatformos cli.

# Structs

BaseCase base test case.
BaseCasePack pack testCase with some check info.
SimpleCase.
SimplePack pack.

# Interfaces

AutoTest dapp auto test , dapp ,.
CaseFunc interface for testCase.
PackFunc interface for check testCase result.

# Type aliases

CheckHandlerFunc func.
CheckHandlerFuncDiscard func.
CheckHandlerMap map.
CheckHandlerMapDiscard map.