Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
type Daemon struct { ID int `db:"id"` WalletUser string `db:"wallet_usr"` WalletPass string `db:"wallet_pass"` WalletPort int `db:"wallet_port"` Folder string `db:"folder"` NodeID int `db:"node_id"` CoinID int `db:"coin_id"` Conf string `db:"conf"` IP string `db:"ip"` MnPort int `db:"mn_port"` PassPhrase sql.NullString `db:"wallet_passphrase"` }
type DaemonStatus ¶
type DaemonStatus struct { Block bool `json:"block"` BlockStake bool `json:"blockStake"` WalletStake bool `json:"stakingActive"` BlockCount int `json:"blockCount"` MasternodeCount int `json:"masternodeCount"` Difficulty float64 `json:"difficulty"` HashRate string `json:"hashRate"` CoinSupply float64 `json:"coinSupply"` Version string `json:"version"` }
type GetInfo ¶
type GetInfo struct { Version string `json:"version"` Protocolversion int `json:"protocolversion"` Walletversion int `json:"walletversion"` Balance float64 `json:"balance"` Newmint float64 `json:"newmint"` Stake float64 `json:"stake"` Blocks int `json:"blocks"` Timeoffset int `json:"timeoffset"` Moneysupply float64 `json:"moneysupply"` Connections int `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 int `json:"keypoololdest"` Keypoolsize int `json:"keypoolsize"` Paytxfee float64 `json:"paytxfee"` Mininput float64 `json:"mininput"` Errors string `json:"errors"` }
type GetTransaction ¶
type GetTransaction struct { Txid string `json:"txid"` Version int `json:"version"` Time int `json:"time"` Locktime int `json:"locktime"` Vin []struct { Coinbase string `json:"coinbase"` Sequence int `json:"sequence"` } `json:"vin"` Vout []struct { Value float64 `json:"value"` N int `json:"n"` ScriptPubKey struct { Asm string `json:"asm"` Hex string `json:"hex"` ReqSigs int `json:"reqSigs"` Type string `json:"type"` Addresses []string `json:"addresses"` } `json:"scriptPubKey"` } `json:"vout"` Amount float64 `json:"amount"` Confirmations int `json:"confirmations"` Bcconfirmations int `json:"bcconfirmations"` Generated bool `json:"generated"` Blockhash string `json:"blockhash"` Blockindex int `json:"blockindex"` Blocktime int `json:"blocktime"` Walletconflicts []interface{} `json:"walletconflicts"` Timereceived int `json:"timereceived"` Details []struct { Account string `json:"account"` Address string `json:"address"` Category string `json:"category"` Amount float64 `json:"amount"` } `json:"details"` }
type ListStakeRewards ¶
type ListStakeRewards []struct { Account string `json:"account"` Address string `json:"address"` Category string `json:"category"` Amount float64 `json:"amount"` Confirmations int `json:"confirmations"` Bcconfirmations int `json:"bcconfirmations"` Blockhash string `json:"blockhash"` Txid string `json:"txid"` Time int `json:"time"` Timereceived int `json:"timereceived"` }
type ListTransactions ¶
type ListTransactions []struct { Account string `json:"account"` Address string `json:"address"` Category string `json:"category"` Amount float64 `json:"amount"` Confirmations int `json:"confirmations"` Bcconfirmations int `json:"bcconfirmations"` Blockhash string `json:"blockhash,omitempty"` Blockindex int `json:"blockindex,omitempty"` Blocktime int `json:"blocktime,omitempty"` Txid string `json:"txid"` Walletconflicts []interface{} `json:"walletconflicts"` Time int `json:"time"` Timereceived int `json:"timereceived"` }
type ListUnspent ¶
type RawTxArray ¶
type SignRawTransaction ¶
type StakingInfo ¶
type StakingInfo struct { Enabled bool `json:"enabled"` Staking bool `json:"staking"` Errors string `json:"errors"` Currentblocksize int `json:"currentblocksize"` Currentblocktx int `json:"currentblocktx"` Pooledtx int `json:"pooledtx"` Difficulty float64 `json:"difficulty"` SearchInterval int `json:"search-interval"` Weight int64 `json:"weight"` Netstakeweight int64 `json:"netstakeweight"` Expectedtime int `json:"expectedtime"` Stakethreshold int `json:"stakethreshold"` }
Click to show internal directories.
Click to hide internal directories.