aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Print parameter interactions to console, tooMatt Corallo2014-10-291-3/+4
| | | |
* | | | MOVEONLY: Move CFeeRate and Amount constants to amount.ojtimon2014-10-271-0/+1
|/ / /
* | | Merge pull request #5108Wladimir J. van der Laan2014-10-221-2/+2
|\ \ \ | | | | | | | | | | | | | | | | a873823 CAutoFile: Explicit Get() and remove unused methods (Wladimir J. van der Laan) fef24ca Add IsNull() to class CAutoFile and remove operator ! (Ruben Dario Ponticeli)
| * | | CAutoFile: Explicit Get() and remove unused methodsWladimir J. van der Laan2014-10-221-2/+2
| | | | | | | | | | | | | | | | Also add documentation to some methods.
* | | | qt: small English language updates from translatorsWladimir J. van der Laan2014-10-211-1/+1
| | | | | | | | | | | | | | | | More friendly language, use placeholders where possible
* | | | Merge pull request #5076Wladimir J. van der Laan2014-10-211-43/+43
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | c0195b1 Bugfix: Remove default from -zapwallettxes description (inaccurate) (Luke Dashjr) 0a08aa8 Parameterise command line option defaults, so translations are independent of them (Luke Dashjr)
| * | | | Bugfix: Remove default from -zapwallettxes description (inaccurate)Luke Dashjr2014-10-141-1/+1
| | | | |
| * | | | Parameterise command line option defaults, so translations are independent ↵Luke Dashjr2014-10-111-43/+43
| | | | | | | | | | | | | | | | | | | | of them
* | | | | Rename CWalletInterface to CValidationInterfacePieter Wuille2014-10-201-2/+2
| |/ / / |/| | | | | | | | | | | It's useful for much more than wallets.
* | | | Fix rebuild-chainstate feature and improve its performancePieter Wuille2014-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous refactorings broke the ability to rebuild the chainstate by deleting the chainstate directory, resulting in an incorrect "Incorrect or no genesis block found" error message. Fix that. Also, improve the performance of ActivateBestBlockStep by using the skiplist to only discover a few potential blocks to connect at a time, instead of all blocks forever - as we likely bail out after connecting a single one anyway.
* | | | Merge pull request #4942Wladimir J. van der Laan2014-10-141-17/+10
|\ \ \ \ | |/ / / |/| | | | | | | 9406471 Write fee estimate and peers files only when initialized (Wladimir J. van der Laan)
| * | | Write fee estimate and peers files only when initializedWladimir J. van der Laan2014-09-181-17/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #4669. Move the loading of addresses to StartNode() to make it more self-contained.
* | | | Merge pull request #4834Pieter Wuille2014-10-081-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7c70438 Get rid of the dummy CCoinsViewCache constructor arg (Pieter Wuille) ed27e53 Add coins_tests with a large randomized CCoinViewCache test. (Pieter Wuille) 058b08c Do not keep fully spent but unwritten CCoins entries cached. (Pieter Wuille) c9d1a81 Get rid of CCoinsView's SetCoins and SetBestBlock. (Pieter Wuille) f28aec0 Use ModifyCoins instead of mutable GetCoins. (Pieter Wuille)
| * | | | Get rid of the dummy CCoinsViewCache constructor argPieter Wuille2014-09-241-1/+1
| | | | |
* | | | | Merge pull request #4979Wladimir J. van der Laan2014-10-081-7/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | de10efd add -timeout default as constant and use them (Philip Kaufmann)
| * | | | | add -timeout default as constant and use themPhilip Kaufmann2014-10-061-7/+4
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | - update help message text - simplify code in init to check for -timeout
* / | | | minor txindex documentation improvementCozz Lovan2014-10-061-2/+1
|/ / / /
* | | | Merge pull request #4980Pieter Wuille2014-10-021-4/+5
|\ \ \ \ | | | | | | | | | | | | | | | 20a11ff minor variable init changes in init.cpp (Philip Kaufmann)
| * | | | minor variable init changes in init.cppPhilip Kaufmann2014-09-251-4/+5
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | - explicit init of pcoinsdbview and pwalletMain (even if not needed, as globals are init to NULL, it seems cleaner) - remove check if (pwalletMain) in Shutdown() as delete is valid even if pwalletMain is NULL
* | | | Merge pull request #4234Wladimir J. van der Laan2014-10-011-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | c122f55 qt: Register CAmount metatype (Wladimir J. van der Laan) a372168 Use a typedef for monetary values (Mark Friedenbach)
| * | | | Use a typedef for monetary valuesMark Friedenbach2014-09-261-3/+3
| | | | |
* | | | | Merge pull request #4796Pieter Wuille2014-09-291-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | e8b5f0d Move CBlockIndex, CChain and related code out of main (jtimon) 6db83db Decouple CChain from mapBlockIndex (jtimon)
| * | | | Decouple CChain from mapBlockIndexjtimon2014-09-081-1/+1
| | | | |
* | | | | autofile: don't copy CAutoFile by valueCory Fields2014-09-251-1/+1
| |/ / / |/| | |
* | | | Also create pid file in non-daemon modeWladimir J. van der Laan2014-09-201-1/+7
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | Always make a pid file, not only when `-daemon` specified. This is useful for troubleshooting, for attaching debuggers and loggers and such. - Write the pid file only after the datadir lock was acquired - Don't create or remove a pid file on WIN32, and also don't show the option
* | | Merge pull request #4825Pieter Wuille2014-09-161-2/+2
|\ \ \ | | | | | | | | | | | | 8d657a6 Fixing compiler warning C4800: 'type' forcing value to bool 'true' or 'false' (ENikS)
| * | | Fixing compiler warning C4800: 'type' forcing value to bool 'true' or 'false'ENikS2014-09-061-2/+2
| | | |
* | | | Merge pull request #4911Pieter Wuille2014-09-161-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | 611116d header include cleanup (Philip Kaufmann)
| * | | | header include cleanupPhilip Kaufmann2014-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | - ensures alphabetical ordering for includes etc. in source file headers
* | | | | Merge pull request #4875Pieter Wuille2014-09-161-1/+3
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | f7e3637 Eliminate extra assignment (Suhas Daftuar) ec7eb0f When reindexing check for file before trying to open (refactored) (Suhas Daftuar)
| * | | | When reindexing check for file before trying to open (refactored)Suhas Daftuar2014-09-101-1/+3
| | |/ / | |/| |
* | | | Merge pull request #4885Wladimir J. van der Laan2014-09-111-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | aa3c697 Store fewer orphan tx by default, add -maxorphantx option (Gavin Andresen) c74332c Stricter handling of orphan transactions (Gavin Andresen)
| * | | | Store fewer orphan tx by default, add -maxorphantx optionGavin Andresen2014-09-101-0/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is no reason to store thousands of orphan transactions; normally an orphan's parents will either be broadcast or mined reasonably quickly. This pull drops the maximum number of orphans from 10,000 down to 100, and adds a command-line option (-maxorphantx) that is just like -maxorphanblocks to override the default.
* / / / Use explicit fflush() instead of setvbuf()Adam Weiss2014-09-101-1/+0
|/ / / | | | | | | | | | | | | | | | | | | Flushing after every line when printing to console is desirable when running with systemd but setvbuf() has slightly different semantics on Windows that causes warnings. Just do an explicit fflush() after each line print to console instead.
* / / Introduce BlockMap type for mapBlockIndexPieter Wuille2014-09-041-1/+1
|/ /
* | Merge pull request #4768Wladimir J. van der Laan2014-09-011-1/+1
|\ \ | | | | | | | | | 2e28031 Perform CVerifyDB on pcoinsdbview instead of pcoinsTip (Wladimir J. van der Laan)
| * | Perform CVerifyDB on pcoinsdbview instead of pcoinsTipWladimir J. van der Laan2014-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bypassing the main coins cache allows more thorough checking with the same memory budget. This has no effect on performance because everything ends up in the child cache created by VerifyDB itself. It has bugged me ever since #4675, which effectively reduced the number of checked blocks to reduce peak memory usage. - Pass the coinsview to use as argument to VerifyDB - This also avoids that the first `pcoinsTip->Flush()` after VerifyDB writes a large slew of unchanged coin records back to the database.
* | | missing include boost/algorithm/string/replace.hppjtimon2014-08-291-0/+1
| | |
* | | Merge pull request #4599Jeff Garzik2014-08-291-0/+11
|\ \ \ | |/ / |/| |
| * | Create new signal for notification of new blocks. Use w/ -blocknotifyJeff Garzik2014-08-141-0/+11
| | |
* | | Split up util.cpp/hWladimir J. van der Laan2014-08-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split up util.cpp/h into: - string utilities (hex, base32, base64): no internal dependencies, no dependency on boost (apart from foreach) - money utilities (parsesmoney, formatmoney) - time utilities (gettime*, sleep, format date): - and the rest (logging, argument parsing, config file parsing) The latter is basically the environment and OS handling, and is stripped of all utility functions, so we may want to rename it to something else than util.cpp/h for clarity (Matt suggested osinterface). Breaks dependency of sha256.cpp on all the things pulled in by util.
* | | Remove print() from core functionsWladimir J. van der Laan2014-08-201-2/+1
| | | | | | | | | | | | Break dependency on util.
* | | Merge pull request #4605Wladimir J. van der Laan2014-08-181-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | aa82795 Add detailed network info to getnetworkinfo RPC (Wladimir J. van der Laan) 075cf49 Add GetNetworkName function (Wladimir J. van der Laan) c91a947 Add IsReachable(net) function (Wladimir J. van der Laan) 60dc8e4 Allow -onlynet=onion to be used (Wladimir J. van der Laan)
| * | Add detailed network info to getnetworkinfo RPCWladimir J. van der Laan2014-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds per-network information to the getnetworkinfo RPC call: - Is the network limited? - Is the network reachable - Which proxy is used for this network, if any Inspired by #2575.
| * | Allow -onlynet=onion to be usedWladimir J. van der Laan2014-07-301-1/+1
| | | | | | | | | | | | | | | Just an alias for onlynet=tor, but matches the new name of the proxy option -onion= better.
* | | Merge pull request #4615Wladimir J. van der Laan2014-08-061-2/+1
|\ \ \ | | | | | | | | | | | | 283a3b8 small ordering cleanup of init help message (Philip Kaufmann)
| * | | small ordering cleanup of init help messagePhilip Kaufmann2014-08-011-2/+1
| |/ /
* / / Typo, and a few "Bitcoin" -> "Bitcoin Core"pryds2014-08-041-3/+3
|/ / | | | | | | Github-Pull: #4619
* | Merge pull request #4593Wladimir J. van der Laan2014-07-301-3/+4
|\ \ | | | | | | | | | d70bc52 Rework block processing benchmark code (Pieter Wuille)
| * | Rework block processing benchmark codePieter Wuille2014-07-271-3/+4
| | | | | | | | | | | | | | | | | | * Replace -benchmark (and the related fBenchmark) with a regular debug option, -debug=bench. * Increase coverage and granularity of individual block processing steps. * Add cummulative times.