aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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.
2013-11-18Update ax_boost_filesystem.m4 to serial 26Guillermo Céspedes Tabárez
- Fixed cut-and-paste error. - See http://savannah.gnu.org/patch/?7576 for further details. - 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_base.m4 to serial 21Guillermo Céspedes Tabárez
- Add aarch64 to the list of lib64 architectures
2013-11-18Merge pull request #3267Wladimir J. van der Laan
0689f46 Coincontrol cleanup (e.g. add missing license) (Philip Kaufmann)
2013-11-18Coincontrol cleanup (e.g. add missing license)Philip Kaufmann
- add missing license headers - make compatible with Qt5 - enforce header cleanup style - small code style cleanups - rename Coin Control dialog into Coin Control Address Selection - use default font for the windows labels (no monospace)
2013-11-17qt: show all units in send confirmationWladimir J. van der Laan
Make users accustomed to the other subdivision units (mBTC, muBTC) by showing the total amount in all units in the confirmation dialog. This was recently raised on the mailing list and could be a preparation for switching over the default unit eventually.
2013-11-17doc: small doxygen updateWladimir J. van der Laan
I was merging change this every time before generation of the doxygen developer docs (https://dev.visucore.com/bitcoin/doxygen/) but there's no reason why it can't just be merged upstream.
2013-11-16[Qt] use GUIUtil::setClipboard() where possiblePhilip Kaufmann
2013-11-16Merge pull request #3253Wladimir J. van der Laan
6a86c24 Coin Control Features (Cozz Lovan) 8dfd8c6 pass nBytes as parameter to GetMinFee(..) (Cozz Lovan)
2013-11-16Merge pull request #3255Wladimir J. van der Laan
309f796 [Qt] make most Windows appear centered on main GUI (Philip Kaufmann)
2013-11-15orphan spaces cleanup ;-)Philip Kaufmann
2013-11-15core: remove includes in .cpp, if header is already in .hPhilip Kaufmann
- example: if util.h includes stdint.h, remove it from util.cpp, as util.h is the first header included in util.cpp