aboutsummaryrefslogtreecommitdiff
path: root/src/rpcwallet.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Move Only] Move wallet related things to src/wallet/Jonas Schnelli2015-03-121-2066/+0
| | | | could once be renamed from /src/wallet to /src/legacywallet.
* minor rework of SendMoney in rpcwalletPhilip Kaufmann2015-02-041-16/+11
| | | | | | | - rework the function to not log errors but use throw JSONRPCError - remove a check for IsLocked() that is done in sendtoaddress and sendfrom RPC calls already - cache GetBalance() return value, because it's possibly used twice
* Merge pull request #5711Wladimir J. van der Laan2015-02-041-2/+67
|\ | | | | | | | | 5ebe095 Trim RPC command table (Wladimir J. van der Laan) 4401b2d Removed main.h dependency from rpcserver.cpp (Eric Lombrozo)
| * Removed main.h dependency from rpcserver.cppEric Lombrozo2015-01-281-2/+67
| | | | | | | | | | | | | | | | Rebased by @laanwj: - update for RPC methods added since 84d13ee: setmocktime, invalidateblock, reconsiderblock. Only the first, setmocktime, required a change, the other two are thread safe.
* | Remove whitespaces before double colon in errors and logsPavel Janík2015-01-311-2/+2
| |
* | Fix typo - sentence starts with capital letterPavel Janík2015-01-311-1/+1
|/
* Merge pull request #5575Wladimir J. van der Laan2015-01-261-41/+32
|\ | | | | | | 7b782f5 RPCWallet: Notate all account stuff as deprecated (Luke Dashjr)
| * RPCWallet: Notate all account stuff as deprecatedLuke Dashjr2014-12-301-41/+32
| |
* | Merge pull request #5513Wladimir J. van der Laan2015-01-061-5/+3
|\ \ | | | | | | | | | | | | | | | 856e862 namespace: drop most boost namespaces and a few header cleanups (Cory Fields) 9b1ab86 namespace: drop boost::assign altogether here (Cory Fields) a324199 namespace: remove boost namespace pollution (Cory Fields)
| * | namespace: drop most boost namespaces and a few header cleanupsCory Fields2015-01-021-4/+3
| | | | | | | | | | | | A few boost::asio were left around because they're very wordy otherwise.
| * | namespace: remove boost namespace pollutionCory Fields2015-01-021-1/+0
| | |
* | | String conversions uint256 -> uint256SWladimir J. van der Laan2015-01-051-1/+1
| | | | | | | | | | | | | | | | | | | | | If uint256() constructor takes a string, uint256(0) will become dangerous when uint256 does not take integers anymore (it will go through std::string(const char*) making a NULL string, and the explicit keyword is no help).
* | | Replace direct use of 0 with SetNull and IsNullWladimir J. van der Laan2015-01-051-2/+2
| | | | | | | | | | | | | | | | | | Replace x=0 with .SetNull(), x==0 with IsNull(), x!=0 with !IsNull(). Replace uses of uint256(0) with uint256().
* | | Merge pull request #5540Pieter Wuille2015-01-041-1/+5
|\ \ \ | |/ / |/| | | | | | | | | | | 12d927a RPC test for immature balance (Jonas Schnelli) 8024d67 Add immature balances to getwalletinfo. (Gregory Maxwell) d44c545 Add unconfirmedbalance field to getwalletinfo (azeteki)
| * | Add immature balances to getwalletinfo.Gregory Maxwell2014-12-251-2/+4
| | |
| * | Add unconfirmedbalance field to getwalletinfoazeteki2014-12-251-1/+3
| | |
* | | Merge pull request #5576Wladimir J. van der Laan2014-12-311-2/+2
|\ \ \ | |/ / |/| | | | | 8f6860a Bugfix: RPCWallet: Docs: Booleans aren't quoted (Luke Dashjr)
| * | Bugfix: RPCWallet: Docs: Booleans aren't quotedLuke Dashjr2014-12-301-2/+2
| |/
* / Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
|/ | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Use RPC_INVALID_PARAMETER instead of RPC_WALLET_ERROR for invalid amount.Pavel Janík2014-12-051-3/+1
| | | | No return at the end of void function.
* Move SendMoney() to rpcwallet.cpp.Pavel Janík2014-12-021-7/+39
|
* Update comments in src/rpc* to be doxygen compatibleMichael Ford2014-11-201-1/+1
|
* Fix typo in listreceivedbyaddress and listaccounts help textMichael Ford2014-11-161-2/+2
|
* fix a typoYoichi Hirai2014-10-311-1/+1
|
* MOVEONLY: Move CFeeRate and Amount constants to amount.ojtimon2014-10-271-0/+1
|
* script: move CScriptID to standard.h and add a ctor for creating them from ↵Cory Fields2014-10-171-1/+1
| | | | | | | | | | | | | | | | CScripts This allows for a reversal of the current behavior. This: CScript foo; CScriptID bar(foo.GetID()); Becomes: CScript foo; CScriptID bar(foo); This way, CScript is no longer dependent on CScriptID or Hash();
* [Wallet] Watch-only fixesCozz Lovan2014-10-031-1/+1
|
* Merge pull request #4985Wladimir J. van der Laan2014-10-021-7/+12
|\ | | | | | | | | bc470c4 Changed mixed indentation to four spaces (Eric Shaw) 31d6390 Fixed setaccount accepting foreign address (Eric Shaw)
| * Fixed setaccount accepting foreign addressEric Shaw2014-10-021-7/+12
| | | | | | | | | | Fixed issue #4209 where using setaccount with a foreign address causes the address to be added to your receiving addresses.
* | Use a typedef for monetary valuesMark Friedenbach2014-09-261-31/+31
|/
* Merge pull request #4863Wladimir J. van der Laan2014-09-171-1/+2
|\ | | | | | | | | 1a61396 fix missing gettransaction entries in rpcclient (Benedict Chan) 57e1716 update rpc help message for gettransaction to add includeWatchonly param (Benedict Chan)
| * update rpc help message for gettransaction to add includeWatchonly paramBenedict Chan2014-09-161-1/+2
| |
* | Move CTxDestination from script/script to script/standardPieter Wuille2014-09-161-6/+3
|/
* Merge pull request #4825Pieter Wuille2014-09-161-1/+1
|\ | | | | | | 8d657a6 Fixing compiler warning C4800: 'type' forcing value to bool 'true' or 'false' (ENikS)
| * Fixing compiler warning C4800: 'type' forcing value to bool 'true' or 'false'ENikS2014-09-061-1/+1
| |
* | Introduce BlockMap type for mapBlockIndexPieter Wuille2014-09-041-1/+1
|/
* Fix typo in gettransaction helpDerek7012014-08-081-1/+1
|
* Consolidate CTransaction hex encode/decode into core_io.h, core_{read,write}.cppJeff Garzik2014-07-291-3/+2
|
* Revert "Add -respendnotify option and new RPC data"Wladimir J. van der Laan2014-07-211-22/+0
| | | | This reverts commit 9004798e62e987ddf50030b17fa1881b63dd5e45.
* Add vout to ListTransactions outputCozz Lovan2014-07-151-26/+31
|
* `getrawchangeaddress` should fail when keypool exhaustedWladimir J. van der Laan2014-07-111-1/+1
| | | | | | | | | | | | An user on IRC reported an issue where `getrawchangeaddress` keeps returning a single address when the keypool is exhausted. In my opinion this is strange behaviour. - Change CReserveKey to fail when running out of keys in the keypool. - Make `getrawchangeaddress` return RPC_WALLET_KEYPOOL_RAN_OUT when unable to create an address. - Add a Python RPC test for checking the keypool behaviour in combination with encrypted wallets.
* Merge pull request #4045Wladimir J. van der Laan2014-07-071-36/+91
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a3e192a replaced MINE_ with ISMINE_ (JaSK) 53a2148 fixed bug where validateaddress doesn't display information (JaSK) f28707a fixed bug in ListReceived() (JaSK) 519dd1c Added MINE_ALL = (spendable|watchonly) (JaSK) 23b0506 Fixed some stuff in TransactionDesc (JaSK) 80dda36 removed default argument values for ismine filter (JaSK) d5087d1 Use script matching rather than destination matching for watch-only. (Pieter Wuille) 0fa2f88 added includedWatchonly argument to listreceivedbyaddress/...account (JaSK) f87ba3d added includeWatchonly argument to 'gettransaction' because it affects balance calculation (JaSK) a5c6c5d fixed tiny glitch and improved readability like laanwj suggested (JaSK) d7d5d23 Added argument to listtransactions and listsinceblock to include watchonly addresses (JaSK) 952877e Showing 'involvesWatchonly' property for transactions returned by 'listtransactions' and 'listsinceblock'. It is only appended when the transaction involves a watchonly address. (JaSK) 83f3543 Added argument to listaccounts to include watchonly addresses (JaSK) d4640d7 Added argument to getbalance to include watchonly addresses and fixed errors in balance calculation. (JaSK) d2692f6 Watchonly transactions are marked in transaction history (JaSK) ffd40da Watchonly balances are shown separately in gui. (JaSK) 2935b21 qt: Hide unspendable outputs in coin control (Wladimir J. van der Laan) c898846 Add support for watch-only addresses (Pieter Wuille)
| * replaced MINE_ with ISMINE_JaSK2014-07-021-18/+18
| |
| * fixed bug in ListReceived()JaSK2014-07-021-1/+1
| |
| * removed default argument values for ismine filterJaSK2014-07-021-9/+9
| |
| * added includedWatchonly argument to listreceivedbyaddress/...accountJaSK2014-07-021-7/+31
| |
| * added includeWatchonly argument to 'gettransaction' because it affects ↵JaSK2014-07-021-2/+8
| | | | | | | | balance calculation
| * fixed tiny glitch and improved readability like laanwj suggestedJaSK2014-07-021-41/+29
| |
| * Added argument to listtransactions and listsinceblock to include watchonly ↵JaSK2014-07-021-22/+40
| | | | | | | | addresses
| * Showing 'involvesWatchonly' property for transactions returned by ↵JaSK2014-07-021-0/+5
| | | | | | | | | | | | 'listtransactions' and 'listsinceblock'. It is only appended when the transaction involves a watchonly address.