Documentation
¶
Index ¶
Constants ¶
View Source
const (
MainnetMagic wire.BitcoinNet = 0xcbf5a261
)
Variables ¶
View Source
var (
MainNetParams chaincfg.Params
)
Functions ¶
func GetChainParams ¶
func NewRapidsRPC ¶
func NewRapidsRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error)
NewRapidsRPC returns new SnowGemRPC instance
Types ¶
type RapidsParser ¶
type RapidsParser struct { *btc.BitcoinParser // contains filtered or unexported fields }
RapidsParser handle
func NewRapidsParser ¶
func NewRapidsParser(params *chaincfg.Params, c *btc.Configuration) *RapidsParser
NewRapidsParser returns new RapidsParser instance
type RapidsRPC ¶
type RapidsRPC struct {
*btc.BitcoinRPC
}
RapidsRPC is an interface to JSON-RPC bitcoind service
func (*RapidsRPC) GetMempoolEntry ¶
func (z *RapidsRPC) GetMempoolEntry(txid string) (*bchain.MempoolEntry, error)
GetMempoolEntry returns mempool data for given transaction
func (*RapidsRPC) GetTransactionForMempool ¶
GetTransactionForMempool returns a transaction by the transaction ID. It could be optimized for mempool, i.e. without block time and confirmations
func (*RapidsRPC) Initialize ¶
Initialize initializes SnowGemRPC instance
Click to show internal directories.
Click to hide internal directories.