port z_listsentbyaddress and add memo field from c00e30b210
This commit is contained in:
29
src/wallet/rpchushwallet.h
Normal file
29
src/wallet/rpchushwallet.h
Normal file
@@ -0,0 +1,29 @@
|
||||
// Copyright (c) 2016 The Bitcoin Core developers
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
#ifndef BITCOIN_WALLET_RPCHUSHWALLET_H
|
||||
#define BITCOIN_WALLET_RPCHUSHWALLET_H
|
||||
|
||||
struct balancestruct {
|
||||
CAmount confirmed;
|
||||
CAmount unconfirmed;
|
||||
CAmount locked;
|
||||
CAmount immature;
|
||||
};
|
||||
|
||||
void zsTxSpendsToJSON(const CWalletTx& wtx, UniValue& spends, CAmount& totalSpends, CAmount& filteredSpends, const std::string& strAddress, bool filterByAddress);
|
||||
void zsTxReceivedToJSON(const CWalletTx& wtx, UniValue& received, CAmount& totalReceived, const std::string& strAddress, bool filterByAddress);
|
||||
void zsTxSendsToJSON(const CWalletTx& wtx, UniValue& sends, CAmount& totalSends, const std::string& strAddress, bool filterByAddress);
|
||||
void zsWalletTxJSON(const CWalletTx& wtx, UniValue& ret, const std::string strAddress, bool fBool, const int returnType);
|
||||
|
||||
|
||||
class CRPCTable;
|
||||
|
||||
void RegisterHushExclusiveRPCCommands(CRPCTable &tableRPC);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif //BITCOIN_WALLET_RPCWALLET_H
|
||||
Reference in New Issue
Block a user