diff options
| author | Karl-Johan Alm <[email protected]> | 2020-03-02 17:07:46 +0900 |
|---|---|---|
| committer | Karl-Johan Alm <[email protected]> | 2020-03-02 17:27:36 +0900 |
| commit | 79facb11e92f8b61063f301027dee7c7344eb1be (patch) | |
| tree | 679dc474592a62f9c977ac78bb9968158d4e9ca1 /src/script/script_error.cpp | |
| parent | wallet: make ReserveDestination pwallet ivar const (diff) | |
| download | discoin-79facb11e92f8b61063f301027dee7c7344eb1be.tar.xz discoin-79facb11e92f8b61063f301027dee7c7344eb1be.zip | |
wallet: use constant CWallets in rpcwallet.cpp
* GetAvoidReuseFlag: simply gets the flag, without modifying the wallet
* ListReceived: helper function to produce lists
* ListTransactions: produces a list of transactions, without modifications; two cases of map [] -> .at() for verified-existing keys
* DescribeWalletAddress: generates a description of a given wallet address without changing the wallet
* The following functions produce a list without making any modifications to the wallet:
* listaddressgroupings
* listreceivedbyaddress
* listreceivedbylabel
* listtransactions
* listsinceblock
* listlockunspent
* listunspent
* listlabels
* getreceivedbyaddress
* getreceivedbylabel
* getaddressesbylabel
* signmessage: uses the wallet to procure a private key for signing, but does no modifications
* getbalance, getunconfirmedbalance: calculates the wallet balance, without any modifications
* gettransaction: procures transaction without any modifications
* backupwallet: makes a backup of the wallet to disk, without changing said wallet
* getwalletinfo: produces info about wallet without any modifications
* signrawtransactionwithwallet: modifies incoming transaction on the fly by signing with private key procured from within wallet; no modifications to wallet
* getaddressinfo: gets information about the given address, with no modifications done to the wallet; one case of [] -> .at() and one ::iterator -> ::const_iterator
* walletprocesspsbt: processes the given PSBT on the fly, without modifying the wallet
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions