Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetInfoResponse ¶
type GetInfoResponse struct { Result struct { Version string `json:"version"` ProtocolVersion int64 `json:"protocolversion"` WalletVersion float64 `json:"walletversion"` Balance float64 `json:"balance"` NewMint float64 `json:"newmint"` Stake float64 `json:"stake"` Blocks int64 `json:"blocks"` TimeOffset int64 `json:"timeoffset"` MoneySupply float64 `json:"moneysupply"` Connections int64 `json:"connections"` Proxy string `json:"proxy"` IP string `json:"ip"` Difficulty struct { ProofOfWork float64 `json:"proof-of-work"` ProofOfStake float64 `json:"proof-of-stake"` } `json:"difficulty"` Testnet bool `json:"testnet"` KeyPoolOldest int64 `json:"keypoololdest"` KeyPoolSize int64 `json:"keypoolsize"` PayTxFee float64 `json:"paytxfee"` MinInput float64 `json:"mininput"` UnlockedUntil int64 `json:"unlocked_until"` Errors string `json:"errors"` } `json:"result,omitempty"` Error struct { Code int64 `json:"code"` Message string `json:"message"` } `json:"error,omitempty"` ID string `json:"id,omitempty"` }
GetInfoResponse model.
type VerifyMessageResponse ¶
type VerifyMessageResponse struct { Result bool `json:"result"` Error struct { Code int64 `json:"code"` Message string `json:"message"` } `json:"error"` ID string `json:"id"` }
VerifyMessageResponse model.
func VerifyMessage ¶
func VerifyMessage( addressHash string, signature string, message string, ) (*VerifyMessageResponse, error)
VerifyMessage gets the daemon node info.
Click to show internal directories.
Click to hide internal directories.