Pavel Vasin
ea3acaf383
AvailableCoins: acquire cs_main mutex
...
It's required when called from WalletModel
11 years ago
Wladimir J. van der Laan
b8b98d5642
Merge pull request #4310
...
7a9e0b6
Move checkpoint based heuristic checks to AcceptBlockHeader (Pieter Wuille)
11 years ago
Wladimir J. van der Laan
7eb49c79f0
Merge pull request #4358
...
6afa493
rpc: Add acceptors only when listening succeeded (Wladimir J. van der Laan)
33e5b42
rpc: Ignore and log errors during cancel (Wladimir J. van der Laan)
11 years ago
Wladimir J. van der Laan
6afa49329d
rpc: Add acceptors only when listening succeeded
11 years ago
Wladimir J. van der Laan
33e5b42910
rpc: Ignore and log errors during cancel
...
Cancelling the RPC acceptors can sometimes result in an error about
a bad file descriptor.
As this is the shutdown sequence we need to continue nevertheless,
ignore these errors, log a warning and proceed.
Fixes #4352 .
11 years ago
Wladimir J. van der Laan
9fe80a2ec8
Merge pull request #4334
...
6763018
[Qt] rename In:/Out: to Received/Sent in traffic tab (Philip Kaufmann)
11 years ago
Wladimir J. van der Laan
b8e56aa8ef
Merge pull request #4339
...
92a6220
sanity: hook up sanity checks (Cory Fields)
679240d
sanity: add libc/stdlib sanity checks (Cory Fields)
11404af
sanity: autoconf check for sys/select.h (Cory Fields)
11 years ago
Wladimir J. van der Laan
5a514c35bc
Merge pull request #4354
...
7ad720d
Added encryptwallet call to bitrpc.py (dllud)
11 years ago
Wladimir J. van der Laan
5694d10781
Merge pull request #4346
...
1569353
Add `-stopafterblockimport` option (Wladimir J. van der Laan)
11 years ago
Wladimir J. van der Laan
2151419b1b
Merge pull request #4333
...
f6984e8
Add "chain" to getmininginfo, improve help in getblockchaininfo (jtimon)
b82b7ec
Get rid of Params().RPCisTestNet() (jtimon)
11 years ago
jtimon
f6984e8141
Add "chain" to getmininginfo, improve help in getblockchaininfo
11 years ago
jtimon
b82b7ec3dc
Get rid of Params().RPCisTestNet()
11 years ago
Wladimir J. van der Laan
e164828105
Merge pull request #4357
...
1020f59
add comment to HelpMessage() to ensure alphabetical ordering (Philip Kaufmann)
11 years ago
Philip Kaufmann
1020f599f3
add comment to HelpMessage() to ensure alphabetical ordering
...
- also rename hmm to mode, to be consistent between .h and .cpp
11 years ago
dllud
7ad720d890
Added encryptwallet call to bitrpc.py
...
This was the only call requiring password input which was still missing. Much useful to avoid leaving a plain text passphrase in the shell log.
11 years ago
Cory Fields
92a6220711
sanity: hook up sanity checks
11 years ago
Cory Fields
679240d0e9
sanity: add libc/stdlib sanity checks
...
These are meant to test our back-compat stubs, but they are enabled for all
builds for the sake of consistency.
11 years ago
Cory Fields
11404af34c
sanity: autoconf check for sys/select.h
11 years ago
Wladimir J. van der Laan
529047fcd1
Merge pull request #4349
...
09eb201
Remove `using namespace std` from header file (Wladimir J. van der Laan)
11 years ago
Wladimir J. van der Laan
09eb201b1b
Remove `using namespace std` from header file
...
It's considered bad form to import things into the global namespace in a
header. Put it in the cpp files where it is needed instead.
11 years ago
Wladimir J. van der Laan
807691ca96
Merge pull request #4326
...
f5ae6c9
add NetworkIDString() to chainparams (Philip Kaufmann)
11 years ago
Wladimir J. van der Laan
f73082db87
Merge pull request #4337
...
88df548
base58: add paranoid return value checks (Jeff Garzik)
11 years ago
Wladimir J. van der Laan
1569353b8a
Add `-stopafterblockimport` option
...
Stop after importing blocks. This can be useful for development
and trouble shooting.
11 years ago
Philip Kaufmann
6763018797
[Qt] rename In:/Out: to Received/Sent in traffic tab
...
- collides with In:/Out: used for displaying number of
connections when translating
11 years ago
Wladimir J. van der Laan
0075337020
Merge pull request #4232
...
b750cf1
Remove cli functionality from bitcoind (Wladimir J. van der Laan)
11 years ago
Wladimir J. van der Laan
b750cf1fb9
Remove cli functionality from bitcoind
...
As it says on the tin. It was deprecated in version 0.9, and
at some point it should be removed.
Removes the dependency of bitcoind on libbitcoin-cli.a. Move
some functions that used to be shared but are now only used in
bitcoin-cli.cpp to that file.
After this change, an error is printed (and exit code 1 is returned)
when the user tries to send RPC commands using bitcoind.
11 years ago
Jeff Garzik
0cafb63025
bitcoin-cli, rpcclient: prefer EXIT_FAILURE cstdlib constant
...
A more complex construction via abs() yields the same end result.
Rebased-From: 34ff109
Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
11 years ago
Wladimir J. van der Laan
8615bfb486
Merge pull request #4316
...
18116b0
Ignore too-long redeemScripts while loading wallet (Wladimir J. van der Laan)
11 years ago
Wladimir J. van der Laan
8047fb04ed
Merge pull request #4193
...
71aaff3
Remove double-dash parameters from mapArgs (Kosta Zertsekel)
11 years ago
Wladimir J. van der Laan
fe1f417287
Merge pull request #4281
...
5c97aae
qt: Unify AboutDialog and HelpMessageDialog (Wladimir J. van der Laan)
45615af
Add 'about' information to `-version` output (Wladimir J. van der Laan)
97789d3
util: Add function FormatParagraph to format paragraph to fixed-width (Wladimir J. van der Laan)
96b733e
Add `-version` option to get just the version (Wladimir J. van der Laan)
11 years ago
Wladimir J. van der Laan
5c97aae6da
qt: Unify AboutDialog and HelpMessageDialog
...
They share so much code and functionality that they may as well
be one class.
11 years ago
Wladimir J. van der Laan
45615af26f
Add 'about' information to `-version` output
...
Adds a copyright and attribution message to the `-version` output
(the same as shown in the About dialog in the GUI).
Move the message to a function LicenseInfo in init.cpp.
11 years ago
Wladimir J. van der Laan
18116b06c1
Ignore too-long redeemScripts while loading wallet
...
This avoids that long redeemScripts that were grandfathered in
prevent the wallet from loading.
Fixes #4313 .
11 years ago
Wladimir J. van der Laan
e5ee8f016e
Remove -beta suffix
...
It conflicts with our normal naming of releases/builds. Fixes #4221 .
11 years ago
Philip Kaufmann
f5ae6c9826
add NetworkIDString() to chainparams
...
- returns the BIP70 network string
- use that new function in the core and GUI code and remove unused code
and functions
11 years ago
Wladimir J. van der Laan
3f39b9d455
Merge pull request #2784
...
f1920e8
Ping automatically every 2 minutes (unconditionally) (Pieter Wuille)
11 years ago
Wladimir J. van der Laan
9a876f5566
Merge pull request #4330
...
c30329a
Add testnet DNS seed of Alex Kotenko. (Andreas Schildbach)
11 years ago
Jeff Garzik
88df548dde
base58: add paranoid return value checks
11 years ago
Andreas Schildbach
c30329adfa
Add testnet DNS seed of Alex Kotenko.
11 years ago
Wladimir J. van der Laan
4800ccb823
Merge pull request #4328
...
f379047
remove unused code from getblockchaininfo() (Philip Kaufmann)
11 years ago
Philip Kaufmann
f3790472f0
remove unused code from getblockchaininfo()
11 years ago
Wladimir J. van der Laan
97789d374c
util: Add function FormatParagraph to format paragraph to fixed-width
...
This is to be used for the `-version` and `-help` messages.
11 years ago
Wladimir J. van der Laan
96b733e996
Add `-version` option to get just the version
...
Adds a `-version` or `--version` option to print just the version
of the program for bitcoind, bitcoin-cli and bitcoin-qt.
Also make it that `-help` can be used to display the help (as well as
existing `--help`). Up to now, `-help` was the only option that didn't
work with either one or two dashes.
11 years ago
Wladimir J. van der Laan
9c8d2f6df0
Merge pull request #4227
...
634bd61
convert an if into an else if in OpenNetworkConnection() (Philip Kaufmann)
5bd6c31
small cleanup of net (Philip Kaufmann)
11 years ago
Philip Kaufmann
634bd61b76
convert an if into an else if in OpenNetworkConnection()
11 years ago
Philip Kaufmann
5bd6c31bd6
small cleanup of net
...
- remove an unneded else in ConnectNode()
- make 0 a double and change to 0.0 in ConnectNode()
- rename strDest to pszDest in OpenNetworkConnection()
- remove an unneded call to our REF() macro in BindListenPort()
- small style cleanups and removal of unneeded new-lines
11 years ago
Wladimir J. van der Laan
0cadf620f6
Merge pull request #4290
...
56b07d2
[Qt] allow setting listen via GUI (Philip Kaufmann)
11 years ago
Philip Kaufmann
56b07d2dcd
[Qt] allow setting listen via GUI
...
- add DEFAULT_LISTEN in net.h and use in the code (shared
setting between core and GUI)
Important: This makes it obvious, that we need to re-think the
settings/options handling, as GUI settings are processed before
any parameter-interaction (which is mostly important for network
stuff) in AppInit2()!
11 years ago
Wladimir J. van der Laan
5905d71fe3
Merge pull request #4170
...
ac14bcc
small formatting, indentation and comment fixes (Philip Kaufmann)
11 years ago
Wladimir J. van der Laan
d01574f792
Merge pull request #4277
...
4a09e1d
key.cpp: fail with a friendlier message on missing ssl EC support (Andrew Poelstra)
11 years ago