@@ -20,55 +20,3 @@ macro_rules! impl_client_v19__getblockfilter {
2020 }
2121 } ;
2222}
23-
24- /// Implements Bitcoin Core JSON-RPC API method `getmempoolancestors`
25- #[ macro_export]
26- macro_rules! impl_client_v19__getmempoolancestors {
27- ( ) => {
28- impl Client {
29- pub fn get_mempool_ancestors( & self , txid: Txid ) -> Result <GetMempoolAncestors > {
30- // Equivalent to self.call("getmempoolancestors", &[into_json(txid)?, into_json(false)?])
31- self . call( "getmempoolancestors" , & [ into_json( txid) ?] )
32- }
33-
34- pub fn get_mempool_ancestors_verbose(
35- & self ,
36- txid: Txid ,
37- ) -> Result <GetMempoolAncestorsVerbose > {
38- self . call( "getmempoolancestors" , & [ into_json( txid) ?, into_json( true ) ?] )
39- }
40- }
41- } ;
42- }
43-
44- /// Implements Bitcoin Core JSON-RPC API method `getmempooldescendants`
45- #[ macro_export]
46- macro_rules! impl_client_v19__getmempooldescendants {
47- ( ) => {
48- impl Client {
49- pub fn get_mempool_descendants( & self , txid: Txid ) -> Result <GetMempoolDescendants > {
50- // Equivalent to self.call("getmempooldescendants", &[into_json(txid)?, into_json(false)?])
51- self . call( "getmempooldescendants" , & [ into_json( txid) ?] )
52- }
53-
54- pub fn get_mempool_descendants_verbose(
55- & self ,
56- txid: Txid ,
57- ) -> Result <GetMempoolDescendantsVerbose > {
58- self . call( "getmempooldescendants" , & [ into_json( txid) ?, into_json( true ) ?] )
59- }
60- }
61- } ;
62- }
63-
64- /// Implements Bitcoin Core JSON-RPC API method `getmempoolentry`
65- #[ macro_export]
66- macro_rules! impl_client_v19__getmempoolentry {
67- ( ) => {
68- impl Client {
69- pub fn get_mempool_entry( & self , txid: Txid ) -> Result <GetMempoolEntry > {
70- self . call( "getmempoolentry" , & [ into_json( txid) ?] )
71- }
72- }
73- } ;
74- }
0 commit comments