Versions in this module Expand all Collapse all v0 v0.1.0 Oct 10, 2018 Changes in this version + var MainNetParams chaincfg.Params + var RegtestParams chaincfg.Params + var TestNetParams chaincfg.Params type ZCashParser + func (p *ZCashParser) PackTx(tx *bchain.Tx, height uint32, blockTime int64) ([]byte, error) + func (p *ZCashParser) UnpackTx(buf []byte) (*bchain.Tx, uint32, error) v0.0.6 Sep 12, 2018 Changes in this version + const MainnetMagic + const RegtestMagic + const TestnetMagic + func GetChainParams(chain string) *chaincfg.Params + func NewZCashRPC(config json.RawMessage, pushHandler func(bchain.NotificationType)) (bchain.BlockChain, error) + type ZCashParser struct + func NewZCashParser(c *btc.Configuration) *ZCashParser + func (p *ZCashParser) GetAddrIDFromAddress(address string) ([]byte, error) + func (p *ZCashParser) GetAddrIDFromVout(output *bchain.Vout) ([]byte, error) + type ZCashRPC struct + func (z *ZCashRPC) EstimateSmartFee(blocks int, conservative bool) (float64, error) + func (z *ZCashRPC) GetBlock(hash string, height uint32) (*bchain.Block, error) + func (z *ZCashRPC) GetMempoolEntry(txid string) (*bchain.MempoolEntry, error) + func (z *ZCashRPC) GetTransactionForMempool(txid string) (*bchain.Tx, error) + func (z *ZCashRPC) Initialize() error