Luke Dashjr
b74ff5cf0c
Bugfix: Correctly replace generated headers and fail cleanly
...
Also removes generation of headers for *.raw files in test_bitcoin (none exist anymore)
8 years ago
Russell Yanofsky
1126c853d9
[qa] Change sync_blocks to pick smarter maxheight
...
Instead of syncing to max height returned by the waitforblockheight RPC, sync
to the max height returned by the getblockcount RPC.
This change was suggested by Suhas Daftuar <sdaftuar@chaincode.com>.
8 years ago
Alex Morcos
79f755db41
Unset fImporting for loading mempool
8 years ago
Jonas Schnelli
f7345050e9
Make strWalletFile const
8 years ago
Jonas Schnelli
079142b757
fNetworkActive is not protected by a lock, use an atomic
8 years ago
Luke Dashjr
5394b3940d
Wallet: Split main logic from InitLoadWallet into CreateWalletFromFile
8 years ago
Luke Dashjr
fb0c934d1b
Wallet: Let the interval-flushing thread figure out the filename
8 years ago
Wladimir J. van der Laan
87ab49e4fe
Merge #9124 : Use better name for local variable to prevent -Wshadow compiler warning
...
bf49f10
Use better name for local variable to prevent -Wshadow compiler warning (Pavel Janík)
8 years ago
Wladimir J. van der Laan
bfc7aad008
Merge #9115 : Mention reporting security issues responsibly
...
7d1de30
Mention reporting security issues responsibly (Pavel Janík)
8 years ago
Jonas Schnelli
ab914a6530
Merge #8996 : Network activity toggle
...
19f46f1
Qt: New network_disabled icon (Luke Dashjr)
54cf997
RPC/Net: Use boolean consistently for networkactive, and remove from getinfo (Luke Dashjr)
b2b33d9
Overhaul network activity toggle (Jonas Schnelli)
32efa79
Qt: Add GUI feedback and control of network activity state. (Jon Lund Steffensen)
e38993b
RPC: Add "togglenetwork" method to toggle network activity temporarily (Jon Lund Steffensen)
7c9a98a
Allow network activity to be temporarily suspended. (Jon Lund Steffensen)
8 years ago
Wladimir J. van der Laan
7977a1157a
Merge #9058 : Fixes for p2p-compactblocks.py test timeouts on travis ( #8842 )
...
dac53b5
Modify getblocktxn handler not to drop requests for old blocks (Russell Yanofsky)
55bfddc
[qa] Fix stale data bug in test_compactblocks_not_at_tip (Russell Yanofsky)
47e9659
[qa] Fix bug in compactblocks v2 merge (Russell Yanofsky)
8 years ago
Wladimir J. van der Laan
46027e8668
Merge #9112 : Avoid ugly exception in log on unknown inv type
...
e9f25dd
Avoid ugly exception in log on unknown inv type (Wladimir J. van der Laan)
8 years ago
Wladimir J. van der Laan
21e6c6b569
Merge #9114 : [depends] Set OSX_MIN_VERSION to 10.8
...
617c96d
[depends] Set OSX_MIN_VERSION to 10.8 (fanquake)
8 years ago
Pavel Janík
bf49f107ef
Use better name for local variable to prevent -Wshadow compiler warning
8 years ago
Wladimir J. van der Laan
71bc39eb74
Merge #9049 : Remove duplicatable duplicate-input check from CheckTransaction
...
e2b3fb3
Optimize vInOutPoints insertion a bit (Matt Corallo)
eecffe5
Remove redundant duplicate-input check from CheckTransaction (Matt Corallo)
b2e178a
Add deserialize + CheckBlock benchmarks, and a full block hex (Matt Corallo)
8 years ago
Pavel Janík
7d1de3032d
Mention reporting security issues responsibly
8 years ago
MarcoFalke
e5364991da
Merge #9097 : [qa] Rework sync_* and preciousblock.py
...
fa97ccb
[qa] util: Rework sync_*() (MarcoFalke)
fac1141
[qa] preciousblock: Use assert_equal and BitcoinTestFramework.__init__ (MarcoFalke)
8 years ago
MarcoFalke
4a2b170c07
Merge #9122 : fix getnettotals RPC description about timemillis.
...
a79f864
fix getnettotals RPC description about timemillis. (Masahiko Hyuga)
8 years ago
Wladimir J. van der Laan
aab102cbae
Merge #9121 : Initialize variable to prevent compiler warning
...
bdcba6d
Initialize variable to prevent compiler warning (Pavel Janík)
8 years ago
Wladimir J. van der Laan
537e0cb252
Merge #9120 : bug: Missed one "return false" in recent refactoring in #9067
...
45d372f
Missed one "return false" in recent refactoring in #9067 (UdjinM6)
8 years ago
Masahiko Hyuga
a79f864945
fix getnettotals RPC description about timemillis.
8 years ago
Pavel Janík
bdcba6d933
Initialize variable to prevent compiler warning
8 years ago
UdjinM6
45d372f889
Missed one "return false" in recent refactoring in #9067
8 years ago
Wladimir J. van der Laan
faec09bc7f
Merge #8894 : [Testing] Include fRelay in mininode version messages
...
e5d682f
Fix mininode version message format (jnewbery)
8 years ago
Wladimir J. van der Laan
fb156100f9
Merge #9111 : Remove unused variable UNLIKELY_PCT from fees.h
...
d8edf03
Remove unused var UNLIKELY_PCT from fees.h (fanquake)
8 years ago
Wladimir J. van der Laan
f445d88612
Revert "Check and enable -Wshadow by default."
...
This reverts commit fd5654cab1
.
This is still causing too many warnings for some compiler combinations,
forget it for now.
8 years ago
Matt Corallo
e2b3fb349e
Optimize vInOutPoints insertion a bit
8 years ago
Matt Corallo
eecffe50ef
Remove redundant duplicate-input check from CheckTransaction
8 years ago
Matt Corallo
b2e178a2d2
Add deserialize + CheckBlock benchmarks, and a full block hex
8 years ago
Matt Corallo
ae22357607
Replace CValidationState param in ProcessNewBlock with BlockChecked
8 years ago
Matt Corallo
7c98ce584e
Remove pfrom parameter from ProcessNewBlock
...
This further decouples ProcessNewBlock from networking/peer logic.
8 years ago
Cory Fields
46625538d6
net: don't send feefilter messages before the version handshake is complete
8 years ago
Wladimir J. van der Laan
e0477f6d20
Merge #8794 : Enable -Wshadow by default
...
359bac7
Add notes about variable names and shadowing (Pavel Janík)
fd5654c
Check and enable -Wshadow by default. (Pavel Janík)
8 years ago
Pavel Janík
359bac7cff
Add notes about variable names and shadowing
8 years ago
Wladimir J. van der Laan
e81df49644
Merge #9039 : Various serialization simplifcations and optimizations
...
d59a518
Use fixed preallocation instead of costly GetSerializeSize (Pieter Wuille)
25a211a
Add optimized CSizeComputer serializers (Pieter Wuille)
a2929a2
Make CSerAction's ForRead() constexpr (Pieter Wuille)
a603925
Avoid -Wshadow errors (Pieter Wuille)
5284721
Get rid of nType and nVersion (Pieter Wuille)
657e05a
Make GetSerializeSize a wrapper on top of CSizeComputer (Pieter Wuille)
fad9b66
Make nType and nVersion private and sometimes const (Pieter Wuille)
c2c5d42
Make streams' read and write return void (Pieter Wuille)
50e8a9c
Remove unused ReadVersion and WriteVersion (Pieter Wuille)
8 years ago
fanquake
617c96d5b3
[depends] Set OSX_MIN_VERSION to 10.8
8 years ago
Wladimir J. van der Laan
e9f25ddd00
Avoid ugly exception in log on unknown inv type
...
It is unexpected behavior for `ToString` to raise an exception. It
is expected to do a best-effort attempt at formatting but never fail.
Catch the exception and simply print unknown inv types as hexadecimal.
Fixes #9110 .
8 years ago
Wladimir J. van der Laan
e9847303e7
Merge #8874 : Multiple Selection for peer and ban tables
...
1077577
Fix auto-deselection of peers (Andrew Chow)
addfdeb
Multiple Selection for peer and ban tables (Andrew Chow)
8 years ago
fanquake
d8edf03db7
Remove unused var UNLIKELY_PCT from fees.h
8 years ago
jnewbery
e5d682faa3
Fix mininode version message format
8 years ago
Matt Corallo
e2e069dabc
Revert "RPC: Give more details when "generate" fails"
...
This only returned information in the case of CheckBlock failure,
but breaks future changes.
8 years ago
Andrew Chow
1077577546
Fix auto-deselection of peers
8 years ago
MarcoFalke
924de0bd75
Merge #9087 : RPC: why not give more details when "generate" fails?
...
1adf82a
RPC: Give more details when "generate" fails (Jorge Timón)
8 years ago
Jorge Timón
1adf82ac39
RPC: Give more details when "generate" fails
8 years ago
Andrew Chow
addfdebe1a
Multiple Selection for peer and ban tables
...
Allows multiple selection and action for the nodes in the peer and ban tables in the Debug Window.
8 years ago
Wladimir J. van der Laan
4e5782438c
Merge #9088 : Reduce ambiguity of warning message
...
77cbbd9
Make warning message about wallet balance possibly being incorrect less ambiguous. (R E Broadley)
8 years ago
Wladimir J. van der Laan
71ab476b04
Merge #9098 : [qa] Handle zombies and cluttered tmpdirs
...
fab0f07
[qa] rpc-tests: Apply random offset to portseed (MarcoFalke)
fae19aa
[qa] test_framework: Exit when tmpdir exists (MarcoFalke)
8 years ago
Wladimir J. van der Laan
f53023dbb8
Merge #9067 : Fix exit codes
...
4441018
Every main()/exit() should return/use one of EXIT_ codes instead of magic numbers (UdjinM6)
bd0de13
Fix exit codes: - `--help`, `--version` etc should exit with `0` i.e. no error ("not enough args" case should still trigger an error) - error reading config file should exit with `1` (UdjinM6)
8 years ago
MarcoFalke
fab0f07dec
[qa] rpc-tests: Apply random offset to portseed
...
This helps to skip over resources, which are blocked by regtest bitcoind
zombie nodes
8 years ago
Jonas Schnelli
b8f43e3331
Merge #9095 : test: Fix test_random includes
...
fa8278e
test: Fix test_random includes (MarcoFalke)
8 years ago