|
86 | 86 | //! | JSON-RPC Method Name | Returns | Notes | |
87 | 87 | //! |:-----------------------------------|:---------------:|:--------------------------------------:| |
88 | 88 | //! | getblocktemplate | version + model | | |
89 | | -//! | getmininginfo | version + model | TODO | |
| 89 | +//! | getmininginfo | version + model | | |
90 | 90 | //! | getnetworkhashps | returns boolean | | |
91 | 91 | //! | getprioritisedtransactions | version + model | | |
92 | 92 | //! | prioritisetransaction | returns boolean | | |
|
243 | 243 | //! </details> |
244 | 244 |
|
245 | 245 | mod blockchain; |
| 246 | +mod mining; |
246 | 247 |
|
247 | 248 | #[doc(inline)] |
248 | | -pub use self::{blockchain::GetMempoolInfo}; |
| 249 | +pub use self::{ |
| 250 | + blockchain::GetMempoolInfo, |
| 251 | + mining::{GetMiningInfo, GetMiningInfoError}, |
| 252 | +}; |
249 | 253 | #[doc(inline)] |
250 | 254 | pub use crate::{ |
251 | 255 | v17::{ |
@@ -301,12 +305,11 @@ pub use crate::{ |
301 | 305 | }, |
302 | 306 | v24::{ |
303 | 307 | DecodePsbt, DecodePsbtError, GetMempoolAncestors, GetMempoolAncestorsVerbose, |
304 | | - GetMempoolDescendants, GetMempoolDescendantsVerbose, GetMempoolEntry, |
305 | | - GetRawMempoolVerbose, GetTransactionDetail, GetTxSpendingPrevout, |
306 | | - GetTxSpendingPrevoutError, GlobalXpub, ListUnspent, ListUnspentItem, MempoolEntry, |
307 | | - MigrateWallet, Proprietary, PsbtInput, PsbtOutput, SendAll, SendAllError, |
308 | | - SimulateRawTransaction, TaprootBip32Deriv, TaprootLeaf, TaprootScript, |
309 | | - TaprootScriptPathSig, |
| 308 | + GetMempoolDescendants, GetMempoolDescendantsVerbose, GetMempoolEntry, GetRawMempoolVerbose, |
| 309 | + GetTransactionDetail, GetTxSpendingPrevout, GetTxSpendingPrevoutError, GlobalXpub, |
| 310 | + ListUnspent, ListUnspentItem, MempoolEntry, MigrateWallet, Proprietary, PsbtInput, |
| 311 | + PsbtOutput, SendAll, SendAllError, SimulateRawTransaction, TaprootBip32Deriv, TaprootLeaf, |
| 312 | + TaprootScript, TaprootScriptPathSig, |
310 | 313 | }, |
311 | 314 | v25::{ |
312 | 315 | GenerateBlock, GenerateBlockError, GetBlockStats, ListDescriptors, MempoolAcceptanceError, |
@@ -334,7 +337,7 @@ pub use crate::{ |
334 | 337 | GetBlockHeaderVerbose, GetBlockHeaderVerboseError, GetBlockVerboseOne, |
335 | 338 | GetBlockVerboseOneError, GetBlockchainInfo, GetBlockchainInfoError, GetChainStates, |
336 | 339 | GetChainStatesError, GetDescriptorActivity, GetDescriptorActivityError, GetDescriptorInfo, |
337 | | - GetMiningInfo, GetMiningInfoError, MempoolAcceptance, NextBlockInfo, NextBlockInfoError, |
338 | | - ReceiveActivity, SpendActivity, TestMempoolAccept, |
| 340 | + MempoolAcceptance, NextBlockInfo, NextBlockInfoError, ReceiveActivity, SpendActivity, |
| 341 | + TestMempoolAccept, |
339 | 342 | }, |
340 | 343 | }; |
0 commit comments