Versions in this module Expand all Collapse all v0 v0.3.2 Mar 5, 2020 Changes in this version + const MainnetMagic + var MainNetParams chaincfg.Params + func GetChainParams(chain string) *chaincfg.Params + func NewDiviRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error) + type DivicoinParser struct + BitcoinOutputScriptToAddressesFunc btc.OutputScriptToAddressesFunc + func NewDiviParser(params *chaincfg.Params, c *btc.Configuration) *DivicoinParser + func (p *DivicoinParser) GetAddrDescForUnknownInput(tx *bchain.Tx, input int) bchain.AddressDescriptor + func (p *DivicoinParser) PackTx(tx *bchain.Tx, height uint32, blockTime int64) ([]byte, error) + func (p *DivicoinParser) ParseBlock(b []byte) (*bchain.Block, error) + func (p *DivicoinParser) ParseTx(b []byte) (*bchain.Tx, error) + func (p *DivicoinParser) ParseTxFromJSON(msg json.RawMessage) (*bchain.Tx, error) + func (p *DivicoinParser) TxFromMsgTx(t *wire.MsgTx, parseAddresses bool) bchain.Tx + func (p *DivicoinParser) UnpackTx(buf []byte) (*bchain.Tx, uint32, error) + type DivicoinRPC struct + func (b *DivicoinRPC) Initialize() error