Versions in this module Expand all Collapse all v0 v0.2.0 Jan 23, 2019 Changes in this version + const MainnetMagic + var MainNetParams chaincfg.Params + func GetChainParams(chain string) *chaincfg.Params + func NewLiquidRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error) + type LiquidParser struct + func NewLiquidParser(params *chaincfg.Params, c *btc.Configuration) *LiquidParser + func (p *LiquidParser) GetAddrDescForUnknownInput(tx *bchain.Tx, input int) bchain.AddressDescriptor + func (p *LiquidParser) PackTx(tx *bchain.Tx, height uint32, blockTime int64) ([]byte, error) + func (p *LiquidParser) UnpackTx(buf []byte) (*bchain.Tx, uint32, error) + type LiquidRPC struct + func (b *LiquidRPC) GetBlock(hash string, height uint32) (*bchain.Block, error) + func (b *LiquidRPC) GetMempoolEntry(txid string) (*bchain.MempoolEntry, error) + func (b *LiquidRPC) GetTransactionForMempool(txid string) (*bchain.Tx, error) + func (b *LiquidRPC) Initialize() error