notification

package
v0.0.0-...-6077ea7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2021 License: ISC Imports: 16 Imported by: 0

Documentation

Index

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 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 ParseJson

func ParseJson()

read and parse the json file and unmarshal

func ProcessBlock

func ProcessBlock(block *btcjson.GetBlockVerboseResult)

Types

type Pools

type Pools []struct {
	PoolName      string   `json:"poolName"`
	URL           string   `json:"url"`
	SearchStrings []string `json:"searchStrings"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL