aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | fixed bug in ListReceived()JaSK2014-07-021-1/+1
| | | | | | | |
| * | | | | | | Added MINE_ALL = (spendable|watchonly)JaSK2014-07-025-13/+14
| | | | | | | |
| * | | | | | | Fixed some stuff in TransactionDescJaSK2014-07-022-22/+16
| | | | | | | |
| * | | | | | | removed default argument values for ismine filterJaSK2014-07-025-31/+32
| | | | | | | |
| * | | | | | | Use script matching rather than destination matching for watch-only.Pieter Wuille2014-07-029-47/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the keystore data format, wallet format and IsMine logic to detect watch-only outputs based on direct script matching rather than first trying to convert outputs to destinations (addresses). The reason is that we don't know how the software that has the spending keys works. It may support the same types of scripts as us, but that is not guaranteed. Furthermore, it removes the ambiguity between addresses used as identifiers for output scripts or identifiers for public keys. One practical implication is that adding a normal pay-to-pubkey-hash address via importaddress will not cause payments to the corresponding full public key to be detected as IsMine. If that is wanted, add those scripts directly (importaddress now also accepts any hex-encoded script). Conflicts: src/wallet.cpp
| * | | | | | | added includedWatchonly argument to listreceivedbyaddress/...accountJaSK2014-07-022-8/+33
| | | | | | | |
| * | | | | | | added includeWatchonly argument to 'gettransaction' because it affects ↵JaSK2014-07-022-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | balance calculation
| * | | | | | | fixed tiny glitch and improved readability like laanwj suggestedJaSK2014-07-024-49/+37
| | | | | | | |
| * | | | | | | Added argument to listtransactions and listsinceblock to include watchonly ↵JaSK2014-07-022-23/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | addresses
| * | | | | | | Showing 'involvesWatchonly' property for transactions returned by ↵JaSK2014-07-022-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'listtransactions' and 'listsinceblock'. It is only appended when the transaction involves a watchonly address.
| * | | | | | | Added argument to listaccounts to include watchonly addressesJaSK2014-07-022-5/+13
| | | | | | | |
| * | | | | | | Added argument to getbalance to include watchonly addresses and fixed errors ↵JaSK2014-07-024-24/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in balance calculation.
| * | | | | | | Watchonly transactions are marked in transaction historyJaSK2014-07-023-4/+17
| | | | | | | |
| * | | | | | | Watchonly balances are shown separately in gui.JaSK2014-07-0214-237/+601
| | | | | | | |
| * | | | | | | qt: Hide unspendable outputs in coin controlWladimir J. van der Laan2014-07-022-2/+6
| | | | | | | |
| * | | | | | | Add support for watch-only addressesPieter Wuille2014-07-0216-52/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Add Add/Have WatchOnly methods to CKeyStore, and implementations in CBasicKeyStore. * Add similar methods to CWallet, and support entries for it in CWalletDB. * Make IsMine in script/wallet return a new enum 'isminetype', rather than a boolean. This allows distinguishing between spendable and unspendable coins. * Add a field fSpendable to COutput (GetAvailableCoins' return type). * Mark watchonly coins in listunspent as 'watchonly': true. * Add 'watchonly' to validateaddress, suppressing script/pubkey/... in this case. Based on a patch by Eric Lombrozo. Conflicts: src/qt/walletmodel.cpp src/rpcserver.cpp src/wallet.cpp
* | | | | | | | Fix the build for windowsWladimir J. van der Laan2014-07-071-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem introduced in caf6150. Thanks to @drak for noticing. Fixes #4473.
* | | | | | | | Merge pull request #4327Wladimir J. van der Laan2014-07-079-172/+50
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a339a37 error out, when we detect -socks argument (Philip Kaufmann) 0127a9b remove SOCKS4 support from core and GUI (Philip Kaufmann)
| * | | | | | | | error out, when we detect -socks argumentPhilip Kaufmann2014-07-071-0/+3
| | | | | | | | |
| * | | | | | | | remove SOCKS4 support from core and GUIPhilip Kaufmann2014-07-079-172/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - now we support SOCKS5 only
* | | | | | | | | Merge pull request #4466Wladimir J. van der Laan2014-07-078-3/+21
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ad87bc4 [Qt] Replace status bar unit icon with actual images (Cozz Lovan)
| * | | | | | | | | [Qt] Replace status bar unit icon with actual imagesCozz Lovan2014-07-058-3/+21
| | |_|/ / / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #4401Wladimir J. van der Laan2014-07-071-2/+4
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cf04d83 add OpenSSL RAND_cleanup() on OpenSSL shutdown (Philip Kaufmann)
| * | | | | | | | | add OpenSSL RAND_cleanup() on OpenSSL shutdownPhilip Kaufmann2014-06-261-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - to securely erase the memory used by the PNRG - also rework 2 comments in OpenSSL init
* | | | | | | | | | Merge pull request #4399Wladimir J. van der Laan2014-07-071-3/+16
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 674c070 [Qt] seed OpenSSL PNRG with Windows event data (Philip Kaufmann)
| * | | | | | | | | | [Qt] seed OpenSSL PNRG with Windows event dataPhilip Kaufmann2014-07-041-3/+16
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - see https://bitcointalk.org/index.php?topic=113496.msg1228193#msg1228193 for the initial suggestion for this - also ensure consistent debug.log message format
* | | | | | | | | | Merge pull request #4373Wladimir J. van der Laan2014-07-071-2/+14
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ec5a3d rpc: Prevent easy memory exhaustion attack (Wladimir J. van der Laan)
| * | | | | | | | | | rpc: Prevent easy memory exhaustion attackWladimir J. van der Laan2014-07-041-2/+14
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allocate memory for POST message data only as bytes come in, instead of all at once at the beginning. Fixes #4343.
* | | | | | | | | | Merge pull request #4446Wladimir J. van der Laan2014-07-079-19/+19
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 209377a Use GetBlockTime() more (jtimon)
| * | | | | | | | | | Use GetBlockTime() morejtimon2014-07-079-19/+19
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #4470Wladimir J. van der Laan2014-07-072-8/+62
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f4b00be Add CChain::GetLocator() unit test (Pieter Wuille) 3c85d2e Fix CChain::GetLocator (Pieter Wuille)
| * | | | | | | | | | | Add CChain::GetLocator() unit testPieter Wuille2014-07-061-0/+56
| | | | | | | | | | | |
| * | | | | | | | | | | Fix CChain::GetLocatorPieter Wuille2014-07-061-8/+6
| | |/ / / / / / / / / | |/| | | | | | | | |
* | | | | | | | | | | Merge pull request #4463Wladimir J. van der Laan2014-07-073-25/+19
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | e832ab7 Rename SendMoneyToDestination to SendMoney. (Daniel Kraft)
| * | | | | | | | | | Rename SendMoneyToDestination to SendMoney.Daniel Kraft2014-07-073-25/+19
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Get rid of SendMoney and replace it by the functionality of SendMoneyToDestination. This cleans up the code, since only SendMoneyToDestination was actually used (SendMoney internally from this routine).
* | | | | | | | | | Merge pull request #4462Wladimir J. van der Laan2014-07-072-10/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3d0e92d [Qt] remove dup includes in bitcoingui (Philip Kaufmann)
| * | | | | | | | | | [Qt] remove dup includes in bitcoinguiPhilip Kaufmann2014-07-042-10/+1
| | |/ / / / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #4467Wladimir J. van der Laan2014-07-071-3/+0
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1f740dd Remove unused variable (R E Broadley)
| * | | | | | | | | | Remove unused variableR E Broadley2014-07-051-3/+0
| |/ / / / / / / / /
* | | | | | | | | | Move ui_interface to bitcoin_server.aWladimir J. van der Laan2014-07-075-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no need for it in the utility libraries or tools. Put it in init.cpp, and in the tests separately (as they can't link init).
* | | | | | | | | | qt: Pick translation messages only from necessary filesWladimir J. van der Laan2014-07-072-35/+43
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Utility libraries (common, util) as well as extra tools shouldn't be parsed for translation messages, only the server and wallet part qualify here.
* | | | | | | | | Merge pull request #4457Wladimir J. van der Laan2014-07-071-13/+7
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 834e46e CBlockIndex()::SetNull() method to avoid code repetition (jtimon)
| * | | | | | | | | CBlockIndex()::SetNull() method to avoid code repetitionjtimon2014-07-021-13/+7
| | |_|/ / / / / / | |/| | | | | | |
* | | | | | | | | Merge pull request #4472Wladimir J. van der Laan2014-07-073-3/+9
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | 9f4da19 Use pong receive time rather than processing time (Pieter Wuille)
| * | | | | | | | Use pong receive time rather than processing timePieter Wuille2014-07-063-3/+9
| |/ / / / / / /
* | | | | | | | Merge pull request #4421Wladimir J. van der Laan2014-07-041-1/+59
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | caf6150 Use async name resolving to improve net thread responsiveness (Huang Le)
| * | | | | | | | Use async name resolving to improve net thread responsivenessHuang Le2014-06-271-1/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the LookupIntern(), things changed are: 1. Call getaddrinfo_a() instead of getaddrinfo() if available, the former is a sync version of the latter; 2. Try using inet_pton()/inet_addr() to convert the input text to a network addr structure at first, if success the extra name resolving thread inside getaddrinfo_a() could be avoided; 3. An interruption point added in the waiting loop for return from getaddrinfo_a(), which completes the improve for thread responsiveness. A easy way to see the effect is to kick off a 'bitcoind stop' immediately after 'bitcoind -daemon', before the change it would take several, or even tens of, minutes on a bad network situation to wait for the running bitcoind to exit, now it costs only seconds. Signed-off-by: Huang Le <[email protected]>
* | | | | | | | | Merge pull request #3764Wladimir J. van der Laan2014-07-046-25/+35
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2e36866 Show nodeid instead of addresses (for anonymity) unless otherwise requested. (R E Broadley)
| * | | | | | | | | Show nodeid instead of addresses (for anonymity) unless otherwise requested.R E Broadley2014-07-046-25/+35
| | | | | | | | | |
* | | | | | | | | | Merge pull request #4450Wladimir J. van der Laan2014-07-043-66/+64
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0da6b3f Remove signal DoubleSpendDetected, use function (Tom Harding) 88dd359 Check signatures before respend relay (Tom Harding)