aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-06-19rpc: Ignore and log errors during cancelWladimir J. van der Laan
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.
2014-06-18Merge pull request #4334Wladimir J. van der Laan
6763018 [Qt] rename In:/Out: to Received/Sent in traffic tab (Philip Kaufmann)
2014-06-18Merge pull request #4339Wladimir J. van der Laan
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)
2014-06-17Merge pull request #4346Wladimir J. van der Laan
1569353 Add `-stopafterblockimport` option (Wladimir J. van der Laan)
2014-06-17Add "chain" to getmininginfo, improve help in getblockchaininfojtimon
2014-06-17Get rid of Params().RPCisTestNet()jtimon
2014-06-17add comment to HelpMessage() to ensure alphabetical orderingPhilip Kaufmann
- also rename hmm to mode, to be consistent between .h and .cpp
2014-06-16sanity: hook up sanity checksCory Fields
2014-06-16sanity: add libc/stdlib sanity checksCory Fields
These are meant to test our back-compat stubs, but they are enabled for all builds for the sake of consistency.
2014-06-16Remove `using namespace std` from header fileWladimir J. van der Laan
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.
2014-06-16Merge pull request #4326Wladimir J. van der Laan
f5ae6c9 add NetworkIDString() to chainparams (Philip Kaufmann)
2014-06-16Merge pull request #4337Wladimir J. van der Laan
88df548 base58: add paranoid return value checks (Jeff Garzik)
2014-06-16Add `-stopafterblockimport` optionWladimir J. van der Laan
Stop after importing blocks. This can be useful for development and trouble shooting.
2014-06-16[Qt] rename In:/Out: to Received/Sent in traffic tabPhilip Kaufmann
- collides with In:/Out: used for displaying number of connections when translating
2014-06-15Remove cli functionality from bitcoindWladimir J. van der Laan
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.
2014-06-15bitcoin-cli, rpcclient: prefer EXIT_FAILURE cstdlib constantJeff Garzik
A more complex construction via abs() yields the same end result. Rebased-From: 34ff109 Rebased-By: Wladimir J. van der Laan <laanwj@gmail.com>
2014-06-14Merge pull request #4316Wladimir J. van der Laan
18116b0 Ignore too-long redeemScripts while loading wallet (Wladimir J. van der Laan)
2014-06-12Merge pull request #4193Wladimir J. van der Laan
71aaff3 Remove double-dash parameters from mapArgs (Kosta Zertsekel)
2014-06-12Merge pull request #4281Wladimir J. van der Laan
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)
2014-06-12qt: Unify AboutDialog and HelpMessageDialogWladimir J. van der Laan
They share so much code and functionality that they may as well be one class.
2014-06-12Add 'about' information to `-version` outputWladimir J. van der Laan
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.
2014-06-12Ignore too-long redeemScripts while loading walletWladimir J. van der Laan
This avoids that long redeemScripts that were grandfathered in prevent the wallet from loading. Fixes #4313.
2014-06-12Remove -beta suffixWladimir J. van der Laan
It conflicts with our normal naming of releases/builds. Fixes #4221.
2014-06-12add NetworkIDString() to chainparamsPhilip Kaufmann
- returns the BIP70 network string - use that new function in the core and GUI code and remove unused code and functions
2014-06-12Merge pull request #2784Wladimir J. van der Laan
f1920e8 Ping automatically every 2 minutes (unconditionally) (Pieter Wuille)
2014-06-11base58: add paranoid return value checksJeff Garzik
2014-06-12Add testnet DNS seed of Alex Kotenko.Andreas Schildbach
2014-06-11remove unused code from getblockchaininfo()Philip Kaufmann
2014-06-11util: Add function FormatParagraph to format paragraph to fixed-widthWladimir J. van der Laan
This is to be used for the `-version` and `-help` messages.
2014-06-11Add `-version` option to get just the versionWladimir J. van der Laan
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.
2014-06-11Merge pull request #4227Wladimir J. van der Laan
634bd61 convert an if into an else if in OpenNetworkConnection() (Philip Kaufmann) 5bd6c31 small cleanup of net (Philip Kaufmann)
2014-06-11convert an if into an else if in OpenNetworkConnection()Philip Kaufmann
2014-06-11small cleanup of netPhilip Kaufmann
- 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
2014-06-11[Qt] allow setting listen via GUIPhilip Kaufmann
- 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()!
2014-06-11Merge pull request #4170Wladimir J. van der Laan
ac14bcc small formatting, indentation and comment fixes (Philip Kaufmann)
2014-06-11Merge pull request #4277Wladimir J. van der Laan
4a09e1d key.cpp: fail with a friendlier message on missing ssl EC support (Andrew Poelstra)
2014-06-11Merge pull request #4321Wladimir J. van der Laan
699fe63 remove wrong ; in chainparams.h and order includes (Philip Kaufmann)
2014-06-11Merge pull request #4323Wladimir J. van der Laan
38e324a build: qt: split locale resources. Fixes non-deterministic distcheck (Cory Fields)
2014-06-10build: qt: split locale resources. Fixes non-deterministic distcheckCory Fields
The rcc tool is quirky and only honors files in the same directory as the qrc. When doing an out-of-tree build (as 'make distcheck' does), the generated translation files end up in a different path, so rcc can't find them. Split them up so that rcc is run twice: once for static source files and once for generated files.
2014-06-10remove wrong ; in chainparams.h and order includesPhilip Kaufmann
2014-06-10remove unused UPnP code from main.hPhilip Kaufmann
2014-06-10small formatting, indentation and comment fixesPhilip Kaufmann
- contains zero code changes
2014-06-10Remove unused Print/PrintHex functionsWladimir J. van der Laan
You can just use HexStr(script) or script.ToString() for debugging, no need for these extra functions.
2014-06-10Merge pull request #4305Wladimir J. van der Laan
95a9383 [Qt] Remove CENT-fee-rule from coin control completely (Cozz Lovan)
2014-06-09Ping automatically every 2 minutes (unconditionally)Pieter Wuille
... instead of after 30 minutes of no sending, for latency measurement and keep-alive. Also, disconnect if no reply arrives within 20 minutes, instead of 90 of inactivity (for peers supporting the 'pong' message).
2014-06-09Merge pull request #4300Wladimir J. van der Laan
dff0e3b [Qt] Improve rpc console history behavior (Cozz Lovan)
2014-06-09Merge pull request #3824Wladimir J. van der Laan
f0a83fc Use Params().NetworkID() instead of TestNet() from the payment protocol (jtimon) 2871889 net.h was using std namespace through chainparams.h included in protocol.h (jtimon) c8c52de Replace virtual methods with static attributes, chainparams.h depends on protocol.h instead of the other way around (jtimon) a3d946e Get rid of TestNet() (jtimon) 6fc0fa6 Add RPCisTestNet chain parameter (jtimon) cfeb823 Add RequireStandard chain parameter (jtimon) 21913a9 Add AllowMinDifficultyBlocks chain parameter (jtimon) d754f34 Move majority constants to chainparams (jtimon) 8d26721 Get rid of RegTest() (jtimon) cb9bd83 Add DefaultCheckMemPool chain parameter (jtimon) 2595b9a Add DefaultMinerThreads chain parameter (jtimon) bfa9a1a Add MineBlocksOnDemand chain parameter (jtimon) 1712adb Add MiningRequiresPeers chain parameter (jtimon)
2014-06-09Push cs_mains down in ProcessBlockPieter Wuille
2014-06-09Move all post-chaintip-change notifications to ActivateBestChainPieter Wuille
2014-06-09Allow ActivateBestChain to release its lock on cs_mainPieter Wuille