aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-12-06[Qt] misc PaymentServer changes (e.g. changes to eventFilter())Philip Kaufmann
- 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
2013-12-06Merge pull request #3353Wladimir J. van der Laan
1e01f7c Payment request URI syntax changed, from request=... to r=... (Gavin Andresen)
2013-12-05fix typo in rpcnet.cppPhilip Kaufmann
2013-12-05Merge pull request #3356Wladimir J. van der Laan
d3ef9b0 Prevent empty transactions from being added to vtxPrev (Wladimir J. van der Laan)
2013-12-04Refuse to retransmit transactions without vinsWladimir J. van der Laan
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.
2013-12-04Prevent empty transactions from being added to vtxPrevWladimir J. van der Laan
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.
2013-12-04qt: use deleteLater to remove send entriesWladimir J. van der Laan
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.
2013-12-04Payment request URI syntax changed, from request=... to r=...Gavin Andresen
BIP 72 was changed to save six bytes in bitcoin: URIs.
2013-12-03Merge pull request #3285Wladimir J. van der Laan
d3207b6 [Qt] coin-control features GUI cleanup 3 (Philip Kaufmann) 834e14e [Qt] coin-control features GUI cleanup 2 (Philip Kaufmann)
2013-12-03Merge pull request #3320 from laanwj/2013_11_cli_splitGavin Andresen
bitcoin-cli: remove unneeded dependencies (only minor code movement)
2013-12-03bitcoin-cli: remove unneeded dependencies (only code movement)Wladimir J. van der Laan
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
2013-12-02Sanitize assert usage and refuse to compile with NDEBUG.Gregory Maxwell
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.
2013-12-02[Qt] coin-control features GUI cleanup 3Philip Kaufmann
- 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
2013-12-02[Qt] coin-control features GUI cleanup 2Philip Kaufmann
- 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
2013-12-02Lossless image optimizationSined
less bytes, same images
2013-12-02Merge pull request #3339Wladimir J. van der Laan
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)
2013-12-01Fix a rare crash on Mac OS X, by removing a setFocus on the payTo field that ↵Ryan Niebur
was not necessary, as the field still receives focus without it.
2013-12-02Make unit tests succeed with -DDEBUG_LOCKORDERGavin Andresen
2013-12-01Merge pull request #3329 from gavinandresen/syncdebugGavin Andresen
mutex debugging routines: LocksHeld() and AssertLockHeld()
2013-12-01Merge pull request #3306Wladimir J. van der Laan
84b695c [Qt] allow deletion of payment-requests in sendcoins (Philip Kaufmann)
2013-11-30Add verbose boolean to getrawmempoolGavin Andresen
Also changes mempool to store CTxMemPoolEntries to keep track of when they enter/exit the pool.
2013-11-30Refactor: move GetValueIn(tx) to tx.GetValueIn()Gavin Andresen
GetValueIn makes more sense as a CTransaction member.
2013-11-30Remove dead transaction replacement codeGavin Andresen
This dead code can be resurrected from git history if transaction replacement is ever implemented. Keeping dead code in the source is a bad idea, because it implies it was tested and worked at some point, which is not true.
2013-11-29Merge pull request #3309Wladimir J. van der Laan
9ac5a01 Move types.h include before ifaddres.h for u_int declaration (Robert Backhaus)
2013-11-29mutex debugging routines: LocksHeld() and AssertLockHeld()Gavin Andresen
2013-11-28bitcoin-cli: Add missing SelectParamsFromCommandLineWladimir J. van der Laan
The SelectParamsFromCommandLine call was missing in bitcoin-cli, which caused `-testnet` and `-regtest` to be ignored. Add this call just like in bitcoind.cpp.
2013-11-27prevent Windows redefinition warning cause by compat.hPhilip Kaufmann
2013-11-27Merge pull request #3284Wladimir J. van der Laan
fb78cc2 Split up bitcoinrpc (code movement only) (Wladimir J. van der Laan)
2013-11-27Merge pull request #3296Wladimir J. van der Laan
a946aa8 Store and use a sanitized subVer (Mike Hearn) ba6a4ea Add some additional logging to give extra network insight. (Mike Hearn)
2013-11-27Split up bitcoinrpc (code movement only)Wladimir J. van der Laan
Split bitcoinrpc up into - rpcserver: bitcoind RPC server - rpcclient: bitcoin-cli RPC client - rpcprotocol: shared common HTTP/JSON-RPC protocol code One step towards making bitcoin-cli independent from the rest of the code, and thus a smaller executable that doesn't have to be linked against leveldb. This commit only does code movement, there are no functional changes.
2013-11-26qt: restore icon dock menutheuni
This was removed by 25c0cce7f. It was apparently removed in qt5, but may return for 5.1.
2013-11-26Store and use a sanitized subVerMike Hearn
2013-11-26Add some additional logging to give extra network insight.Mike Hearn
2013-11-25Fix uninitialized variable added in b33b9a6fetheuni
After discussing with BlueMatt, this appears to be harmless in its current state since it's always set before it's used. Initialize it anyway for readability and future safety.
2013-11-25Merge pull request #3294Wladimir J. van der Laan
c8b7425 setgenerate creates multiple blocks in -regtest mode (Gavin Andresen)
2013-11-24[Qt] allow deletion of payment-requests in sendcoinsPhilip Kaufmann
- 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)
2013-11-24Merge pull request #3300Wladimir J. van der Laan
848fe68 cleanup error message consistency (Julian Langschaedel)
2013-11-22Move types.h include before ifaddres.h for u_int declarationRobert Backhaus
2013-11-22Merge pull request #3273Wladimir J. van der Laan
fb0507f qt: show all units in send confirmation (Wladimir J. van der Laan)
2013-11-22cleanup error message consistencyJulian Langschaedel
relicts from the CTransaction refactor.
2013-11-22setgenerate creates multiple blocks in -regtest modeGavin Andresen
I'm writing some wallet regression tests using -regtest mode, and need to generate an initial multi-hundred-block chain. Repeatedly calling setgenerate to generate one block is slow and doesn't work properly, because block creation happens asynchronously. This adds two features to setgenerate in -regtest mode: 1) Instead of being interpreted as number of threads to start, the third argument is the number of blocks to generate. 2) setgenerate will not return until the block creation threads have created the requested number of blocks.
2013-11-21Merge pull request #3287Wladimir J. van der Laan
67448b2 [Qt] make a UI element in sendcoins non-validated (Philip Kaufmann)
2013-11-20Merge pull request #3283 from gavinandresen/rpcwaitGavin Andresen
RPC client option: -rpcwait, to wait for server start
2013-11-20Merge pull request #3257Wladimir J. van der Laan
379778b core: remove includes in .cpp, if header is already in .h (Philip Kaufmann)
2013-11-20[Qt] make a UI element in sendcoins non-validatedPhilip Kaufmann
- this was unused for the label and also makes no sense, so remove it
2013-11-20RPC client option: -rpcwait, to wait for server startGavin Andresen
2013-11-18Update ax_pthread.m4 to serial 21Guillermo Céspedes Tabárez
- Add support for Clang Further details can be found at http://savannah.gnu.org/patch/?8186
2013-11-18Update ax_boost_thread.m4 to serial 27Guillermo Céspedes Tabárez
- Use 'ls -r' in order to try newer version before older ones. Simplify ls pattern so also dylibs are detected.
2013-11-18Update ax_boost_system.m4 to serial 17Guillermo Céspedes Tabárez
- Use 'ls -r' rather than non-portable tool 'tac'. Simplify filepattern in ls expression so dylib (on OSX) are also detected.
2013-11-18Update ax_boost_program_options.m4 serial 22Guillermo Céspedes Tabárez
- Fixed detection of dynamic libraries on Mac OS X (*.dylib) See http://savannah.gnu.org/patch/?7719 for further details.