aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge pull request #7053Wladimir J. van der Laan2015-11-271-7/+8
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | 2e29e7e Globals: Remove a bunch of Params() calls from main.cpp: (Jorge Timón)
| * | | | Globals: Remove a bunch of Params() calls from main.cpp:Jorge Timón2015-11-231-7/+8
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge pull request #7058Wladimir J. van der Laan2015-11-271-4/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | init: add zmq to debug categoriesDaniel Cousens2015-11-191-1/+1
| | | | |
| * | | | init: amend ZMQ flag namesDaniel Cousens2015-11-191-3/+3
| |/ / /
* | | | Merge pull request #7069Wladimir J. van der Laan2015-11-261-5/+5
|\ \ \ \ | | | | | | | | | | | | | | | fa472f3 [trivial] Fix -maxmempool InitError (MarcoFalke)
| * | | | [trivial] Fix -maxmempool InitErrorMarcoFalke2015-11-241-5/+5
| |/ / /
* | | | Merge pull request #7087Wladimir J. van der Laan2015-11-261-0/+3
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | 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)
| * | | Document both the peerbloomfilters and enforcenodebloom options.Patick Strateman2015-11-241-0/+3
| |/ /
* | | Merge pull request #7006Jonas Schnelli2015-11-251-0/+1
|\ \ \ | |/ / |/| | | | | | | | f71bfef add UI help for -resetguisettings (Jonas Schnelli) ae98388 [Qt] add startup option to reset Qt settings (Jonas Schnelli)
| * | add UI help for -resetguisettingsJonas Schnelli2015-11-181-0/+1
| | |
* | | Merge pull request #6986Gregory Maxwell2015-11-161-1/+1
|\ \ \ | |_|/ |/| | | | | | | | 6bc9e40 Chainparams: Explicit CChainParams arg for miner: (Jorge Timón) 598e494 Chainparams: Explicit CChainParams arg for main (pre miner): (Jorge Timón)
| * | Chainparams: Explicit CChainParams arg for miner:Jorge Timón2015-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | -BitcoinMiner -CreateNewBlock -GenerateBitcoins -ProcessBlockFound
* | | Switch to libsecp256k1-based validation for ECDSAPieter Wuille2015-11-151-2/+4
| | |
* | | Fix comment for blocksonly parameter interactionsPatick Strateman2015-11-141-1/+1
| | |
* | | Display DEFAULT_WHITELISTALWAYSRELAY in help textPatick Strateman2015-11-141-1/+1
| | |
* | | Use DEFAULT_BLOCKSONLY and DEFAULT_WHITELISTALWAYSRELAY constantsPatick Strateman2015-11-141-1/+1
| | |
* | | Add help text for blocksonly and whitelistalwaysrelayPatick Strateman2015-11-141-0/+3
| | |
* | | Add whitelistalwaysrelay optionPatick Strateman2015-11-141-0/+10
| | |
* | | Merge pull request #6990Gregory Maxwell2015-11-131-1/+1
|\ \ \ | |_|/ |/| | | | | a264c32 http: speed up shutdown (Wladimir J. van der Laan)
| * | http: speed up shutdownWladimir J. van der Laan2015-11-131-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | [net] Cleanup maxuploadtargetMarcoFalke2015-11-121-2/+2
| | | | | | | | | | | | | | * 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
* | Merge pull request #6639Wladimir J. van der Laan2015-11-121-0/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | 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)
| * | torcontrol improvements and fixesWladimir J. van der Laan2015-11-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| * | net: Automatically create hidden service, listen on TorWladimir J. van der Laan2015-11-101-0/+9
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #6918Wladimir J. van der Laan2015-11-121-1/+2
|\ \ | |/ |/| | | | | | | 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)
| * Make sigcache faster and more efficientPieter Wuille2015-10-311-1/+2
| |
* | [trivial] init: Use defaults MIN_RELAY_TX_FEE & TRANSACTION_MAXFEEMarcoFalke2015-11-091-2/+2
| |
* | Merge pull request #6962Wladimir J. van der Laan2015-11-091-4/+5
|\ \ | | | | | | | | | 6dd3a44 translations: Don't translate markdown or force English grammar (MarcoFalke)
| * | translations: Don't translate markdown or force English grammarMarcoFalke2015-11-091-4/+5
| | |
* | | Merge pull request #6887Wladimir J. van der Laan2015-11-051-1/+1
|\ \ \ | |/ / |/| | | | | | | | 53238ff Clarify what minrelaytxfee does (MarcoFalke) abd8b76 [qt] Properly display required fee instead of minTxFee (MarcoFalke)
| * | Clarify what minrelaytxfee doesMarcoFalke2015-11-031-1/+1
| | |
* | | Merge pull request #6669Wladimir J. van der Laan2015-11-041-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | 6342a48 Init: Use DEFAULT_TRANSACTION_MINFEE in help message (MarcoFalke) a9c73a1 [wallet] Add comments for doxygen (MarcoFalke) 6b0e622 [wallet] Refactor to use new MIN_CHANGE (MarcoFalke)
| * | | Init: Use DEFAULT_TRANSACTION_MINFEE in help messageMarcoFalke2015-10-291-1/+1
| | | |
* | | | Merge pull request #6927Wladimir J. van der Laan2015-11-041-2/+0
|\ \ \ \ | | | | | | | | | | | | | | | de0499d Fix ZMQ Notification initialization and shutdown (João Barbosa)
| * | | | Fix ZMQ Notification initialization and shutdownJoão Barbosa2015-11-041-2/+0
| | |_|/ | |/| | | | | | | | | | | | | | | | | | Moves the call Initialize() from init.cpp to CreateWithArguments() and handles the return value. Moves the call Shutdown() from init.cpp to destructor. Changes Initialize() and Shutdown() to protected members.
* | | | Merge pull request #6905Wladimir J. van der Laan2015-11-041-9/+13
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | a6efc01 Bugfix: Omit wallet-related options from -help when wallet is disabled (Luke Dashjr) 5f9260f Bugfix: If genproclimit is omitted to RPC setgenerate, don't change it; also show correct default in getmininginfo (Luke Dashjr) 420a82f Bugfix: Describe dblogsize option correctly (it refers to the wallet database, not memory pool) (Luke Dashjr) caa3d42 Bugfix: RPC: blockchain: Display correct defaults in help for verifychain method (Luke Dashjr)
| * | | Bugfix: Omit wallet-related options from -help when wallet is disabledLuke Dashjr2015-10-301-0/+4
| | | |
| * | | Bugfix: If genproclimit is omitted to RPC setgenerate, don't change it; also ↵Luke Dashjr2015-10-011-2/+2
| | | | | | | | | | | | | | | | show correct default in getmininginfo
| * | | Bugfix: Describe dblogsize option correctly (it refers to the wallet ↵Luke Dashjr2015-10-011-1/+1
| | | | | | | | | | | | | | | | database, not memory pool)
| * | | Bugfix: RPC: blockchain: Display correct defaults in help for verifychain methodLuke Dashjr2015-10-011-6/+6
| | | |
* | | | Merge pull request #6870Wladimir J. van der Laan2015-10-291-13/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 040c0ea Init: Cleanup error and warning strings (MarcoFalke) 6782f58 [trivial] Latest config.guess (MarcoFalke) bf68191 [trivial] rpcnet: fix typo (MarcoFalke) 95f4291 [trivial] Rewrite help text for feature enabled by default (MarcoFalke)
| * | | | Init: Cleanup error and warning stringsMarcoFalke2015-10-281-13/+12
| | | | | | | | | | | | | | | | | | | | Also update doc/translation_strings_policy.md
* | | | | Merge pull request #6776Pieter Wuille2015-10-281-1/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ab1f560 Support -checkmempool=N, which runs checks on average once every N transactions (Pieter Wuille)
| * | | | | Support -checkmempool=N, which runs checks on average once every N transactionsPieter Wuille2015-10-201-1/+4
| | | | | |
* | | | | | Merge pull request #6881Wladimir J. van der Laan2015-10-261-0/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 7bbc7c3 Add option for microsecond precision in debug.log (Suhas Daftuar)
| * | | | | | Add option for microsecond precision in debug.logSuhas Daftuar2015-10-261-0/+2
| | |_|/ / / | |/| | | |
* | | | | | Introduce -maxuploadtargetJonas Schnelli2015-10-261-0/+4
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * -maxuploadtarget can be set in MiB * if <limit> - ( time-left-in-24h-cycle / 600 * MAX_BLOCK_SIZE ) has reach, stop serve blocks older than one week and filtered blocks * no action if limit has reached, no guarantee that the target will not be surpassed * add outbound limit informations to rpc getnettotals
* | | | | Merge pull request #6856Wladimir J. van der Laan2015-10-231-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | d3b09f6 Do not allow blockfile pruning during reindex. (Alex Morcos)
| * | | | Do not allow blockfile pruning during reindex.Alex Morcos2015-10-191-1/+1
| |/ / / | | | | | | | | | | | | Also clarify startup message.