Add missing fields to ValidateAddressResult structure
ok @jrick
This commit is contained in:
parent
71e31f03a2
commit
b0242a8793
1 changed files with 11 additions and 7 deletions
18
jsonapi.go
18
jsonapi.go
|
@ -224,13 +224,17 @@ type GetWorkResult struct {
|
||||||
|
|
||||||
// ValidateAddressResult models the data from the validateaddress command.
|
// ValidateAddressResult models the data from the validateaddress command.
|
||||||
type ValidateAddressResult struct {
|
type ValidateAddressResult struct {
|
||||||
IsValid bool `json:"isvalid"`
|
IsValid bool `json:"isvalid"`
|
||||||
Address string `json:"address,omitempty"`
|
Address string `json:"address,omitempty"`
|
||||||
IsMine bool `json:"ismine,omitempty"`
|
IsMine bool `json:"ismine,omitempty"`
|
||||||
IsScript bool `json:"isscript,omitempty"`
|
IsScript bool `json:"isscript,omitempty"`
|
||||||
PubKey string `json:"pubkey,omitempty"`
|
PubKey string `json:"pubkey,omitempty"`
|
||||||
IsCompressed bool `json:"iscompressed,omitempty"`
|
IsCompressed bool `json:"iscompressed,omitempty"`
|
||||||
Account string `json:"account,omitempty"`
|
Account string `json:"account,omitempty"`
|
||||||
|
Addresses []string `json:"addresses,omitempty"`
|
||||||
|
Hex string `json:"hex,omitempty"`
|
||||||
|
Script string `json:"script,omitempty"`
|
||||||
|
SigsRequired int `json:"sigsrequired,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// SignRawTransactionResult models the data from the signrawtransaction
|
// SignRawTransactionResult models the data from the signrawtransaction
|
||||||
|
|
Loading…
Reference in a new issue