mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 07:17:53 +00:00
RPC, cosmetic: move wallet-related RPCs to new rpcwallet.cpp module
This commit is contained in:
parent
a483c27704
commit
e3bc569865
@ -210,6 +210,7 @@ SOURCES += src/qt/bitcoin.cpp src/qt/bitcoingui.cpp \
|
|||||||
src/rpcdump.cpp \
|
src/rpcdump.cpp \
|
||||||
src/rpcnet.cpp \
|
src/rpcnet.cpp \
|
||||||
src/rpcmining.cpp \
|
src/rpcmining.cpp \
|
||||||
|
src/rpcwallet.cpp \
|
||||||
src/rpcrawtransaction.cpp \
|
src/rpcrawtransaction.cpp \
|
||||||
src/qt/overviewpage.cpp \
|
src/qt/overviewpage.cpp \
|
||||||
src/qt/csvmodelwriter.cpp \
|
src/qt/csvmodelwriter.cpp \
|
||||||
|
1439
src/bitcoinrpc.cpp
1439
src/bitcoinrpc.cpp
File diff suppressed because it is too large
Load Diff
@ -70,4 +70,57 @@ public:
|
|||||||
|
|
||||||
extern const CRPCTable tableRPC;
|
extern const CRPCTable tableRPC;
|
||||||
|
|
||||||
|
extern int64 nWalletUnlockTime;
|
||||||
|
extern int64 AmountFromValue(const json_spirit::Value& value);
|
||||||
|
extern json_spirit::Value ValueFromAmount(int64 amount);
|
||||||
|
|
||||||
|
extern json_spirit::Value getconnectioncount(const json_spirit::Array& params, bool fHelp); // in rpcnet.cpp
|
||||||
|
extern json_spirit::Value getpeerinfo(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value dumpprivkey(const json_spirit::Array& params, bool fHelp); // in rpcdump.cpp
|
||||||
|
extern json_spirit::Value importprivkey(const json_spirit::Array& params, bool fHelp);
|
||||||
|
|
||||||
|
extern json_spirit::Value getgenerate(const json_spirit::Array& params, bool fHelp); // in rpcmining.cpp
|
||||||
|
extern json_spirit::Value setgenerate(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value gethashespersec(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value getmininginfo(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value getwork(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value getblocktemplate(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value submitblock(const json_spirit::Array& params, bool fHelp);
|
||||||
|
|
||||||
|
extern json_spirit::Value getnewaddress(const json_spirit::Array& params, bool fHelp); // in rpcwallet.cpp
|
||||||
|
extern json_spirit::Value getaccountaddress(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value setaccount(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value getaccount(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value getaddressesbyaccount(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value sendtoaddress(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value signmessage(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value verifymessage(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value getreceivedbyaddress(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value getreceivedbyaccount(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value getbalance(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value movecmd(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value sendfrom(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value sendmany(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value addmultisigaddress(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value listreceivedbyaddress(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value listreceivedbyaccount(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value listtransactions(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value listaccounts(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value listsinceblock(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value gettransaction(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value backupwallet(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value keypoolrefill(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value walletpassphrase(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value walletpassphrasechange(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value walletlock(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value encryptwallet(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value validateaddress(const json_spirit::Array& params, bool fHelp);
|
||||||
|
|
||||||
|
extern json_spirit::Value getrawtransaction(const json_spirit::Array& params, bool fHelp); // in rcprawtransaction.cpp
|
||||||
|
extern json_spirit::Value listunspent(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value createrawtransaction(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value decoderawtransaction(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value signrawtransaction(const json_spirit::Array& params, bool fHelp);
|
||||||
|
extern json_spirit::Value sendrawtransaction(const json_spirit::Array& params, bool fHelp);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -63,6 +63,7 @@ OBJS= \
|
|||||||
obj/rpcdump.o \
|
obj/rpcdump.o \
|
||||||
obj/rpcnet.o \
|
obj/rpcnet.o \
|
||||||
obj/rpcmining.o \
|
obj/rpcmining.o \
|
||||||
|
obj/rpcwallet.o \
|
||||||
obj/rpcrawtransaction.o \
|
obj/rpcrawtransaction.o \
|
||||||
obj/script.o \
|
obj/script.o \
|
||||||
obj/sync.o \
|
obj/sync.o \
|
||||||
|
@ -59,6 +59,7 @@ OBJS= \
|
|||||||
obj/rpcdump.o \
|
obj/rpcdump.o \
|
||||||
obj/rpcnet.o \
|
obj/rpcnet.o \
|
||||||
obj/rpcmining.o \
|
obj/rpcmining.o \
|
||||||
|
obj/rpcwallet.o \
|
||||||
obj/rpcrawtransaction.o \
|
obj/rpcrawtransaction.o \
|
||||||
obj/script.o \
|
obj/script.o \
|
||||||
obj/sync.o \
|
obj/sync.o \
|
||||||
|
@ -86,6 +86,7 @@ OBJS= \
|
|||||||
obj/rpcdump.o \
|
obj/rpcdump.o \
|
||||||
obj/rpcnet.o \
|
obj/rpcnet.o \
|
||||||
obj/rpcmining.o \
|
obj/rpcmining.o \
|
||||||
|
obj/rpcwallet.o \
|
||||||
obj/rpcrawtransaction.o \
|
obj/rpcrawtransaction.o \
|
||||||
obj/script.o \
|
obj/script.o \
|
||||||
obj/sync.o \
|
obj/sync.o \
|
||||||
|
@ -111,6 +111,7 @@ OBJS= \
|
|||||||
obj/rpcdump.o \
|
obj/rpcdump.o \
|
||||||
obj/rpcnet.o \
|
obj/rpcnet.o \
|
||||||
obj/rpcmining.o \
|
obj/rpcmining.o \
|
||||||
|
obj/rpcwallet.o \
|
||||||
obj/rpcrawtransaction.o \
|
obj/rpcrawtransaction.o \
|
||||||
obj/script.o \
|
obj/script.o \
|
||||||
obj/sync.o \
|
obj/sync.o \
|
||||||
|
1429
src/rpcwallet.cpp
Normal file
1429
src/rpcwallet.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user