Documentation
¶
Index ¶
Constants ¶
View Source
const (
MainnetMagic wire.BitcoinNet = 0x19203308
)
Variables ¶
View Source
var (
MainNetParams chaincfg.Params
)
Functions ¶
func GetChainParams ¶
func NewOneworldRPC ¶
func NewOneworldRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error)
Types ¶
type OneworldParser ¶
type OneworldParser struct {
*btc.BitcoinParser
// contains filtered or unexported fields
}
func NewOneworldParser ¶
func NewOneworldParser(params *chaincfg.Params, c *btc.Configuration) *OneworldParser
type OneworldRPC ¶
type OneworldRPC struct {
*btc.BitcoinRPC
}
func (*OneworldRPC) GetTransactionForMempool ¶
func (b *OneworldRPC) GetTransactionForMempool(txid string) (*bchain.Tx, error)
func (*OneworldRPC) Initialize ¶
func (b *OneworldRPC) Initialize() error
Click to show internal directories.
Click to hide internal directories.