Wladimir J. van der Laan
5094f8d46f
Split off rpc_wallet_tests
...
Split wallet tests from other RPC tests.
Now no #ifdef ENABLE_WALLET are needed anymore in either file.
11 years ago
Wladimir J. van der Laan
829c920387
Move CCryptoKeyStore to crypter.cpp
...
This breaks the dependency on crypter for disable-wallet builds.
11 years ago
Wladimir J. van der Laan
ae6ea5a6fa
Update build-unix.md to mention --disable-wallet
...
Mention the new --disable-wallet mode.
Also, correct the BDB entry in the dependencies table.
11 years ago
Wladimir J. van der Laan
4f9e993bc9
Add --disable-wallet option to build system
...
Make it possible to build Bitcoin without wallet
(and thus without BDB) so that it only functions as node.
11 years ago
Wladimir J. van der Laan
d004d7279f
Move CAddrDB frrom db to net
...
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.
11 years ago
Wladimir J. van der Laan
48ba56cdfd
Delimit code with #ifdef ENABLE_WALLET
...
Delimit all code that uses the wallet functions
in implementation files that conditionally use the wallet.
11 years ago
Wladimir J. van der Laan
991685d3dc
Move getinfo to rpcnet.cpp
...
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.
11 years ago
Wladimir J. van der Laan
bbb093652e
Move HelpExample* from rpcwallet to rpcserver
...
General functions used throughout the RPC framework
don't belong in rpcwallet.
11 years ago
Wladimir J. van der Laan
00cfc9f074
Merge pull request #3355
...
6c98cca
qt: use deleteLater to remove send entries (Wladimir J. van der Laan)
11 years ago
Wladimir J. van der Laan
6c98cca9e4
qt: use deleteLater to remove send entries
...
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.
11 years ago
Gavin Andresen
1e01f7c506
Payment request URI syntax changed, from request=... to r=...
...
BIP 72 was changed to save six bytes in bitcoin: URIs.
11 years ago
Wladimir J. van der Laan
f15bd3c96f
Merge pull request #3285
...
d3207b6
[Qt] coin-control features GUI cleanup 3 (Philip Kaufmann)
834e14e
[Qt] coin-control features GUI cleanup 2 (Philip Kaufmann)
11 years ago
Philip Kaufmann
ccd1372dd0
[Qt] small notificator and style changes
...
- remove default arguments for notificator
- re-order some calls to use same ordering in Qt files
- style police changes (spaces, comments and such)
11 years ago
Gavin Andresen
cf74e8cb5e
Merge pull request #3320 from laanwj/2013_11_cli_split
...
bitcoin-cli: remove unneeded dependencies (only minor code movement)
11 years ago
Wladimir J. van der Laan
0b47fe6bdc
bitcoin-cli: remove unneeded dependencies (only code movement)
...
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
11 years ago
Gavin Andresen
0563ee952c
Merge pull request #3345 from Michagogo/gitian-descriptor-deps-input-typo
...
Fix file hash verification error in deps-win32.yml
11 years ago
Gavin Andresen
2aed2b30b1
Merge pull request #3344 from gmaxwell/assert_hazards
...
Sanitize assert usage and refuse to compile with NDEBUG.
11 years ago
Michagogo
c51e49b1a3
Fix file hash verification error in deps-win32.yml
...
libpng was being sha256summed twice, and miniupnpc wasn't being checked at all.
11 years ago
Gregory Maxwell
9b59e3bda8
Sanitize assert usage and refuse to compile with NDEBUG.
...
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.
11 years ago
Philip Kaufmann
d3207b6fa8
[Qt] coin-control features GUI cleanup 3
...
- 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
11 years ago
Philip Kaufmann
834e14e57f
[Qt] coin-control features GUI cleanup 2
...
- 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
11 years ago
Pieter Wuille
9ab7a0609e
Merge pull request #3341 from Need4Video/master
...
Lossless image optimization
11 years ago
Sined
d6cb85d50d
Lossless image optimization
...
less bytes, same images
11 years ago
Wladimir J. van der Laan
b9988c9e74
Merge pull request #3339
...
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)
11 years ago
Ryan Niebur
bae6c7e32b
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.
11 years ago
Gavin Andresen
49dc3a0f1a
Make unit tests succeed with -DDEBUG_LOCKORDER
11 years ago
Gavin Andresen
a65edb104d
Merge pull request #3329 from gavinandresen/syncdebug
...
mutex debugging routines: LocksHeld() and AssertLockHeld()
11 years ago
Wladimir J. van der Laan
40ad6e7f35
Merge pull request #3306
...
84b695c
[Qt] allow deletion of payment-requests in sendcoins (Philip Kaufmann)
11 years ago
Gavin Andresen
b78d1cdf82
Merge pull request #3239 from gavinandresen/mempool_verbose
...
Add verbose flag to getrawmempool
11 years ago
Gavin Andresen
4d707d5120
Add verbose boolean to getrawmempool
...
Also changes mempool to store CTxMemPoolEntries
to keep track of when they enter/exit the pool.
11 years ago
Gavin Andresen
0733c1bde6
Refactor: move GetValueIn(tx) to tx.GetValueIn()
...
GetValueIn makes more sense as a CTransaction member.
11 years ago
Gavin Andresen
98c7c8fd1d
Remove dead transaction replacement code
...
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.
11 years ago
Gavin Andresen
ad898b40aa
Increase default -blockmaxsize/prioritysize to 750K/50K
11 years ago
Wladimir J. van der Laan
e7e8a7537a
Merge pull request #3309
...
9ac5a01
Move types.h include before ifaddres.h for u_int declaration (Robert Backhaus)
11 years ago
Gavin Andresen
c649637b6c
mutex debugging routines: LocksHeld() and AssertLockHeld()
11 years ago
Wladimir J. van der Laan
5c56ee1ace
Merge pull request #3328
...
9d2b73d
bitcoin-cli: Add missing SelectParamsFromCommandLine (Wladimir J. van der Laan)
11 years ago
Wladimir J. van der Laan
207cfbfbf1
Merge pull request #3295
...
9e7776b
Integration tests via RPC calls (Gavin Andresen)
11 years ago
Wladimir J. van der Laan
9d2b73d19f
bitcoin-cli: Add missing SelectParamsFromCommandLine
...
The SelectParamsFromCommandLine call was missing in bitcoin-cli,
which caused `-testnet` and `-regtest` to be ignored. Add this
call just like in bitcoind.cpp.
11 years ago
Wladimir J. van der Laan
4ae42d43a4
Merge pull request #3321
...
0078841
prevent Windows redefinition warning cause by compat.h (Philip Kaufmann)
11 years ago
Josh Triplett
26d1b65c53
src/Makefile.am: Simplify clean of leveldb
11 years ago
Josh Triplett
a26a367629
configure.ac: Check for miniupnpc headers, not just -lminiupnpc
...
This protects against broken systems which have libminiupnpc.a or
libminiupnpc.so installed but don't have the miniupnpc headers.
11 years ago
Josh Triplett
82ccb05b07
autogen.sh: Stop passing --verbose to autoreconf
...
This quiets down the autotools build, making warnings much more visible.
11 years ago
Josh Triplett
e12dafd7bb
autogen.sh: Use long options to autoreconf, for self-documentation
11 years ago
Josh Triplett
19b9adda52
autogen.sh: Support running from outside the source directory
...
Initial steps towards supporting out-of-tree builds.
11 years ago
Josh Triplett
97d285ab51
autogen.sh: Use set -e to fail if any command fails
...
In preparation for expanding autogen.sh.
11 years ago
Josh Triplett
f80b723c66
autogen.sh: Add a /bin/sh shebang.
11 years ago
Philip Kaufmann
0078841617
prevent Windows redefinition warning cause by compat.h
11 years ago
Wladimir J. van der Laan
5f083afde1
Merge pull request #3284
...
fb78cc2
Split up bitcoinrpc (code movement only) (Wladimir J. van der Laan)
11 years ago
Wladimir J. van der Laan
e1169d7eea
Merge pull request #3296
...
a946aa8
Store and use a sanitized subVer (Mike Hearn)
ba6a4ea
Add some additional logging to give extra network insight. (Mike Hearn)
11 years ago
Wladimir J. van der Laan
2fc12794c2
Merge pull request #3319
...
871ac37
qt: restore icon dock menu (theuni)
11 years ago