Documentation
¶
Index ¶
- Constants
- func InitOep4(sdk *goSdk.DNASdk, acc *goSdk.Account, avmPath string)
- func MultiSign(tx *types.MutableTransaction, sdk *goSdk.DNASdk, ...) error
- func SetGasPrice(sdk *goSdk.DNASdk, consensusAccounts []*goSdk.Account, gasPrice uint64)
- func WithdrawAsset(sdk *goSdk.DNASdk, consensusAccounts []*goSdk.Account, destAcc *goSdk.Account)
- type Config
- type Token
Constants ¶
View Source
const ( DEFAULT_GAS_PRICE = 0 DEFAULT_GAS_LIMIT = 20000 DEFAULT_DEPLOY_GASLIMIT = 200000000 )
Variables ¶
This section is empty.
Functions ¶
func SetGasPrice ¶
Types ¶
type Config ¶
type Config struct {
Wallet string
Password string
ConsensusPeerPath [][2]string
ContractCodePath string
Contract string
To string
Amount uint64
Rpc []string
TxNum uint // whole tx num is *TxFactor
TxFactor uint
RoutineNum uint // whole tx save to RoutineNum files, and one go-routine per file
TPS uint
StartNonce uint32
GasPrice uint64
GasLimit uint64
SaveTx bool
SendTx bool
}
func ParseConfig ¶
Click to show internal directories.
Click to hide internal directories.