aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
AgeCommit message (Collapse)Author
2015-12-01Constrain rpcport default values to a single location in codeLuke Dashjr
2015-12-01Merge pull request #7136Wladimir J. van der Laan
fa19a58 HelpMessage: Don't hide -mintxfee behind showDebug (MarcoFalke) faffc17 rpcwallet: Clarify what settxfee does (MarcoFalke) 9999cb0 Fix url in .travis.yml (MarcoFalke) fa22a10 contrib: Del. gitian downloader config and update gitian README (MarcoFalke) fad3035 [doc] Minor markdown fixes (MarcoFalke)
2015-11-30Merge pull request #7044Gregory Maxwell
d52fbf0 Added additional config option for multiple RPC users. (Gregory Sanders)
2015-11-30HelpMessage: Don't hide -mintxfee behind showDebugMarcoFalke
2015-11-30Merge pull request #7035Wladimir J. van der Laan
4531fc4 torcontrol: only output disconnect if -debug=tor (Daniel Cousens)
2015-11-30Merge pull request #7112Wladimir J. van der Laan
9af5f9c Move uiInterface.NotifyBlockTip signal above the core/wallet signal - This will keep getbestblockhash more in sync with blocknotify callbacks (Jonas Schnelli) 4082e46 [Qt] call GuessVerificationProgress synchronous during core signal, pass double over UI signal (Jonas Schnelli) 947d20b [Qt] reduce cs_main in getVerificationProgress() (Jonas Schnelli) e6d50fc [Qt] update block tip (height and date) without locking cs_main, update always (each block) (Jonas Schnelli) 012fc91 NotifyBlockTip signal: switch from hash (uint256) to CBlockIndex* - also adds a boolean for indication if the tip update was happening during initial sync - emit notification also during initial sync (Jonas Schnelli)
2015-11-30torcontrol: only output disconnect if -debug=torDaniel Cousens
2015-11-30NotifyBlockTip signal: switch from hash (uint256) to CBlockIndex*Jonas Schnelli
- also adds a boolean for indication if the tip update was happening during initial sync - emit notification also during initial sync
2015-11-29Added additional config option for multiple RPC users.Gregory Sanders
2015-11-28Move blocksonly parameter interaction to InitParameterInteraction()MarcoFalke
2015-11-28[qt] Move GUI related HelpMessage() part downstreamMarcoFalke
2015-11-28[trivial] Reuse translation and cleanup DEFAULT_* valuesMarcoFalke
* DEFAULT_DISABLE_SAFEMODE = false * Use DEFAULT_* constants for extern bools
2015-11-28Bugfix: Omit wallet-related options from -help when wallet is not supportedLuke Dashjr
2015-11-28Constrain constant values to a single location in codeLuke Dashjr
2015-11-27Print correct minimum mempool size in MBpaveljanik
2015-11-27Merge pull request #7083Wladimir J. van der Laan
faf12bc OpenSSL 1.1.0: Fix text variant of the version number (MarcoFalke)
2015-11-27Merge pull request #6780Wladimir J. van der Laan
a46f87f Initialize logging before we do parameter interaction (Jonas Schnelli) df66147 Move -blocksonly parameter interaction to the new ParameterInteraction() function (Jonas Schnelli) 68354e7 [QT] Call inits parameter interaction before we create the options model (Jonas Schnelli) 411b05a Refactor parameter interaction, call it before AppInit2() (Jonas Schnelli)
2015-11-27Merge pull request #7053Wladimir J. van der Laan
2e29e7e Globals: Remove a bunch of Params() calls from main.cpp: (Jorge Timón)
2015-11-27Initialize logging before we do parameter interactionJonas Schnelli
2015-11-27Move -blocksonly parameter interaction to the new ParameterInteraction() ↵Jonas Schnelli
function
2015-11-27Refactor parameter interaction, call it before AppInit2()Jonas Schnelli
2015-11-27Merge pull request #7058Wladimir J. van der Laan
ffacd27 zmq: prepend zmq to debug messages (Daniel Cousens) 14075b1 init: add zmq to debug categories (Daniel Cousens) cdcd816 init: amend ZMQ flag names (Daniel Cousens)
2015-11-26Merge pull request #7069Wladimir J. van der Laan
fa472f3 [trivial] Fix -maxmempool InitError (MarcoFalke)
2015-11-26Merge pull request #7087Wladimir J. van der Laan
9cf6688 Document both the peerbloomfilters and enforcenodebloom options. (Patick Strateman) 0f4dc53 Add enforcenodebloom option. (Patick Strateman) b3caa9b Move bloom filter filtering logic outside of command "switch" (giant if/else). (Patick Strateman)
2015-11-25Merge pull request #7006Jonas Schnelli
f71bfef add UI help for -resetguisettings (Jonas Schnelli) ae98388 [Qt] add startup option to reset Qt settings (Jonas Schnelli)
2015-11-24[trivial] Fix -maxmempool InitErrorMarcoFalke
2015-11-24Document both the peerbloomfilters and enforcenodebloom options.Patick Strateman
2015-11-24OpenSSL 1.1.0: Fix text variant of the version numberMarcoFalke
2015-11-23Globals: Remove a bunch of Params() calls from main.cpp:Jorge Timón
1) Chainparams: Explicit CChainParams arg for main: -AcceptBlock -AcceptBlockHeader -ActivateBestChain -ConnectTip -InitBlockIndex -LoadExternalBlockFile -VerifyDB parametric constructor 2) Also pickup more Params()\. in main.cpp 3) Pass nPruneAfterHeight explicitly to new FindFilesToPrune() in main.cpp
2015-11-19init: add zmq to debug categoriesDaniel Cousens
2015-11-19init: amend ZMQ flag namesDaniel Cousens
2015-11-18add UI help for -resetguisettingsJonas Schnelli
2015-11-16Merge pull request #6986Gregory Maxwell
6bc9e40 Chainparams: Explicit CChainParams arg for miner: (Jorge Timón) 598e494 Chainparams: Explicit CChainParams arg for main (pre miner): (Jorge Timón)
2015-11-15Switch to libsecp256k1-based validation for ECDSAPieter Wuille
2015-11-14Fix comment for blocksonly parameter interactionsPatick Strateman
2015-11-14Display DEFAULT_WHITELISTALWAYSRELAY in help textPatick Strateman
2015-11-14Use DEFAULT_BLOCKSONLY and DEFAULT_WHITELISTALWAYSRELAY constantsPatick Strateman
2015-11-14Add help text for blocksonly and whitelistalwaysrelayPatick Strateman
2015-11-14Add whitelistalwaysrelay optionPatick Strateman
2015-11-13Merge pull request #6990Gregory Maxwell
a264c32 http: speed up shutdown (Wladimir J. van der Laan)
2015-11-13http: speed up shutdownWladimir J. van der Laan
This continues/fixes #6719. `event_base_loopbreak` was not doing what I expected it to, at least in libevent 2.0.21. What I expected was that it sets a timeout, given that no other pending events it would exit in N seconds. However, what it does was delay the event loop exit with 10 seconds, even if nothing is pending. Solve it in a different way: give the event loop thread time to exit out of itself, and if it doesn't, send loopbreak. This speeds up the RPC tests a lot, each exit incurred a 10 second overhead, with this change there should be no shutdown overhead in the common case and up to two seconds if the event loop is blocking. As a bonus this breaks dependency on boost::thread_group, as the HTTP server minds its own offspring.
2015-11-12[net] Cleanup maxuploadtargetMarcoFalke
* log: nMaxOutboundLimit is in bytes * log: Hide misleading -maxuploadtarget=0 warning * qa : Minor cleanup to maxuploadtarget rpc tests * net: Use DEFAULT_MAX_UPLOAD_TARGET = 0
2015-11-12Merge pull request #6639Wladimir J. van der Laan
58ef0ff doc: update docs for Tor listening (Wladimir J. van der Laan) 68ccdc4 doc: Mention Tor listening in release notes (Wladimir J. van der Laan) 09c1ae1 torcontrol improvements and fixes (Wladimir J. van der Laan) 2f796e5 Better error message if Tor version too old (Peter Todd) 8f4e67f net: Automatically create hidden service, listen on Tor (Wladimir J. van der Laan)
2015-11-12torcontrol improvements and fixesWladimir J. van der Laan
- Force AUTHCOOKIE size to be 32 bytes: This provides protection against an attack where a process pretends to be Tor and uses the cookie authentication method to nab arbitrary files such as the wallet - torcontrol logging - fix cookie auth - add HASHEDPASSWORD auth, fix fd leak when fwrite() fails - better error reporting when cookie file is not ok - better init/shutdown flow - stop advertizing service when disconnected from tor control port - COOKIE->SAFECOOKIE auth
2015-11-12Merge pull request #6918Wladimir J. van der Laan
69d373f Don't wipe the sigcache in TestBlockValidity (Pieter Wuille) 0b9e9dc Evict sigcache entries that are seen in a block (Pieter Wuille) 830e3f3 Make sigcache faster and more efficient (Pieter Wuille)
2015-11-11Chainparams: Explicit CChainParams arg for miner:Jorge Timón
-BitcoinMiner -CreateNewBlock -GenerateBitcoins -ProcessBlockFound
2015-11-10net: Automatically create hidden service, listen on TorWladimir J. van der Laan
Starting with Tor version 0.2.7.1 it is possible, through Tor's control socket API, to create and destroy 'ephemeral' hidden services programmatically. https://stem.torproject.org/api/control.html#stem.control.Controller.create_ephemeral_hidden_service This means that if Tor is running (and proper authorization is available), bitcoin automatically creates a hidden service to listen on, without user manual configuration. This will positively affect the number of available .onion nodes. - When the node is started, connect to Tor through control socket - Send `ADD_ONION` command - First time: - Make it create a hidden service key - Save the key in the data directory for later usage - Make it redirect port 8333 to the local port 8333 (or whatever port we're listening on). - Keep control socket connection open for as long node is running. The hidden service will (by default) automatically go away when the connection is closed.
2015-11-09[trivial] init: Use defaults MIN_RELAY_TX_FEE & TRANSACTION_MAXFEEMarcoFalke
2015-11-09Merge pull request #6962Wladimir J. van der Laan
6dd3a44 translations: Don't translate markdown or force English grammar (MarcoFalke)
2015-11-09translations: Don't translate markdown or force English grammarMarcoFalke