aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | some string and indentation updates in init/rpcclientPhilip Kaufmann2013-12-092-9/+9
| | | | | | | | |
* | | | | | | | | Merge pull request #3368 from laanwj/2013_11_disable_wallet_miningGavin Andresen2013-12-097-82/+100
|\ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / |/| | | | | | | | Allow mining RPCs with --disable-wallet
| * | | | | | | | Re-enable miner tests in --disable-wallet modeWladimir J. van der Laan2013-12-092-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a fixed script instead of a CReserveKey from the wallet. This does not affect the functionality or result of the tests as they never check the state of the wallet in the first place.
| * | | | | | | | Move internal miner functionality togetherWladimir J. van der Laan2013-12-091-53/+52
| | | | | | | | |
| * | | | | | | | Allow mining RPCs with --disable-walletWladimir J. van der Laan2013-12-095-20/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following mining-related RPC calls don't use the wallet: - getnetworkhashps - getmininginfo - getblocktemplate - submitblock Enable them when compiling with --disable-wallet.
* | | | | | | | | Merge pull request #3207Wladimir J. van der Laan2013-12-0911-73/+409
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 666893b qt: keep a list of requested payments (Wladimir J. van der Laan)
| * | | | | | | | | qt: keep a list of requested paymentsWladimir J. van der Laan2013-11-1911-73/+409
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keep a list of requested payments in the Receive tab so that a user can recall previously created requests after closing their windows. Currently this list is not stored between bitcoin-qt sessions. This can be implemented later, but it is not clear where it should be stored as I don't think it belongs in the wallet (maybe in QSettings?)
* | | | | | | | | | rpcwallet: use EnsureWalletIsUnlocked() where possiblePhilip Kaufmann2013-12-091-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - replaces a pwalletMain->IsLocked() check - in keypoolrefill init kpSize to 0 as we have the logic to determine max kpSize in pwalletMain->TopUpKeyPool() anyway
* | | | | | | | | | Merge pull request #3297Wladimir J. van der Laan2013-12-092-8/+19
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 84f8551 [Qt] misc small Mac related changes/cleanups (Philip Kaufmann)
| * | | | | | | | | | [Qt] misc small Mac related changes/cleanupsPhilip Kaufmann2013-12-092-8/+19
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - cleanup Info.plist.in and specify high DPI mode enable command as per http://blog.qt.digia.com/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/ - move setting of QApplication::setAttribute() to bitcoin.cpp and add attribute for enabling use of high DPI pixmaps for Qt >= 5.1 - add missing setWindowTitle() on Mac - cleanup Mac / non-Mac setup in bitcoingui.cpp
* | | | | | | | | | Merge pull request #3373Wladimir J. van der Laan2013-12-091-3/+3
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | 80ecf67 Add ThreadGetMyExternalIP to net thread group (Gavin Andresen)
| * | | | | | | | | Add ThreadGetMyExternalIP to net thread groupGavin Andresen2013-12-091-3/+3
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Fixes #3372 -- crash at shutdown.
* / | | | | | | | Add main-specific node statePieter Wuille2013-12-088-48/+158
|/ / / / / / / /
* | | | | | | | Merge pull request #3348Wladimir J. van der Laan2013-12-089-13/+14
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | ccd1372 [Qt] small notificator and style changes (Philip Kaufmann)
| * | | | | | | | [Qt] small notificator and style changesPhilip Kaufmann2013-12-039-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove default arguments for notificator - re-order some calls to use same ordering in Qt files - style police changes (spaces, comments and such)
* | | | | | | | | Merge pull request #3322Wladimir J. van der Laan2013-12-081-2/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26d1b65 src/Makefile.am: Simplify clean of leveldb (Josh Triplett) a26a367 configure.ac: Check for miniupnpc headers, not just -lminiupnpc (Josh Triplett) 82ccb05 autogen.sh: Stop passing --verbose to autoreconf (Josh Triplett) e12dafd autogen.sh: Use long options to autoreconf, for self-documentation (Josh Triplett) 19b9add autogen.sh: Support running from outside the source directory (Josh Triplett) 97d285a autogen.sh: Use set -e to fail if any command fails (Josh Triplett) f80b723 autogen.sh: Add a /bin/sh shebang. (Josh Triplett)
| * | | | | | | | | src/Makefile.am: Simplify clean of leveldbJosh Triplett2013-11-271-2/+1
| | | | | | | | | |
* | | | | | | | | | Merge pull request #3332Wladimir J. van der Laan2013-12-0821-534/+651
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5094f8d Split off rpc_wallet_tests (Wladimir J. van der Laan) 829c920 Move CCryptoKeyStore to crypter.cpp (Wladimir J. van der Laan) ae6ea5a Update build-unix.md to mention --disable-wallet (Wladimir J. van der Laan) 4f9e993 Add --disable-wallet option to build system (Wladimir J. van der Laan) d004d72 Move CAddrDB frrom db to net (Wladimir J. van der Laan) 48ba56c Delimit code with #ifdef ENABLE_WALLET (Wladimir J. van der Laan) 991685d Move getinfo to rpcnet.cpp (Wladimir J. van der Laan) bbb0936 Move HelpExample* from rpcwallet to rpcserver (Wladimir J. van der Laan)
| * | | | | | | | | Split off rpc_wallet_testsWladimir J. van der Laan2013-12-043-72/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split wallet tests from other RPC tests. Now no #ifdef ENABLE_WALLET are needed anymore in either file.
| * | | | | | | | | Move CCryptoKeyStore to crypter.cppWladimir J. van der Laan2013-12-045-237/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This breaks the dependency on crypter for disable-wallet builds.
| * | | | | | | | | Add --disable-wallet option to build systemWladimir J. van der Laan2013-12-045-12/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it possible to build Bitcoin without wallet (and thus without BDB) so that it only functions as node.
| * | | | | | | | | Move CAddrDB frrom db to netWladimir J. van der Laan2013-12-044-128/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a leftover from the times in which peers.dat depended in BDB. Other functions in db.cpp still depend on BerkelyDB, to be able to compile without BDB this (small) functionality needs to be moved to another file.
| * | | | | | | | | Delimit code with #ifdef ENABLE_WALLETWladimir J. van der Laan2013-12-046-24/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Delimit all code that uses the wallet functions in implementation files that conditionally use the wallet.
| * | | | | | | | | Move getinfo to rpcnet.cppWladimir J. van der Laan2013-12-042-58/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Where to place `getinfo` is a difficult issue as it shows information from the wallet, net and block chain. However, I moved it out of rpcwallet as the command needs also to be available without wallet.
| * | | | | | | | | Move HelpExample* from rpcwallet to rpcserverWladimir J. van der Laan2013-12-042-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | General functions used throughout the RPC framework don't belong in rpcwallet.
* | | | | | | | | | Merge pull request #3365 from gmaxwell/hexifyGavin Andresen2013-12-061-1/+1
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | Restore hex to getrawtransaction vout scriptPubkey.
| * | | | | | | | | | Restore hex to getrawtransaction vout scriptPubkey.Gregory Maxwell2013-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit be066fad accidentally removed the hex field. This gets in the way of doing offline signing. (credit belongs to sipa for actually looking for the cause instead of being lazy like me and just shrugging and writing the scriptpubkey from the asm.)
* | | | | | | | | | | [Qt] misc PaymentServer changes (e.g. changes to eventFilter())Philip Kaufmann2013-12-065-19/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - make eventFilter() private and pass events on to QObject::eventFilter() instead of just returning false - re-work paymentservertest.cpp to correctly handle the event test after the above change (rewrite test_main to allow usage of QCoreApplication:: in the tests) - delete socket when we were unable to connect in ipcSendCommandLine() - show a message to the user if we fail to start-up (instead of just a debug.log entry) - misc small comment changes
* | | | | | | | | | | Merge pull request #3353Wladimir J. van der Laan2013-12-062-3/+3
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | 1e01f7c Payment request URI syntax changed, from request=... to r=... (Gavin Andresen)
| * | | | | | | | | | Payment request URI syntax changed, from request=... to r=...Gavin Andresen2013-12-042-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BIP 72 was changed to save six bytes in bitcoin: URIs.
* | | | | | | | | | | fix typo in rpcnet.cppPhilip Kaufmann2013-12-051-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #3356Wladimir J. van der Laan2013-12-051-0/+4
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3ef9b0 Prevent empty transactions from being added to vtxPrev (Wladimir J. van der Laan)
| * | | | | | | | | | | Prevent empty transactions from being added to vtxPrevWladimir J. van der Laan2013-12-041-0/+4
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CWalletTx::AddSupportingTransactions() was adding empty transaction to vtxPrev in some cases. Skip over these. Part one of the solution to #3190. This prevents invalid vtxPrev from entering the wallet, but not current ones being transmitted.
* / | | | | | | | | | Refuse to retransmit transactions without vinsWladimir J. van der Laan2013-12-041-1/+4
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Versions of bitcoin before 0.8.6 have a bug that inserted empty transactions into the vtxPrev in the wallet, which will cause the node to be banned when retransmitted, hence add a check for !tx.vin.empty() before RelayTransaction.
* / / / / / / / / / qt: use deleteLater to remove send entriesWladimir J. van der Laan2013-12-041-2/+2
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use deleteLater() instead of delete, as it is not allowed to delete widgets directly in an event handler. Should solve the MacOSX random crashes on send with coincontrol.
* | | | | | | | | Merge pull request #3285Wladimir J. van der Laan2013-12-034-101/+147
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | d3207b6 [Qt] coin-control features GUI cleanup 3 (Philip Kaufmann) 834e14e [Qt] coin-control features GUI cleanup 2 (Philip Kaufmann)
| * | | | | | | | [Qt] coin-control features GUI cleanup 3Philip Kaufmann2013-12-023-42/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove style sheets from ui files and use Qt attributes instead - make some more strings untranslatable, to make life for translators easier - split up long tooltips an rework the texts a little
| * | | | | | | | [Qt] coin-control features GUI cleanup 2Philip Kaufmann2013-12-022-59/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - remove monospace labels from sendcoinsdialog also - use a validated line edit for the change address - add a tooltip to change address switch - ensure we have a valid change address in CoinControlDialog::coinControl->destChange or just CNoDestination() - some small ui file changes
* | | | | | | | | Merge pull request #3320 from laanwj/2013_11_cli_splitGavin Andresen2013-12-0313-107/+144
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | bitcoin-cli: remove unneeded dependencies (only minor code movement)
| * | | | | | | | | bitcoin-cli: remove unneeded dependencies (only code movement)Wladimir J. van der Laan2013-12-0313-107/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unnecessary dependencies for bitcoin-cli (leveldb, berkelydb, wallet, RPC server) Build system changes: - split libbitcoin.a into libbitcoin_common.a, libbitcoin_server.a and libbitcoin_cli.a Code changes (movement only): - split up HelpMessage into HelpMessage in init.cpp and HelpMessageCli in rpcclient.cpp - move uiInterface from init.cpp to util.cpp
* | | | | | | | | | Sanitize assert usage and refuse to compile with NDEBUG.Gregory Maxwell2013-12-023-7/+23
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were quite a few places where assert() was used with side effects, making operation with NDEBUG non-functional. This commit fixes all the cases I know about, but also adds an #error on NDEBUG because the code is untested without assertions and may still have vulnerabilities if used without assert.
* | | | | | | | | Lossless image optimizationSined2013-12-0244-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | less bytes, same images
* | | | | | | | | Merge pull request #3339Wladimir J. van der Laan2013-12-021-2/+0
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bae6c7e Fix a rare crash on Mac OS X, by removing a setFocus on the payTo field that was not necessary, as the field still receives focus without it. (Ryan Niebur)
| * | | | | | | | | Fix a rare crash on Mac OS X, by removing a setFocus on the payTo field that ↵Ryan Niebur2013-12-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | was not necessary, as the field still receives focus without it.
* | | | | | | | | | Make unit tests succeed with -DDEBUG_LOCKORDERGavin Andresen2013-12-021-0/+2
| | | | | | | | | |
* | | | | | | | | | Merge pull request #3329 from gavinandresen/syncdebugGavin Andresen2013-12-013-0/+23
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | mutex debugging routines: LocksHeld() and AssertLockHeld()
| * | | | | | | | | mutex debugging routines: LocksHeld() and AssertLockHeld()Gavin Andresen2013-11-293-0/+23
| | | | | | | | | |
* | | | | | | | | | Merge pull request #3306Wladimir J. van der Laan2013-12-015-130/+158
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 84b695c [Qt] allow deletion of payment-requests in sendcoins (Philip Kaufmann)
| * | | | | | | | | | [Qt] allow deletion of payment-requests in sendcoinsPhilip Kaufmann2013-11-245-130/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - this adds a delete button for insecure and secure payment requests in the sendcoins dialog - it also enables the delete button even for single and empty entries, as this is much easier to handle and doesn't need to special case single entries - big parts of the ui file were changed, because I copied the delete button and had to delete the layout too and created it from scratch (which seems to cleanup the rows and colums in the layout also, which is nice IMHO)
* | | | | | | | | | | Add verbose boolean to getrawmempoolGavin Andresen2013-11-3012-76/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also changes mempool to store CTxMemPoolEntries to keep track of when they enter/exit the pool.