aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Reverted accidental change to indentation.Ross Nicoll2014-04-061-1/+1
|
* Reworked fixed change address handling to parse addresses on init and store ↵Ross Nicoll2014-04-061-2/+19
| | | | | | in a vector within the wallet code.
* Document the -change option.Chris Moore2014-04-051-0/+1
| | | | | | Conflicts: src/init.cpp
* Lets get at least dogecoind buildingAlan Westbrook2014-04-051-4/+4
| | | | | This is an Xcode project and a script to wrangle boost to work on the mac.
* warning and documentation changes to match dogecoin feesJannis Froese2014-03-291-1/+1
|
* Updated port numbers to reflect Dogecoin ports.Ross Nicoll2014-03-281-2/+2
|
* Replaced occurrences of "bitcoin" with "dogecoin" or "Dogecoin" as appropriateRoss Nicoll2014-03-281-5/+5
| | | | (specific, use of "Dogecoin" as a noun are now capitalised).
* Replaced references to Bitcoin with Dogecoin/Dogecoin Core as appropriate.Ross Nicoll2014-03-281-5/+5
|
* document -bloomfilters optionJannis Froese2014-03-231-0/+1
|
* Merge branch 'node-bloom-service-bit' of github.com:petertodd/bitcoin into ↵Jannis Froese2014-03-231-0/+5
|\ | | | | | | bloom-todd
| * Add NODE_BLOOM service bit and bump protocol versionPeter Todd2013-10-261-0/+5
| | | | | | | | | | | | | | | | | | | | Lets nodes advertise that they offer bloom filter support explicitly. The protocol version bump allows SPV nodes to assume that NODE_BLOOM is set if NODE_NETWORK is set for pre-70002 nodes. Also adds an undocumented option to turn bloom filter support off for testing purposes. Nodes attempting to use bloom filters are immediately dropped so as to not waste their bandwidth.
* | credit where credit is dueJannis Froese2014-03-221-0/+2
| | | | | | | | (cherry picked from commit 5cdcfa9a2b445dd8f8009f6ff3a8ded4ee6515e6)
* | Protocol changes for Dogecoin 1.5Jannis Froese2014-03-221-0/+4
| | | | | | | | | | | | ported over from Dogecoin and Litecoin (cherry picked from commit 8b09dad2d506fc5a6239863b1c0e33bf7e84da00)
* | Log which wallet is used during initWladimir J. van der Laan2014-03-071-0/+1
| | | | | | | | | | | | | | Now that the wallet can be selected using -wallet it is important to log which wallet is being used for later troubleshooting. Rebased-From: 8a6894ca
* | Get rid of C99 PRI?64 usage in source filesWladimir J. van der Laan2014-02-241-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Amend to d5f1e72. It turns out that BerkelyDB was including inttypes.h indirectly, so we cannot fix this with just macros. Trivial commit: apply the following script to all .cpp and .h files: # Middle sed -i 's/"PRIx64"/x/g' "$1" sed -i 's/"PRIu64"/u/g' "$1" sed -i 's/"PRId64"/d/g' "$1" # Initial sed -i 's/PRIx64"/"x/g' "$1" sed -i 's/PRIu64"/"u/g' "$1" sed -i 's/PRId64"/"d/g' "$1" # Trailing sed -i 's/"PRIx64/x"/g' "$1" sed -i 's/"PRIu64/u"/g' "$1" sed -i 's/"PRId64/d"/g' "$1" After this commit, `git grep` for PRI.64 should turn up nothing except the defines in util.h.
* | Don't use PRIx64 formatting derives from inttypes.hWladimir J. van der Laan2014-02-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | As the tinyformat-based formatting system (introduced in b77dfdc) is type-safe, no special format characters are needed to specify sizes. Tinyformat can support (ignore) the C99 prefixes such as "ll" but chokes on MSVC's inttypes.h defines prefixes such as "I64X". So don't include inttypes.h and define our own for compatibility. (an alternative would be to sweep the entire codebase using sed -i to get rid of the size specifiers but this has less diff impact)
* | add constants for shared (GUI/core) -dbcache settingsPhilip Kaufmann2014-02-171-4/+6
| | | | | | | | - adds nDefaultDbCache, nMaxDbCache and nMinDbCache in txdb.h
* | Increase default dbcache to 100 MiBPieter Wuille2014-02-171-2/+2
| |
* | Merge pull request #3643Wladimir J. van der Laan2014-02-171-1/+5
|\ \ | | | | | | | | | d54e819 Log warnings when bootstrap files are specified but cannot be opened (Wladimir J. van der Laan)
| * | Log warnings when bootstrap files are specified but cannot be openedWladimir J. van der Laan2014-02-091-1/+5
| | | | | | | | | | | | | | | | | | | | | - Log a warning when bootstrap files are specified using `-loadblock` but cannot be opened. - Log a warning when bootstrap.dat exists in the home directory but cannot be opened.
* | | Merge pull request #3646Wladimir J. van der Laan2014-02-161-1/+1
|\ \ \ | | | | | | | | | | | | 5770254 Copyright header updates s/2013/2014 on files whose last git commit was done in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does. (gubatron)
| * | | Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron2014-02-091-1/+1
| |/ / | | | | | | | | | | | | | | | in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.
* | | Add -zapwallettxes cli/config option, used for wallet recoveryJeff Garzik2014-02-141-0/+21
| | | | | | | | | | | | | | | This diagnostic tool removes all "tx" records from the wallet db, then forces a full rescan, to rebuild "tx" records accurately.
* | | Add option to avoid spending unconfirmed changeWladimir J. van der Laan2014-02-111-0/+2
|/ /
* | Merge pull request #3588Wladimir J. van der Laan2014-01-301-9/+17
|\ \ | | | | | | | | | df966d1 log parameter interactions to debug.log (Philip Kaufmann)
| * | log parameter interactions to debug.logPhilip Kaufmann2014-01-271-9/+17
| | |
* | | Prepare block connection logic for headers-first.Pieter Wuille2014-01-271-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes the block processing logic from "try to atomically switch to a new block" to a continuous "(dis)connect a block, aiming for the assumed best chain". This means the smallest atomic operations on the chainstate become individual block connections or disconnections, instead of entire reorganizations. It may mean that we try to reorganize to one block, fail, and rereorganize again to the old block. This is slower, but doesn't require unbounded RAM. It also means that a ConnectBlock which fails may be no longer called from the ProcessBlock which knows which node sent it. To deal with that, a mapBlockSource is kept, and invalid blocks cause asynchronous "reject" messages and banning (if necessary).
* | Remove redundant .c_str()sWladimir J. van der Laan2014-01-231-22/+22
| | | | | | | | | | | | | | After the tinyformat switch sprintf() family functions support passing actual std::string objects. Remove unnecessary c_str calls (236 of them) in logging and formatting.
* | Merge pull request #3449Wladimir J. van der Laan2014-01-081-13/+3
|\ \ | | | | | | | | | 8b9adca Allow `-noserver` with bitcoind (Wladimir J. van der Laan)
| * | Allow `-noserver` with bitcoindWladimir J. van der Laan2013-12-201-13/+3
| | | | | | | | | | | | | | | | | | | | | | | | Allow running bitcoind without server. - Default to -server mode (of course) for bitcoind with SoftSetBoolArg - Remove fForceServer argument from AppInit2 - Move fDaemon to a static variable in bitcoind
* | | Merge pull request #3427Wladimir J. van der Laan2013-12-231-2/+2
|\ \ \ | |/ / |/| | | | | 1ad2636 qt: Prevent non-functional GUI from popping up during Init (Wladimir J. van der Laan)
| * | qt: Prevent non-functional GUI from popping up during InitWladimir J. van der Laan2013-12-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | When a InitError or InitWarning happens, the GUI pops up but is unusable (until Init finishes). This is caused by showNormalIfMinimized. Add a message flag to skip this call for Init errors or warnings.
* | | init: add better formating for some command-line optionsPhilip Kaufmann2013-12-201-4/+4
| | |
* | | Merge pull request #3416Wladimir J. van der Laan2013-12-201-5/+0
|\ \ \ | | | | | | | | | | | | 9e9056c Remove -logtodebugger (Wladimir J. van der Laan)
| * | | Remove -logtodebuggerWladimir J. van der Laan2013-12-151-5/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | `-logtodebugger` is a strange, obscure, WIN32-only (mostly MSVC) thing. Let's clean up the options a bit get rid of it. test_bitcoin was using fLogToDebugger as a way to prevent logging to debug.log. For this, add a boolean (not exposed as option) fLogToDebugLog that defaults to true and is disabled in the tests.
* | | Make bitcoin compile without wallet if "db_cxx.h" is not presentThomas Holenstein2013-12-191-1/+1
| | | | | | | | | | | | | | | Moved includes of "db.h" into #ifdef ENABLE_WALLET blocks or remove them.
* | | Merge pull request #3412Wladimir J. van der Laan2013-12-191-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c3a7f51 Move `verifymessage` from rpcwallet to rpcmisc (Wladimir J. van der Laan) 723a03d Move `createmultisig` from rpcwallet to rpcmisc (Wladimir J. van der Laan) 452955f Move `validateaddress` from rpcwallet to rpcmisc (Wladimir J. van der Laan) cd7fa8b Move `nTransactionFee` from main.cpp to wallet.cpp (Wladimir J. van der Laan) a943bde Move `settxfee` from rpcblockchain to rpcwallet (Wladimir J. van der Laan) 16bc9aa Move `getinfo` from rpcnet to rpcmisc (Wladimir J. van der Laan) 652e156 add new RPC implementation file `rpcmisc.cpp` (Wladimir J. van der Laan)
| * | | Move `nTransactionFee` from main.cpp to wallet.cppWladimir J. van der Laan2013-12-131-1/+1
| |/ / | | | | | | | | | | | | Transaction fee is only used by the wallet. No need for it to be in main.cpp.
* | | Merge pull request #3424Wladimir J. van der Laan2013-12-181-9/+10
|\ \ \ | | | | | | | | | | | | 06eb2f2 Seperate out wallet options in help message (Wladimir J. van der Laan)
| * | | Seperate out wallet options in help messageWladimir J. van der Laan2013-12-161-9/+10
| |/ / | | | | | | | | | | | | | | | | | | Seperate out the wallet options in HelpMessage, and don't show them if compiled with --disable-wallet. Also add documentation for `-disablewallet` option.
* / / some more small re-branding changes (Bitcoin Core)Philip Kaufmann2013-12-161-2/+2
|/ /
* | update help for -blockmaxsize and blockprioritysizePhilip Kaufmann2013-12-131-3/+4
| | | | | | | | - was left out in #3326
* | Merge pull request #3350Wladimir J. van der Laan2013-12-101-8/+8
|\ \ | | | | | | | | | | | | fdbdb7f cleanup includes in rpcnet.cpp (Philip Kaufmann) b6aafca some string and indentation updates in init/rpcclient (Philip Kaufmann)
| * | some string and indentation updates in init/rpcclientPhilip Kaufmann2013-12-091-8/+8
| | |
* | | 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.