Added empty methods for missing RPCs
This commit is contained in:
parent
afa4d17e5f
commit
4421dc94dc
@ -573,6 +573,7 @@ func (b *BitcoinRPC) SendRawTransaction(tx string) (string, error) {
|
||||
return res.Result, nil
|
||||
}
|
||||
|
||||
// GetMempoolEntry returns mempool data for given transaction
|
||||
func (b *BitcoinRPC) GetMempoolEntry(txid string) (*bchain.MempoolEntry, error) {
|
||||
glog.V(1).Info("rpc: getmempoolentry")
|
||||
|
||||
|
||||
@ -155,3 +155,12 @@ func (z *ZCashRPC) GetBlockHeader(hash string) (*bchain.BlockHeader, error) {
|
||||
}
|
||||
return &res.Result, nil
|
||||
}
|
||||
// EstimateSmartFee returns fee estimation.
|
||||
func (b *ZCashRPC) EstimateSmartFee(blocks int, conservative bool) (float64, error) {
|
||||
return 0, errors.New("EstimateSmartFee: not implemented")
|
||||
}
|
||||
|
||||
// GetMempoolEntry returns mempool data for given transaction
|
||||
func (b *ZCashRPC) GetMempoolEntry(txid string) (*bchain.MempoolEntry, error) {
|
||||
return nil, errors.New("GetMempoolEntry: not implemented")
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user