Suhas Daftuar
680b0c0138
Release cs_main before calling ProcessNewBlock (cmpctblock handling)
8 years ago
Matt Corallo
4e048142a5
Lock mapArgs/mapMultiArgs access in util
8 years ago
Matt Corallo
4cd373aea8
Un-expose mapArgs from utils.h
8 years ago
Matt Corallo
71fde5563b
Get rid of mapArgs direct access in ZMQ construction
8 years ago
Matt Corallo
0cf86a6678
Introduce (and use) an IsArgSet accessor method
8 years ago
Matt Corallo
2b5f085ad1
Fix non-const mapMultiArgs[] access after init.
...
Swap mapMultiArgs for a const-reference to a _mapMultiArgs which is
only accessed in util.cpp
8 years ago
Matt Corallo
c8042a48f0
Remove arguments to ParseConfigFile
8 years ago
Pieter Wuille
407cdd6cb8
Do not evaluate hidden LogPrint arguments
8 years ago
Jonas Schnelli
54f80263fc
[CoinControl] Allow non-wallet owned change addresses
8 years ago
Jonas Schnelli
9479f8dfcf
Allow shutdown during LoadMempool, dump only when necessary
8 years ago
Pieter Wuille
ba3cecf5c4
Share unused mempool memory with coincache
...
If the mempool is not completely full, treat the difference between
the maximum size and the actual usage as available for the coin cache.
This also changes the early flush trigger from (usage > 0.9 * space)
to (usage > 0.9 * space && usage > space - 100MB). This means we're not
permanently leaving 10% of the space unused when the space is large.
8 years ago
accraze
3f67972654
updated listsinceblock rpc docs
...
fixes #8758
8 years ago
Anditto Heristyo
afe5b3f553
Added missing colons in when running help command
8 years ago
Pieter Wuille
2ddfcfd2d6
Make CScript (and prevector) c++11 movable.
...
Such moves are used when reallocating vectors that contain them,
for example.
8 years ago
Pieter Wuille
91335ba389
Remove unused MakeTransactionRef overloads
8 years ago
Pieter Wuille
6713f0f142
Make FillBlock consume txn_available to avoid shared_ptr copies
8 years ago
Pieter Wuille
62607d796c
Convert COrphanTx to keep a CTransactionRef
8 years ago
Pieter Wuille
c44e4c467c
Make AcceptToMemoryPool take CTransactionRef
8 years ago
Patrick Strateman
d63ff6265b
Make nWalletDBUpdated atomic to avoid a potential race.
8 years ago
Douglas Roark
b3717326c1
Re-enable a blank v1 Tx JSON test
8 years ago
Gregory Sanders
0513c707aa
Make rpcauth help message clearer, add example in example .conf
8 years ago
Karl-Johan Alm
280a5599eb
Added some simple tests for the RAII-style events.
8 years ago
MarcoFalke
fa89581860
build: Include cuckoocache header in Makefile
8 years ago
BtcDrak
9cb66248dc
Fix testfile reference
8 years ago
Karl-Johan Alm
7f7f102b8d
Switched bitcoin-cli.cpp to use RAII unique pointers with deleters.
8 years ago
Karl-Johan Alm
e5534d2f01
Added std::unique_ptr<> wrappers with deleters for libevent modules.
8 years ago
Gregory Sanders
cee16123f5
reduce number of lookups in TransactionWithinChainLimit
8 years ago
BtcDrak
23208ac81b
Remove unused test files and references
8 years ago
Karl-Johan Alm
815f4148b2
Uses built-in byte swap if available (Apple) and if bswap_XX is undefined.
...
Defers to pre-defined version if found (e.g. protobuf). For protobuf case, the definitions are identical and thus include order should not affect results.
8 years ago
MarcoFalke
fa16b8fdba
If we don't allow free txs, always send a fee filter (take 2)
8 years ago
Chris Stewart
988ce2ddef
Adding 'amount' label to tx_valid/tx_invalid.json files
8 years ago
Russell Yanofsky
39c77b00e3
Add documentation for CWalletTx::fFromMe member.
8 years ago
Pieter Wuille
5dd626a6d3
Make fuzzer actually test CTxOutCompressor
8 years ago
Suhas Daftuar
7017298eb2
Allow compactblock reconstruction when block is in flight
8 years ago
Wladimir J. van der Laan
5113474a91
wallet: Use CDataStream.data()
8 years ago
Wladimir J. van der Laan
e2300ff65e
bench: Use CDataStream.data()
8 years ago
Wladimir J. van der Laan
adff950fae
dbwrapper: Use new .data() method of CDataStream
8 years ago
Wladimir J. van der Laan
a2141e415a
streams: Remove special cases for ancient MSVC
...
Quite sure that we haven't supported MSVC 6.0 for ages (MSC_VER 1300 is
>= MSVC++ 7.0) but with the C++11 switch we can be sure.
8 years ago
Wladimir J. van der Laan
af4c44ce59
streams: Add data() method to CDataStream
...
Analogous to c++11 vector data().
8 years ago
Patrick Strateman
a4153e20ec
Simple fuzzing framework
8 years ago
Jeremy Rubin
67dac4e193
Add unit tests for the CuckooCache
...
SQUASHME: Update Tests for other SQUASHMEs
8 years ago
Jeremy Rubin
c9e69fbf39
Add CuckooCache implementation and replace the sigcache map_type with it
...
SQUASHME: Change cuckoocache to only work for powers of two, to avoid mod operator
SQUASHME: Update Documentation and simplify logarithm logic
SQUASHME: OSX Build Errors
SQUASHME: minor Feedback from sipa + bluematt
SQUASHME: DOCONLY: Clarify a few comments.
8 years ago
Russell Yanofsky
a1fe9446e9
Remove reference to nonexistent "version" wallet transaction mapvalue field
...
This change removes a mapValue.erase("version") statement which deletes a
mapValue entry that never existed. The statement was mistakenly added in commit
865c3a2383
in 2010 and is harmless but confusing.
8 years ago
Pieter Wuille
ed5896976a
Batch construct batches
...
Reuse the serialization buffers used for constructing the LevelDB
write batch. This avoids 2 allocations per utxo write.
8 years ago
Jonas Schnelli
390bd14684
[Qt] Console: don't allow empty arguments when using the comma-syntax
8 years ago
Gregory Maxwell
da9cdd2c9c
Do not run functions with necessary side-effects in assert()
8 years ago
Chris Moore
453bda63dd
Add 'subtractFeeFromOutputs' option to 'fundrawtransaction'.
8 years ago
Gregory Sanders
5882c099d9
CreateTransaction: Don't return success with too-many-ancestor txn
8 years ago
Gregory Sanders
0b2294a980
SelectCoinsMinConf: Prefer coins with fewer ancestors
8 years ago
Luke Dashjr
6a32c0f69d
Qt/Test: Check handling of empty arguments in RPC debug console
8 years ago