Documentation ¶
Index ¶
- func AddTransactions(transactions []*btcjson.TxRawResult, blockheight int64)
- func AddrIndex(tx *insightjson.Tx)
- func GetTx(block *btcjson.GetBlockVerboseResult) []*btcjson.TxRawResult
- func IsMainChain()
- func ParseCoinbaseText(tx *btcjson.TxRawResult) string
- func ParseJson()
- func ProcessBlock(block *btcjson.GetBlockVerboseResult)
- type Pools
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTransactions ¶
func AddTransactions(transactions []*btcjson.TxRawResult, blockheight int64)
func AddrIndex ¶
func AddrIndex(tx *insightjson.Tx)
func GetTx ¶
func GetTx(block *btcjson.GetBlockVerboseResult) []*btcjson.TxRawResult
func IsMainChain ¶
func IsMainChain()
func ParseCoinbaseText ¶
func ParseCoinbaseText(tx *btcjson.TxRawResult) string
get coinbase hex string by getting the first transaction of the block in the tx.Vin[0] and decode the hex string into a normal text Example: "52062f503253482f04dee0c7530807ffffff010000000d2f6e6f64655374726174756d2f" -> /nodeStratum/
func ProcessBlock ¶
func ProcessBlock(block *btcjson.GetBlockVerboseResult)
Types ¶
Click to show internal directories.
Click to hide internal directories.