aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #3368 from laanwj/2013_11_disable_wallet_miningGavin Andresen2013-12-091-3/+1
|\ \ | |/ |/| Allow mining RPCs with --disable-wallet
| * Allow mining RPCs with --disable-walletWladimir J. van der Laan2013-12-091-3/+1
| | | | | | | | | | | | | | | | | | | | | | The following mining-related RPC calls don't use the wallet: - getnetworkhashps - getmininginfo - getblocktemplate - submitblock Enable them when compiling with --disable-wallet.
* | Add main-specific node statePieter Wuille2013-12-081-0/+1
|/
* Delimit code with #ifdef ENABLE_WALLETWladimir J. van der Laan2013-12-041-8/+33
| | | | | Delimit all code that uses the wallet functions in implementation files that conditionally use the wallet.
* bitcoin-cli: remove unneeded dependencies (only code movement)Wladimir J. van der Laan2013-12-031-84/+63
| | | | | | | | | | | | | | 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
* Split up bitcoinrpc (code movement only)Wladimir J. van der Laan2013-11-271-1/+1
| | | | | | | | | | | | | | 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.
* setgenerate creates multiple blocks in -regtest modeGavin Andresen2013-11-221-2/+2
| | | | | | | | | | | | | | | 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.
* RPC client option: -rpcwait, to wait for server startGavin Andresen2013-11-201-0/+1
|
* Add -disablewallet option, to disable wallet support (and BDB)Jeff Garzik2013-11-131-4/+8
|
* init.cpp: cosmetic indent changes, preparing for no-wallet modeJeff Garzik2013-11-121-109/+113
|
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-22/+23
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* Merge pull request #3196 from laanwj/2013_11_nohaveguiWladimir J. van der Laan2013-11-051-5/+2
|\ | | | | No more fHaveGUI
| * No more fHaveGUIWladimir J. van der Laan2013-11-041-5/+2
| | | | | | | | | | | | No more specific handling of GUI in bitcoin core. Replace the last usage of fHaveGUI with a fForceServer parameter on AppInit2.
* | Merge pull request #3188 from Diapolo/logtimestamp_defWladimir J. van der Laan2013-11-041-2/+2
|\ \ | |/ |/| make -logtimestamps default on and rework help-message
| * make -logtimestamps default on and rework help-messagePhilip Kaufmann2013-11-021-2/+2
| |
* | Refactor: CTxMempool class to its own txmempool.{cpp,h}Gavin Andresen2013-11-041-2/+2
|/
* re-work -debug switch handlingPhilip Kaufmann2013-10-301-9/+22
| | | | | | | | | | | | - re-work -debug help message text - make -debug log every debugging information again (even all categories) - remove unneeded fDebug checks in front of LogPrint()/qDebug(), as that check is done in LogPrintf() when category is != NULL (true for all LogPrint() calls - remove fDebug ONLY in code which is NOT performance-critical - harmonize addrman category name - deprecate -debugnet usage, should be used via -debug=net and remove the corresponding global
* remove duplicate -rpcsslciphers help message from initPhilip Kaufmann2013-10-221-1/+0
|
* Add separate bitcoin-rpc clientWladimir J. van der Laan2013-10-211-69/+96
| | | | | | | | This adds an executable `bitcoin-rpc` that only serves as a Bitcoin RPC client. The commit does not remove RPC functionality from the `bitcoind` yet, this functionality should be deprecated but is left for a later version to give users some time to switch.
* Merge pull request #3104 from Diapolo/rpcssl-defaultciphersGavin Andresen2013-10-201-1/+1
|\ | | | | update default -rpcsslciphers to include TLSv1.2
| * update default -rpcsslciphers to include TLSv1.2Philip Kaufmann2013-10-171-1/+1
| | | | | | | | | | | | | | | | - this extends the accepted ciphersuites with TLSv1.2 ones - also removes !AH, as I could not find documentation on it and the change did not result in a changed ciphersuite list (checked via openssl ciphers -v) - closes #3096 (which also contains more details)
* | Merge pull request #3119Pieter Wuille2013-10-201-1/+1
|\ \ | |/ |/| | | db0e8cc Bump Year Number to 2013 (super3)
| * Bump Year Number to 2013super32013-10-201-1/+1
| |
* | Merge pull request #2981 from gmaxwell/tor2onionGavin Andresen2013-10-161-6/+11
|\ \ | | | | | | Rename -tor to -onion to better reflect what it does.
| * | Rename -tor to -onion to better reflect what it does.Gregory Maxwell2013-09-081-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've seen users confused multiple times thinking they should be using -tor to set their tor proxy and then finding in horror that they were still connecting to the IPv4 internet. Even Jeff guesses wrong about what the knob does, so I think we should rename it. This leaves the old knob working, we can pull it out completely in a later release.
* | | Reimplement CBlockLocator's chain-related logic in CChain.Pieter Wuille2013-10-151-4/+4
| | | | | | | | | | | | | | | | | | | | | This removes a few unused CBlockLocator methods, and moves the construction and fork-finding logic to CChain (which can do these more efficiently, as it has a height-indexable chain available). It also makes CBlockLocator independent from the validation code.
* | | Refactor/encapsulate chain globals into a CChain classPieter Wuille2013-10-111-10/+10
| |/ |/|
* | log start and end of Shutdown()Philip Kaufmann2013-10-021-0/+2
| | | | | | | | - could be helpful when debugging shutdown related problems
* | Support absence of wallet (pwalletMain==NULL) in several locations,Jeff Garzik2013-10-011-11/+17
| | | | | | | | notably RPC.
* | misc small spelling/indentation fixesPhilip Kaufmann2013-10-011-2/+2
| |
* | Replace printf with LogPrintf / LogPrintGavin Andresen2013-09-181-35/+35
| |
* | Refactor: OutputDebugStringF -> LogPrint(category, ...)Gavin Andresen2013-09-181-1/+1
| |
* | fix some cosmetic glitches in the codebasePhilip Kaufmann2013-09-091-1/+1
|/ | | | | | | | | | | - rename URL into URI in paymentserver where correct - add some missing Qt-coding-stuff in paymentserver - change QSpinBox to QLineEdit as base for BitcoinAmountField in .ui files (as this is the result when converting the BAF back into base) - remove some c_str() and replace with QString::fromStdString() - remove several new-lines - remove unneeded spaces - indentation fixes
* autotools: switch to autotools buildsystemCory Fields2013-09-051-0/+4
|
* Merge pull request #2940 from Diapolo/checkpointPieter Wuille2013-08-291-2/+1
|\ | | | | move Checkpoints:fEnabled from step 2 to step 3 in init
| * move Checkpoints:fEnabled from step 2 to step 3 in initPhilip Kaufmann2013-08-251-2/+1
| | | | | | | | | | - it belongs to parameter-to-internal flags step, not parameter interactions phase
* | Merge pull request #2904 from gmaxwell/newaddr-no-passphraseGregory Maxwell2013-08-281-1/+1
|\ \ | |/ |/| [QT] Don't ask for a passphrase to getnewaddress.
| * Remove fAllowReuse from GetKeyFromPool.Gregory Maxwell2013-08-231-1/+1
| | | | | | | | With the GUI password fix this was always false.
* | Merge pull request #2618 from fcicq/solaris-supportJeff Garzik2013-08-241-0/+5
|\ \ | |/ |/| Partial solaris support
| * Ignore SIGPIPE signal on Solarisfcicq2013-07-171-0/+5
| |
* | Payment Protocol: X509-validated payment requestsGavin Andresen2013-08-221-1/+1
| | | | | | | | | | | | | | | | Add support for a Payment Protocol to Bitcoin-Qt. Payment messages are protocol-buffer encoded and communicated over http(s), so this adds a dependency on the Google protocol buffer library, and requires Qt with OpenSSL support.
* | update SelectParamsFromCommandLine() handling/orderPhilip Kaufmann2013-08-221-3/+0
| | | | | | | | | | | | | | | | | | - move SelectParamsFromCommandLine() from init.cpp to bitcoin.cpp to allow to use TestNet() for Bitcoin-Qt instead of GetBoolArg("-testnet", false) - change order in bitcoind.cpp to match bitcoin.cpp functionality - hamonize error message strings for missing datadir and failing SelectParamsFromCommandLine() in bitcoin.cpp and bitcoind.cpp - use TestNet() call in splashscreen.cpp
* | Merge pull request #2891 from gavinandresen/leveldb_printerrorGavin Andresen2013-08-151-0/+1
|\ \ | | | | | | Use HandleError() consistently to handle leveldb errors
| * | Use HandleError() consistently to handle leveldb errorsGavin Andresen2013-08-121-0/+1
| | |
* | | Mempool consistency checkPieter Wuille2013-08-151-0/+1
| | |
* | | Merge pull request #2658 from TheBlueMatt/forkalertGavin Andresen2013-08-121-1/+1
|\ \ \ | |/ / |/| | Detect any sufficiently long fork and alert the user just like any other alert
| * | Call the -alertnotify script when we see a long or invalid fork.Matt Corallo2013-07-221-1/+1
| |/
* | remove a newline from a string in init.cppPhilip Kaufmann2013-08-061-1/+1
| | | | | | | | | | - to match all other translatable strings in init.cpp and to simplify translations via Transifex
* | Move internal miner/block creation to separate miner.cpp module.Jeff Garzik2013-07-311-0/+1
| | | | | | | | Public functions referenced elsewhere are added to miner.h.
* | Merge pull request #1889 from tcatm/multi-walletGavin Andresen2013-07-241-5/+13
|\ \ | | | | | | let user select wallet file with -wallet=foo.dat