mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-28 13:02:38 +02:00
Remove unused imports from rpc/wallet and reorder RPCs
This commit is contained in:
parent
e116b9747d
commit
d794d0da8f
@ -3,38 +3,20 @@
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#include <consensus/amount.h>
|
||||
#include <core_io.h>
|
||||
#include <interfaces/chain.h>
|
||||
#include <key_io.h>
|
||||
#include <node/context.h>
|
||||
#include <outputtype.h>
|
||||
#include <policy/feerate.h>
|
||||
#include <policy/fees.h>
|
||||
#include <policy/rbf.h>
|
||||
#include <rpc/server.h>
|
||||
#include <rpc/util.h>
|
||||
#include <script/descriptor.h>
|
||||
#include <script/sign.h>
|
||||
#include <util/string.h>
|
||||
#include <util/system.h>
|
||||
#include <util/translation.h>
|
||||
#include <wallet/coincontrol.h>
|
||||
#include <wallet/load.h>
|
||||
#include <wallet/receive.h>
|
||||
#include <wallet/rpc/wallet.h>
|
||||
#include <wallet/rpc/util.h>
|
||||
#include <wallet/wallet.h>
|
||||
#include <wallet/walletdb.h>
|
||||
#include <wallet/walletutil.h>
|
||||
|
||||
#include <optional>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <univalue.h>
|
||||
|
||||
#include <map>
|
||||
|
||||
|
||||
/** Checks if a CKey is in the given CWallet compressed or otherwise*/
|
||||
bool HaveKey(const SigningProvider& wallet, const CKey& key)
|
||||
@ -592,23 +574,8 @@ static RPCHelpMan upgradewallet()
|
||||
};
|
||||
}
|
||||
|
||||
RPCHelpMan abortrescan();
|
||||
RPCHelpMan dumpprivkey();
|
||||
RPCHelpMan importprivkey();
|
||||
RPCHelpMan importaddress();
|
||||
RPCHelpMan importpubkey();
|
||||
RPCHelpMan dumpwallet();
|
||||
RPCHelpMan importwallet();
|
||||
RPCHelpMan importprunedfunds();
|
||||
RPCHelpMan removeprunedfunds();
|
||||
RPCHelpMan importmulti();
|
||||
RPCHelpMan importdescriptors();
|
||||
RPCHelpMan listdescriptors();
|
||||
RPCHelpMan signmessage();
|
||||
RPCHelpMan backupwallet();
|
||||
RPCHelpMan restorewallet();
|
||||
|
||||
// addresses
|
||||
RPCHelpMan getaddressinfo();
|
||||
RPCHelpMan getnewaddress();
|
||||
RPCHelpMan getrawchangeaddress();
|
||||
RPCHelpMan setlabel();
|
||||
@ -622,6 +589,22 @@ RPCHelpMan listlabels();
|
||||
RPCHelpMan walletdisplayaddress();
|
||||
#endif // ENABLE_EXTERNAL_SIGNER
|
||||
|
||||
// backup
|
||||
RPCHelpMan abortrescan();
|
||||
RPCHelpMan dumpprivkey();
|
||||
RPCHelpMan importprivkey();
|
||||
RPCHelpMan importaddress();
|
||||
RPCHelpMan importpubkey();
|
||||
RPCHelpMan dumpwallet();
|
||||
RPCHelpMan importwallet();
|
||||
RPCHelpMan importprunedfunds();
|
||||
RPCHelpMan removeprunedfunds();
|
||||
RPCHelpMan importmulti();
|
||||
RPCHelpMan importdescriptors();
|
||||
RPCHelpMan listdescriptors();
|
||||
RPCHelpMan backupwallet();
|
||||
RPCHelpMan restorewallet();
|
||||
|
||||
// coins
|
||||
RPCHelpMan getreceivedbyaddress();
|
||||
RPCHelpMan getreceivedbylabel();
|
||||
@ -648,6 +631,10 @@ RPCHelpMan psbtbumpfee();
|
||||
RPCHelpMan send();
|
||||
RPCHelpMan walletprocesspsbt();
|
||||
RPCHelpMan walletcreatefundedpsbt();
|
||||
RPCHelpMan signrawtransactionwithwallet();
|
||||
|
||||
// signmessage
|
||||
RPCHelpMan signmessage();
|
||||
|
||||
// transactions
|
||||
RPCHelpMan listreceivedbyaddress();
|
||||
|
@ -11,6 +11,4 @@ class CRPCCommand;
|
||||
|
||||
Span<const CRPCCommand> GetWalletRPCCommands();
|
||||
|
||||
RPCHelpMan getaddressinfo();
|
||||
RPCHelpMan signrawtransactionwithwallet();
|
||||
#endif // BITCOIN_WALLET_RPC_WALLET_H
|
||||
|
Loading…
Reference in New Issue
Block a user