Added empty methods for missing RPCs

This commit is contained in:
Jakub Matys 2018-03-22 15:43:14 +01:00
parent afa4d17e5f
commit 4421dc94dc
2 changed files with 10 additions and 0 deletions

View File

@ -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")

View File

@ -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")
}