Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestImage = "mpugach/omnicored:v0.8.2-alpine"
Functions ¶
func CreateToken ¶
func CreateToken(t *testing.T, rpcInfo devtools4chains.RPCInfo, cmd OmniSenddissuancefixedCmd) (propertyID int)
CreateToken 发行代币
Types ¶
type ListUnspentResult ¶
type ListUnspentResult struct { TxID string `json:"txid"` Vout uint32 `json:"vout"` Address string `json:"address"` Account string `json:"account"` ScriptPubKey string `json:"scriptPubKey"` RedeemScript string `json:"redeemScript,omitempty"` Amount float64 `json:"amount"` Confirmations int64 `json:"confirmations"` Spendable bool `json:"spendable"` Label string `json:"label"` // (string) The associated label, or "" for the default label WitnessScript string `json:"witnessScript"` // (string) witnessScript if the scriptPubKey is P2WSH or P2SH-P2WSH Solvable bool `json:"solvable"` // (bool) Whether we know how to spend this output, ignoring the lack of keys Desc string `json:"desc"` // (string, only when solvable) A descriptor for spending this output Safe bool `json:"safe"` // (bool) Whether this output is considered safe to spend. Unconfirmed transactions from outside keys and unconfirmed replacement transactions are considered unsafe and are not eligible for spending by fundrawtransaction and sendtoaddress. }
ListUnspentResult models a successful response from the listunspent request.
Click to show internal directories.
Click to hide internal directories.