Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ go 1.13
require (
github.com/onsi/ginkgo v1.14.0
github.com/onsi/gomega v1.10.1
go.uber.org/zap v1.16.0 // indirect
go.uber.org/zap v1.16.0
)
22 changes: 15 additions & 7 deletions navcoind.go
Original file line number Diff line number Diff line change
Expand Up @@ -784,13 +784,21 @@ func (b *Navcoind) VerifyMessage(address, sign, message string) (success bool, e

// ValidateAddressResponse represents a response to "validateaddress" call
type ValidateAddressResponse struct {
IsValid bool `json:"isvalid"`
Address string `json:"address"`
IsMine bool `json:"ismine"`
IsScript bool `json:"isscript"`
PubKey string `json:"pubkey"`
IsCompressed bool `json:"iscompressed"`
Account string `json:"account"`
IsValid bool `json:"isvalid"`
Address string `json:"address"`
ScriptPubKey string `json:"scriptPubKey"`
StakingAddress string `json:"stakingaddress"`
SpendingAddress string `json:"spendingaddress"`
VotingAddress string `json:"votingaddress"`
IsMine bool `json:"ismine"`
IsStakable bool `json:"isstakable"`
IsWatchOnly bool `json:"iswatchonly"`
IsScript bool `json:"isscript"`
IsColdStaking bool `json:"iscoldstaking"`
PubKey string `json:"pubkey"`
IsCompressed bool `json:"iscompressed"`
HdKeyPath string `json:"hdkeypath"`
HdMasterKeyId string `json:"hdmasterkeyid"`
}

// ValidateAddress return information about <bitcoinaddress>.
Expand Down