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 NewPivXRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error) + type PivXParser struct + BitcoinOutputScriptToAddressesFunc btc.OutputScriptToAddressesFunc + func NewPivXParser(params *chaincfg.Params, c *btc.Configuration) *PivXParser + func (p *PivXParser) GetAddrDescForUnknownInput(tx *bchain.Tx, input int) bchain.AddressDescriptor + func (p *PivXParser) PackTx(tx *bchain.Tx, height uint32, blockTime int64) ([]byte, error) + func (p *PivXParser) ParseBlock(b []byte) (*bchain.Block, error) + func (p *PivXParser) ParseTx(b []byte) (*bchain.Tx, error) + func (p *PivXParser) ParseTxFromJson(msg json.RawMessage) (*bchain.Tx, error) + func (p *PivXParser) TxFromMsgTx(t *wire.MsgTx, parseAddresses bool) bchain.Tx + func (p *PivXParser) UnpackTx(buf []byte) (*bchain.Tx, uint32, error) + type PivXRPC struct + func (b *PivXRPC) Initialize() error