Wladimir J. van der Laan
62b9a557fc
Reduce block timeout to 10 minutes
...
Now that #7804 fixed the timeout handling, reduce the block timeout from
20 minutes to 10 minutes. 20 minutes is overkill.
9 years ago
Wladimir J. van der Laan
1ddf0cee67
Merge #7804 : Track block download times per individual block
...
0e24bbf
Self check after the last peer is removed (Pieter Wuille)
2d1d658
Track block download times per individual block (Pieter Wuille)
9 years ago
Wladimir J. van der Laan
bbaf5976af
Merge #7821 : init: allow shutdown during 'Activating best chain...'
...
07398e8
init: allow shutdown during 'Activating best chain...' (Wladimir J. van der Laan)
9 years ago
Pieter Wuille
0e24bbf679
Self check after the last peer is removed
9 years ago
Pieter Wuille
2d1d6581ec
Track block download times per individual block
...
Currently, we're keeping a timeout for each requested block, starting
from when it is requested, with a correction factor for the number of
blocks in the queue.
That's unnecessarily complicated and inaccurate.
As peers process block requests in order, we can make the timeout for each
block start counting only when all previous ones have been received, and
have a correction based on the number of peers, rather than the total number
of blocks.
9 years ago
Jorge Timón
bf477bcc79
Trivial: Globals: Explicitly pass const CChainParams& to ProcessMessage()
9 years ago
Wladimir J. van der Laan
3bc71e1572
Merge #7802 : [qa] httpbasics: Actually test second connection
...
fa24456
[qa] httpbasics: Actually test second connection (MarcoFalke)
9 years ago
Wladimir J. van der Laan
401c65c6b3
Merge #7803 : [qa] maxblocksinflight: Actually enable test
...
fac724c
[qa] maxblocksinflight: Actually enable test (MarcoFalke)
9 years ago
Wladimir J. van der Laan
70ac71b877
Merge #7801 : [qa] Remove misleading "errorString syntax"
...
ffff866
[qa] Remove misleading "errorString syntax" (MarcoFalke)
9 years ago
Jonas Schnelli
9f7336b457
[Wallet] slightly refactor GetOldestKeyPoolTime()
9 years ago
Jonas Schnelli
4f7c959af1
Refactor IsRBFOptIn, avoid exception
9 years ago
Wladimir J. van der Laan
07398e8e9d
init: allow shutdown during 'Activating best chain...'
...
Two-line patch to make it possible to shut down bitcoind cleanly during
the initial ActivateBestChain.
Fixes #6459 (among other complaints).
To reproduce:
- shutdown bitcoind
- copy chainstate
- start bitcoind
- let the chain sync a bit
- shutdown bitcoind
- copy back old chainstate
- start bitcoind
- bitcoind will catch up with all blocks during Init()
(the `boost::this_thread::interruption_point` / `ShutdownRequested()`
dance is ugly, this should be refactored all over bitcoind at some point
when moving from boost::threads to c++11 threads, but it works...)
9 years ago
mruddy
eda3d92489
Net: Add IPv6 Link-Local Address Support
9 years ago
Wladimir J. van der Laan
1b2460bd58
Merge #7793 : [doxygen] Fix member comments
...
fada0c4
[doc] Fix doxygen comments for members (MarcoFalke)
9 years ago
Wladimir J. van der Laan
4dc1b3a296
Merge #7788 : Use relative paths instead of absolute paths in protoc calls
...
0087f26
Use relative paths instead of absolute paths (Pavel Janík)
9 years ago
Wladimir J. van der Laan
e30a5b0aaa
Merge #7791 : Doc: change Precise to Trusty in gitian-building.md
...
190c1e2
Doc: change Precise to Trusty in gitian-building.md (JeremyRand)
9 years ago
Pieter Wuille
dde46d3ae1
Merge script_valid and script_invalid tests
9 years ago
Wladimir J. van der Laan
916b15a87a
Merge #7774 : RPC: add versionHex in getblock and getblockheader JSON results
...
92107d5
RPC: add versionHex in getblock and getblockheader JSON results; expand data in getblockchaininfo bip9_softforks field. (mruddy)
9 years ago
Pieter Wuille
009b503792
Get rid of expect in script_tests as it's implied by scripterror
9 years ago
Pieter Wuille
76da761351
Make script_error a mandatory 4th field for script_tests
9 years ago
Wladimir J. van der Laan
3cc0fb3a23
Merge #7776 : build: Remove unnecessary executables from gitian release
...
f063863
build: Remove unnecessary executables from gitian release (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
55db5f07b1
Merge #7781 : devtools: Auto-set branch to merge to in github-merge
...
10d3ae1
devtools: Auto-set branch to merge to in github-merge (Wladimir J. van der Laan)
9 years ago
Wladimir J. van der Laan
214ec0b5e8
Merge #7813 : [doc] Update port in tor.md
...
3373c43
[doc] Update port in tor.md (Adam Brown)
9 years ago
Adam Brown
3373c43505
[doc] Update port in tor.md
...
Tor Browser Bundle spawns the Tor process and listens on port 9150, it doesn't randomly pick a port.
[ci skip]
(cherry picked from commit 1b63cf98347b2a62915425576930f55c2126c2ff)
9 years ago
Pieter Wuille
269281b7cc
Fix some misconstructed tests
...
They claimed to be testing P2SH scripts with non-push scriptSigs, but
1) they were not enabling P2SH
2) they have push-only scriptSigs
Fix this, and add a few more related cases.
9 years ago
Pieter Wuille
d03e46625a
Fix formatting of NOPs for generated script tests
9 years ago
Pieter Wuille
c7c664191f
Fix JSON pretty printing in script_tests
9 years ago
MarcoFalke
fac9ca2ec6
[travis] echo $TRAVIS_COMMIT_RANGE
9 years ago
Cory Fields
11d9f6b8b8
depends: qt/cctools: fix checksum checksum tests
...
Checksums were being verified after download, but not again before extraction
9 years ago
Cory Fields
bb717f4375
depends: fix "unexpected operator" error during "make download"
9 years ago
Cory Fields
fe740f1469
depends: fix fallback downloads
...
In some cases, failed downloads wouldn't trigger a fallback download attempt.
Namely, checksum mismatches.
9 years ago
Cory Fields
dc4ec6d3db
depends: create a hostid and buildid and add option for salts
...
These add very simple sanity checks to ensure that the build/host toolchains
have not changed since the last run. If they have, all ids will change and
packages will be rebuilt.
For more complicated usage (like parsing dpkg), HOST_ID_SALT/BUILD_ID_SALT may
be used to introduce arbitrary data to the ids.
9 years ago
mruddy
92107d574d
RPC: add versionHex in getblock and getblockheader JSON results; expand data in getblockchaininfo bip9_softforks field.
9 years ago
Pavel Janík
0087f26848
Use relative paths instead of absolute paths
9 years ago
Jonas Schnelli
a9149688f8
Merge #7707 : [RPC][QT] UI support for abandoned transactions
...
8efed3b
[Qt] Support for abandoned/abandoning transactions (Jonas Schnelli)
9 years ago
Jonas Schnelli
8efed3bc93
[Qt] Support for abandoned/abandoning transactions
9 years ago
MarcoFalke
ffff866da8
[qa] Remove misleading "errorString syntax"
9 years ago
MarcoFalke
fac724c78f
[qa] maxblocksinflight: Actually enable test
9 years ago
MarcoFalke
fa24456d0c
[qa] httpbasics: Actually test second connection
9 years ago
Wladimir J. van der Laan
e662a76288
Merge #7797 : RPC: fix generatetoaddress failing to parse address
...
60361ca
RPC: fix generatetoaddress failing to parse address and add unit test (mruddy)
9 years ago
mruddy
60361ca481
RPC: fix generatetoaddress failing to parse address and add unit test
9 years ago
Wladimir J. van der Laan
ff5874bcf7
Merge #7778 : [qa] Bug fixes and refactor
...
4444806
[qa] mininode: Combine struct.pack format strings (MarcoFalke)
faaa3c9
[qa] mininode: Catch exceptions in got_data (MarcoFalke)
fa2cea1
[qa] rpc-tests: Properly use integers, floats (MarcoFalke)
fa524d9
[qa] Use python2/3 syntax (MarcoFalke)
9 years ago
Wladimir J. van der Laan
f063863d1f
build: Remove unnecessary executables from gitian release
...
This removes the following executables from the binary gitian release:
- test_bitcoin-qt[.exe]
- bench_bitcoin[.exe]
@jonasschnelli and me discussed this on IRC a few days ago - unlike the
normal `bitcoin_tests` which is useful to see if it is safe to run
bitcoin on a certain OS/environment combination, there is no good reason
to include these. Better to leave them out to reduce the download
size.
Sizes from the 0.12 release:
```
2.4M bitcoin-0.12.0/bin/bench_bitcoin.exe
22M bitcoin-0.12.0/bin/test_bitcoin-qt.exe
```
9 years ago
Wladimir J. van der Laan
e0b3e19816
Merge #7789 : [Doc] Add note about using the Qt official binary installer.
...
4b9dfd6
Add note about using the Qt official binary installer. (Pavel Janík)
9 years ago
MarcoFalke
faef3b710f
[travis] Print the commit which was evaluated
9 years ago
MarcoFalke
fada0c422c
[doc] Fix doxygen comments for members
9 years ago
JeremyRand
190c1e234d
Doc: change Precise to Trusty in gitian-building.md
...
2cecb24600
changed "precise" to "trusty" in the shell command, but didn't change the text above it accordingly. This commit fixes that.
9 years ago
Pavel Janík
4b9dfd6d81
Add note about using the Qt official binary installer.
9 years ago
MarcoFalke
fabbf80f2f
[ui] Move InitError, InitWarning, AmountErrMsg
9 years ago
MarcoFalke
444480649f
[qa] mininode: Combine struct.pack format strings
9 years ago