Versions in this module Expand all Collapse all v0 v0.1.0 Oct 10, 2018 Changes in this version + const BlockbookAbout + func NewApiError(s string, public bool) error type Address + Txids []string + type ApiError struct + Public bool + Text string + func (e *ApiError) Error() string + type Block struct + Transactions []*Tx + TxCount int + type BlockbookInfo struct + About string + BestHeight uint32 + BuildTime string + Coin string + DbColumns []common.InternalStateColumn + DbSize int64 + DbSizeFromColumns int64 + GitCommit string + Host string + InSync bool + InSyncMempool bool + InitialSync bool + LastBlockTime time.Time + LastMempoolTime time.Time + MempoolSize int + SyncMode bool + Version string + type Blocks struct + Blocks []db.BlockInfo + type Paging struct + ItemsOnPage int + Page int + TotalPages int type ScriptPubKey + AddrDesc bchain.AddressDescriptor + Searchable bool + type SystemInfo struct + Backend *bchain.ChainInfo + Blockbook *BlockbookInfo type Tx + FeesSat big.Int + Hex string + ValueInSat big.Int + ValueOutSat big.Int type Vin + AddrDesc bchain.AddressDescriptor + Addresses []string + Searchable bool type Vout + Spent bool + ValueSat big.Int type Worker + func (w *Worker) GetBlock(bid string, page int, txsOnPage int) (*Block, error) + func (w *Worker) GetBlocks(page int, blocksOnPage int) (*Blocks, error) + func (w *Worker) GetSpendingTxid(txid string, n int) (string, error) + func (w *Worker) GetSystemInfo(internal bool) (*SystemInfo, error) v0.0.6 Sep 12, 2018 Changes in this version + func UniqueTxidsInReverse(txids []string) []string + type Address struct + AddrStr string + Balance float64 + BalanceSat int64 + TotalReceived float64 + TotalReceivedSat int64 + TotalSent float64 + TotalSentSat int64 + Transactions []*Tx + TxApperances int + UnconfirmedBalance float64 + UnconfirmedBalanceSat int64 + UnconfirmedTxApperances int + type ScriptPubKey struct + Addresses []string + Asm string + Hex string + Type string + type ScriptSig struct + Asm string + Hex string + type Tx struct + Blockhash string + Blockheight int + Blocktime int64 + Confirmations uint32 + Fees float64 + Locktime uint32 + Size int + Time int64 + Txid string + ValueIn float64 + ValueOut float64 + Version int32 + Vin []Vin + Vout []Vout + WithSpends bool + type Vin struct + Addr string + N int + ScriptSig ScriptSig + Sequence int64 + Txid string + Value float64 + ValueSat int64 + Vout uint32 + type Vout struct + N int + ScriptPubKey ScriptPubKey + SpentHeight int + SpentIndex int + SpentTxID string + Value float64 + type Worker struct + func NewWorker(db *db.RocksDB, chain bchain.BlockChain, txCache *db.TxCache, ...) (*Worker, error) + func (w *Worker) GetAddress(addrID string, page int) (*Address, error) + func (w *Worker) GetTransaction(txid string, bestheight uint32, spendingTx bool) (*Tx, error)