Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockEntry ¶
type BlockEntry struct { Height int `json:"height"` Timestamp int64 `json:"timestamp"` ShortTXIDs []string `json:"shortTXIDs"` }
BlockEntry holds the height, the first-seen timestamp and shortended TXIDs. It's used in the Bitcoin Transaction Monitor to mark transactions by block they were included in.
type FeeAPIResponse1 ¶
type FeeAPIResponse1 struct {
HighFee float64 `json:"high"`
}
type FeeAPIResponse2 ¶
type FeeAPIResponse3 ¶
type FeeRateAPIEntry ¶
type FeeRateAPIEntry struct { Timestamp int64 `json:"timestamp"` BTCCom FeeAPIResponse1 `json:"btccom"` BlockchairCom FeeAPIResponse1 `json:"blockchaircom"` BlockchainInfo FeeAPIResponse2 `json:"blockchaininfo"` EarnCom FeeAPIResponse3 `json:"earncom"` BitgoCom FeeAPIResponse3 `json:"bitgocom"` BlockcypherCom FeeAPIResponse3 `json:"blockcyphercom"` BitpayCom FeeAPIResponse3 `json:"bitpaycom"` WasabiWalletIoEcon FeeAPIResponse3 `json:"wasabiwalletioEcon"` WasabiWalletIoCons FeeAPIResponse3 `json:"wasabiwalletioCons"` TrezorIo FeeAPIResponse3 `json:"trezorio"` LedgerCom FeeAPIResponse3 `json:"ledgercom"` MyceliumIo FeeAPIResponse3 `json:"myceliumio"` BitcoinerLive FeeAPIResponse3 `json:"bitcoinerlive"` BlockstreamInfo FeeAPIResponse3 `json:"blockstreaminfo"` MempoolSpace FeeAPIResponse3 `json:"mempoolspace"` }
type HistoricalMempoolData ¶
type HistoricalMempoolData struct { DataInBuckets interface{} `json:"dataInBuckets"` Timestamp int64 `json:"timestamp"` }
type MempoolEntry ¶
type MempoolEntry struct { EntryTime int64 `json:"entryTime"` TxID string `json:"txid"` Fee int64 `json:"fee"` Size int64 `json:"size"` Version int32 `json:"version"` InputCount int `json:"inputCount"` OutputCount int `json:"outputCount"` Locktime uint32 `json:"locktime"` OutputSum int64 `json:"outputValue"` SpendsSegWit bool `json:"spendsSegWit"` SpendsMultisig bool `json:"spendsMultisig"` IsBIP69 bool `json:"isBIP69"` SignalsRBF bool `json:"signalsRBF"` OPReturnData string `json:"opreturnData"` OPReturnLength int `json:"opreturnLength"` Multisig map[string]int `json:"multisigsSpend"` Spends map[string]int `json:"spends"` PaysTo map[string]int `json:"paysTo"` }
type PartialMempoolEntry ¶
type PartialMempoolEntry struct { Size int `json:"vsize"` Fee float64 `json:"fees.base"` Fees struct { Base float64 `json:"base"` } `json:"fees"` Time int `json:"time"` Wtxid string `json:"wtxid"` Bip125Replaceable bool `json:"bip125-replaceable"` }
PartialMempoolEntry is slimmed down version of Bitcoin Core's mempool entry returned by the getrawmempool RPC. This allows us to be more memory efficient. See https://github.com/bitcoin/bitcoin/blob/6d5790956f45e3de5c6c4ee6fda21878b0d1287b/src/rpc/mempool.cpp#L253-L279
type RecentBlock ¶
Click to show internal directories.
Click to hide internal directories.