Cory Fields
fe997dfd12
build: fix building against qt5.4/5.5
10 years ago
Jorge Timón
60c8bac77c
Includes: Cleanup around net main and wallet
...
-Move from .h to .cpp: in main, net and wallet
-Remove unnecessary #include "main.h"
-Cleanup some wallet files includes
10 years ago
Jorge Timón
9dd793f499
TRIVIAL: Missing includes
10 years ago
Wladimir J. van der Laan
d2464dfee9
Merge pull request #6287
...
a794284
locking: add a quick example of GUARDED_BY (Cory Fields)
2b890dd
locking: fix a few small issues uncovered by -Wthread-safety (Cory Fields)
cd27bba
locking: teach Clang's -Wthread-safety to cope with our scoped lock macros (Cory Fields)
10 years ago
Wladimir J. van der Laan
d946e9a848
Merge pull request #5515
...
0fcc4e1
Assert on probable deadlocks if the second lock isnt try_lock (Matt Corallo)
10 years ago
Jonas Schnelli
8d2af54ecc
extend bip32 tests to cover Base58c/CExtKey decode
10 years ago
Jonas Schnelli
7cb1f9f7eb
fix and extend CBitcoinExtKeyBase template
...
- fix Decode call (req. only one param)
- add constructor for base58c->CExtKey
10 years ago
Matt Corallo
0fcc4e1e04
Assert on probable deadlocks if the second lock isnt try_lock
10 years ago
Ross Nicoll
c433828df9
Handle no chain tip available in InvalidChainFound()
...
Handle the case where no chain tip is available, in InvalidChainFound(). This fixes a null pointer deference when running unit tests, if the genesis block or block validation code is broken.
10 years ago
Wladimir J. van der Laan
633fe10869
Merge pull request #6149
...
27d7605
Buffer log messages and explicitly open logs (Adam Weiss)
10 years ago
Casey Rodarmor
56b28fca46
Don't share objects between TestInstances
10 years ago
Wladimir J. van der Laan
45d1f5932b
Merge pull request #6381
...
c4973aa
Chainparams: CTestNetParams and CRegTestParams extend directly from CChainParams (Jorge Timón)
d3cf546
Chainparams: Introduce CreateGenesisBlock() static function (Jorge Timón)
10 years ago
Wladimir J. van der Laan
24f6928192
Merge pull request #6400
...
1327897
Reformat help text of estimatefee and estimatepriority to match other help texts. (Pavel Janík)
10 years ago
Wladimir J. van der Laan
24ce77d775
Merge pull request #6444
...
0aad1f1
Exempt unspendable transaction outputs from dust checks (zathras-crypto)
10 years ago
Matt Corallo
6bdb474dc9
Implement watchonly support in fundrawtransaction
...
Some code and test cases stolen from
Bryan Bishop <bryan@ledgerx.com> (pull #5524 ).
10 years ago
Matt Corallo
f5813bdd3e
Add logic to track pubkeys as watch-only, not just scripts
10 years ago
Matt Corallo
d3354c52d7
Add have-pubkey distinction to ISMINE flags
...
This indicates that, eg, we have a public key for a key which may
be used as a pay-to-pubkey-hash. It generally means that we can
create a valid scriptSig except for missing private key(s) with
which to create signatures.
10 years ago
Matt Corallo
5c17059872
Update importaddress help to push its use to script-only
10 years ago
Matt Corallo
a1d7df3236
Add importpubkey method to import a watch-only pubkey
10 years ago
Matt Corallo
907a425aa5
Add p2sh option to importaddress to import redeemScripts
10 years ago
Matt Corallo
983d2d90af
Split up importaddress into helper functions
10 years ago
Matt Corallo
cfc3dd3428
Also remove pay-2-pubkey from watch when adding a priv key
10 years ago
Pavel Janík
1327897aee
Reformat help text of estimatefee and estimatepriority to match other help texts.
10 years ago
Wladimir J. van der Laan
6d6b11e793
Merge pull request #6408
...
dca6040
[Qt] remove std namespace polution from code (Philip Kaufmann)
10 years ago
Wladimir J. van der Laan
8fe5cce3d5
Merge pull request #6453
...
9e38d0f
Separate core memory usage computation in core_memusage.h (Pieter Wuille)
10 years ago
Pieter Wuille
9e38d0f745
Separate core memory usage computation in core_memusage.h
10 years ago
Wladimir J. van der Laan
89289d875d
Fix warning introduced by #6412
...
SOCKET are defined as unsigned integers, thus always >=0.
10 years ago
Wladimir J. van der Laan
1a2de3237f
Merge pull request #6412
...
d422f9b
Test whether created sockets are select()able (Pieter Wuille)
10 years ago
Wladimir J. van der Laan
dc51608c9c
Merge pull request #6447
...
2cb8ee9
remove unused inv from ConnectTip() (Pavel Vasin)
10 years ago
Wladimir J. van der Laan
3c923e8975
Merge pull request #6457
...
0ef9858
Documenting pruned, pruneheight and softforks in getblockchaininfo (Simon Males)
0c89579
Include pruned state in chaininfo.json (Simon Males)
10 years ago
Simon Males
0ef9858707
Documenting pruned, pruneheight and softforks in getblockchaininfo
10 years ago
zathras-crypto
0aad1f13b2
Exempt unspendable transaction outputs from dust checks
...
Since unspendable outputs can't be spent, there is no threshold at which it would be uneconomic to spend them.
This primarily targets transaction outputs with `OP_RETURN`.
---
Initially based on:
commit 9cf0ae26350033d43d5dd3c95054c0d1b1641eda
Author: zathras-crypto <zathrasc@gmail.com>
Date: Wed Mar 25 02:04:02 2015 -0700
Changes:
- cherry-picked on top of bitcoin:master
- added RPC test for fundrawtransaction
10 years ago
Simon Males
0c895799c8
Include pruned state in chaininfo.json
10 years ago
Wladimir J. van der Laan
ec249d4a1d
util: use locale-independent parsing in ParseDouble
...
Use locale-indepent C++ based parsing instead of C's strtod,
which checks for different input based on the user's locale.
Fixes #6443 .
10 years ago
Wladimir J. van der Laan
7650449a67
univalue: Avoid unnecessary roundtrip through double for numbers
...
JSON makes no distinction between numbers and reals, and our code
doesn't need to do so either.
This removes VREAL, as well as its specific post-processing in
`UniValue::write`. Non-monetary amounts do not need to be forcibly
formatted with 8 decimals, so the extra roundtrip was unnecessary
(and potentially loses precision).
10 years ago
Wladimir J. van der Laan
e061e2778d
rpc: Make ValueFromAmount always return 8 decimals
...
This is the format that was always returned to JSON clients.
The difference was not noticed before, because VREAL values
are post-processed by univalue.
By implementing the functionality directly it breaks the dependency
of rpcserver on utilmoneystr. FormatMoney is now only used for debugging
purposes.
To test, port over the formatting tests from util_tests.cpp to
rpc_tests.cpp.
10 years ago
Wladimir J. van der Laan
dcc495e011
Merge pull request #6372
...
e3c4297
Update Linearize tool to support Windows paths (Paul Georgiou)
10 years ago
Wladimir J. van der Laan
fe3fe547f7
Merge pull request #6439
...
09d4ddf
Updated URL location of netinstall for Debian (฿tcDrak)
10 years ago
Wladimir J. van der Laan
7ed3d93294
Merge pull request #6442
...
6d6cec3
Create centaur1-key.pgp (centaur1)
10 years ago
Wladimir J. van der Laan
059b3525c4
Merge pull request #6434
...
83b48c8
configure --enable-debug changes (Gavin Andresen)
10 years ago
Wladimir J. van der Laan
b01981e758
Merge pull request #6430
...
3361edd
doc: Add NBitcoin to bitcoinconsensus examples (Braydon Fuller)
b1bac4e
Add description for bitcoinconsensus_ERR_OK (Braydon Fuller)
c156ada
doc: add documentation for shared library libbitcoinconsensus (Braydon Fuller)
10 years ago
Philip Kaufmann
dca6040a86
[Qt] remove std namespace polution from code
10 years ago
Pavel Vasin
2cb8ee9ac7
remove unused inv from ConnectTip()
10 years ago
Gavin Andresen
83b48c8971
configure --enable-debug changes
...
Three changes to how configure --enable-debug behaves:
1. Preserve user-passed CXXFLAGS/CFLAGS
2. Compile with -DDEBUG_LOCKORDER
3. Add -DDEBUG -DDEBUG_LOCKORDER to CPPFLAGS (since they are preprocessor options)
10 years ago
centaur1
6d6cec3838
Create centaur1-key.pgp
10 years ago
Wladimir J. van der Laan
ed789ceade
Merge pull request #6438
...
d4b1d5a
openssl: avoid config file load/race (Cory Fields)
10 years ago
Wladimir J. van der Laan
5bdc218ee2
Merge pull request #6440
...
db42558
Remove bash test note from rpc-tests readme (fanquake)
10 years ago
Wladimir J. van der Laan
ce183dce2e
qt: update forgotten emit to Q_EMIT in macdockiconhandler.mm
...
Leftover from #6433
10 years ago
Braydon Fuller
3361edd010
doc: Add NBitcoin to bitcoinconsensus examples
10 years ago
Wladimir J. van der Laan
1ae3196c38
Merge pull request #6373
...
eb4f35d
depends: bump qrencode to 3.4.4 (Cory Fields)
142ee60
depends: bump protobuf to 2.6.1 (Cory Fields)
d5b1851
depends: bump ccache to 3.2.2 (Cory Fields)
00c5a73
depends: bump miniupnpc to 1.9.20150609 (Cory Fields)
4bdad99
depends: bump boost to 1.58.0 (Cory Fields)
10 years ago