| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
| |
in a vector
within the wallet code.
|
| |
|
|
|
|
| |
Conflicts:
src/init.cpp
|
| |
|
|
|
| |
This is an Xcode project and a script to wrangle boost to work on the
mac.
|
| | |
|
| | |
|
| |
|
|
| |
(specific, use of "Dogecoin" as a noun are now capitalised).
|
| | |
|
| | |
|
| |\
| |
| |
| | |
bloom-todd
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| | |
(cherry picked from commit 5cdcfa9a2b445dd8f8009f6ff3a8ded4ee6515e6)
|
| | |
| |
| |
| |
| |
| | |
ported over from Dogecoin and Litecoin
(cherry picked from commit 8b09dad2d506fc5a6239863b1c0e33bf7e84da00)
|
| | |
| |
| |
| |
| |
| |
| | |
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
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
|
| | |
| |
| |
| | |
- adds nDefaultDbCache, nMaxDbCache and nMinDbCache in txdb.h
|
| | | |
|
| |\ \
| | |
| | |
| | | |
d54e819 Log warnings when bootstrap files are specified but cannot be opened (Wladimir J. van der Laan)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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.
|
| |\ \ \
| | | |
| | | |
| | | | |
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)
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
| | |
| | |
| | |
| | | |
This diagnostic tool removes all "tx" records from the wallet db,
then forces a full rescan, to rebuild "tx" records accurately.
|
| |/ / |
|
| |\ \
| | |
| | |
| | | |
df966d1 log parameter interactions to debug.log (Philip Kaufmann)
|
| | | | |
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | | |
8b9adca Allow `-noserver` with bitcoind (Wladimir J. van der Laan)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ \
| |/ /
|/| |
| | | |
1ad2636 qt: Prevent non-functional GUI from popping up during Init (Wladimir J. van der Laan)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | | |
9e9056c Remove -logtodebugger (Wladimir J. van der Laan)
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`-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.
|
| | | |
| | |
| | |
| | |
| | | |
Moved includes of "db.h" into #ifdef ENABLE_WALLET blocks or remove
them.
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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)
|
| | |/ /
| | |
| | |
| | |
| | | |
Transaction fee is only used by the wallet.
No need for it to be in main.cpp.
|
| |\ \ \
| | | |
| | | |
| | | | |
06eb2f2 Seperate out wallet options in help message (Wladimir J. van der Laan)
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Seperate out the wallet options in HelpMessage, and
don't show them if compiled with --disable-wallet.
Also add documentation for `-disablewallet` option.
|
| |/ / |
|
| | |
| |
| |
| | |
- was left out in #3326
|
| |\ \
| | |
| | |
| | |
| | | |
fdbdb7f cleanup includes in rpcnet.cpp (Philip Kaufmann)
b6aafca some string and indentation updates in init/rpcclient (Philip Kaufmann)
|
| | | | |
|
| |\ \ \
| |/ /
|/| | |
Allow mining RPCs with --disable-wallet
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The following mining-related RPC calls don't use the wallet:
- getnetworkhashps
- getmininginfo
- getblocktemplate
- submitblock
Enable them when compiling with --disable-wallet.
|
| |/ / |
|
| | |
| |
| |
| |
| | |
Delimit all code that uses the wallet functions
in implementation files that conditionally use the wallet.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 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.
|