| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Write bestblock records in wallets:
* Every 20160 blocks synced, no matter what (before: none during IBD)
* Every 144 blocks after IBD (before: for every block, slow)
* When creating a new wallet
* At shutdown
This should result in far fewer spurious rescans.
|
| |\
| |
| | |
Treat dust outputs as non-standard, un-hardcode TX_FEE constants
|
| | |
| |
| |
| |
| |
| |
| | |
Allow setting of MIN_TX_FEE / MIN_RELAY_TX_FEE with
-mintxfee / -mintxrelayfee
Default values are the same (0.0001 BTC).
|
| |\ \
| | |
| | | |
Exit cleanly if AppInit2 returns false
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bitcoin-Qt could core dump if application initialization failed in certain ways.
I double-fixed this:
1) qt/bitcoin.cpp now shuts down core threads cleanly if AppInit2 returns false
2) init.cpp now exits before StartNode() if strErrors is set (no reason to StartNode if we're just going to exit immediately anyway).
Tested by triggering all of the various ways AppInit2 can fail, either by passing bogus command-line arguments or just recompiling tweaked code to simulate failure.
This is a partial fix for #2480
|
| |\ \
| | |
| | | |
Some database/-related recovery improvements
|
| | | | |
|
| | | |
| | |
| | |
| | | |
- remove code from step 7, which we already have in step 5 of init
|
| |\ \ \
| | | |
| | | | |
Allow the default key to be unavailable
|
| | |/ /
| | |
| | |
| | | |
This solves the issue where no default key can be added after -salvagewallet.
|
| |\ \ \
| | | |
| | | | |
Bugfix: if no bestblock record is present, do a -rescan
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It is possible to have a wallet.dat file without any bestblock
record at all (if created offline, for example), which - when
loaded into a client with a up-to-date chain - does no rescan and
shows no transactions.
Also make sure to write the current best block after a rescan, so
it isn't necessary twice.
|
| |/ /
| |
| |
| |
| |
| | |
- add a check that requested Winsock version is available
- update some strings
- remove -gen=0 from help-message as this is default
|
| |\ \
| | |
| | | |
Try to increase file descriptor rlimit if necessary
|
| | | |
| | |
| | |
| | | |
As the default can be too low, especially on OSX.
|
| |/ / |
|
| |/
|
|
|
|
|
| |
WSAStartup should be called before using any other socket
functions. BindListenPort is not called if not listening.
Closes #2585.
|
| |
|
|
|
| |
GUI can't connect to RPC. Showing this option in the help confuses
people, so remove it.
|
| |
|
|
|
|
| |
- updates for bitcoinstrings.cpp and bitcoin_en.ts
- changes help text for -rpcthreads to match -par
- fix a small glitch with -par to be "-par=<n>"
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Two reasons for this change:
1. Need to always use boost::thread's sleep, even on Windows, so the
sleeps can be interrupted (prior code used Windows' built-in Sleep).
2. I always forgot what units the old Sleep took.
|
| |
|
|
|
|
|
|
|
|
| |
Create a boost::thread_group object at the qt/bitcoind main-loop level
that will hold pointers to all the main-loop threads.
This will replace the vnThreadsRunning[] array.
For testing, ported the BitcoinMiner threads to use its
own boost::thread_group.
|
| |\
| |
| | |
Move GenerateBitcoins() call out of net.cpp's StartNode()
|
| | |
| |
| |
| |
| | |
The internal miner is closely bound to the wallet engine,
not the blockchain engine.
|
| |\ \
| |/
|/| |
translations update 2013-03-19 (bitcoinstrings.cpp / bitcoin_en.ts)
|
| | | |
|
| |\ \
| | |
| | | |
(finally) Remove IRC Seed support now that lfnet is down.
|
| | |/ |
|
| |\ \
| |/
|/| |
alertnotify, so bitcoind users can get email/sms/whatever of alerts
|
| | |
| |
| |
| |
| |
| | |
Runs a shell command when an AppliesToMe() alert is received.
%s in the <cmd> string is replaced with the alert.strStatusBar
message.
|
| | |
| |
| |
| |
| | |
Now that the wallet is the only thing in BDB any DB open errors must be
from the wallet itself-- so deleting everything else will not likely help.
|
| |/
|
|
|
| |
- harmonize the database related init messages
- as we have a thread for importing blocks, that init message is obsolete
|
| |\
| |
| | |
small changes in init, main, checkpoints.h and bitcoin-qt.pro
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
- remove an unneeded MODAL flag, as MSG_ERROR sets MODAL
- re-order an if-clause in main to have bool checks before a function call
- fix some log messages that used wrong function names
- make a log message use a correct ellipsis
- remove some unneded spaces, brackets and line-breaks
- fix style for adding files in the Qt project
|
| |\ \
| | |
| | | |
Add -walletnotify to call an external script on wallet transactions
|
| | | | |
|
| | |/
|/| |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| | |
| | | |
Add optional transaction index to databases
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
By specifying -txindex when initializing the database, a txid-to-diskpos
index is maintained in the blktree database. This database is used to
help answering getrawtransaction() RPC queries, when enabled.
Changing the -txindex value requires a -reindex; the client will abort
at startup if the database and the specified -txindex mismatch.
|
| |\ \ \
| |/ /
|/| | |
add InitMessage() to noui and use debug.log for GUI
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- this pull adds an InitMessage() function to noui.cpp, which outputs init
messages to debug.log (this allows to remove some printf() calls from
init.cpp)
- change InitMessage() in bitcoin.cpp to also write init messages to
debug.log to ensure nothting is missing in the log because of the
removal of printf() calls in init.cpp
|