Age | Commit message (Collapse) | Author |
|
This adds a -regetest-only undocumented (for regression testing only)
command-line option -blockversion=N to set block.nVersion.
Adds to the "has the rest of the network upgraded to a
block.nVersion we don't understand" code so it calls
-alertnotify when 51 of the last 100 blocks are up-version.
But it only alerts once, not with every subsequent new, upversion
block.
And adds a forknotify.py regression test to make sure it works.
Tested using forknotify.py:
Before adding CAlert::Notify, get:
Assertion failed: -alertnotify did not warn of up-version blocks
Before adding code to only alert once:
Assertion failed: -alertnotify excessive warning of up-version blocks
After final code in this pull:
Tests successful
|
|
Refactor common -alertnotify code into static CAlert::Notify method.
|
|
27c3e91 qt: add proxy to options overridden if necessary. (Cory Fields)
|
|
3e61eb9 minor txindex documentation improvement (Cozz Lovan)
|
|
9d7cd4c Don't return an address for invalid pubkeys (Andy Alness)
|
|
|
|
|
|
- also ensure alphabetical ordering in file header
|
|
- ensure all licenses are just MIT
- add a missing header end comment
- ensure alphabetical ordering
|
|
eb6b3b2 Update English translation (Wladimir J. van der Laan)
b9b2e3f Don't translate state.Abort() messages (Wladimir J. van der Laan)
|
|
e790c37 Replace SCRIPT_VERIFY_NOCACHE by flag directly to checker (Pieter Wuille)
5c1e798 Make signature cache optional (Pieter Wuille)
c7829ea Abstract out SignatureChecker (Pieter Wuille)
|
|
b5ec5fe update getnetworkinfo help with subversion (Philip Kaufmann)
|
|
4bb30a1 Correct logging AcceptBlock()->AcceptBlockHeader() (R E Broadley)
|
|
54510f2 DRY: Avoid repetitions in script_test (jtimon)
|
|
938bcce CAutoFile: make file private (Philip Kaufmann)
0c35486 CBufferedFile: add explicit close function (Philip Kaufmann)
c9fb27d CBufferedFile: convert into a non-refcounted RAII wrapper (Philip Kaufmann)
|
|
|
|
There is only one message passed to AbortNode() that makes sense to
translate to the user specifically: Disk space is low. For the others
show a generic message and refer to debug.log for details.
Reduces the number of confusing jargon translation messages.
|
|
|
|
|
|
|
|
|
|
|
|
bc470c4 Changed mixed indentation to four spaces (Eric Shaw)
31d6390 Fixed setaccount accepting foreign address (Eric Shaw)
|
|
Put `test/rpc_wallet_tests.cpp` through clang-format.
|
|
Fixed issue #4209 where using setaccount with a foreign
address causes the address to be added to your receiving addresses.
|
|
fbd36d8 Avoid introducing a virtual into CChainParams (Wladimir J. van der Laan)
f0fd00c Switch testing framework from MAIN to new UNITTEST network (SergioDemianLerner)
|
|
Treat fSkipProofOfWorkCheck the same as other parameters.
|
|
UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
|
|
|
|
|
|
- also use identical close function for CAutoFile (avoids setting file to
NULL under wrong conditions)
|
|
- it now takes over the passed file descriptor and closes it in the
destructor
- this fixes a leak in LoadExternalBlockFile(), where an exception could
cause the file to not getting closed
- disallow copies (like recently added for CAutoFile)
- make nType and nVersion private
|
|
It breaks the new mingw tests!
See
- https://travis-ci.org/bitcoin/bitcoin/jobs/36845581
- https://travis-ci.org/bitcoin/bitcoin/jobs/36845582
This reverts commit 470590277782cce2fe73275c74523aef59a51eab, 5e2e7fcb99738d9254d4030d53e4f711b2fc5ee0, a25fd6be138ff2bff7e2ad6a1a789db523c0193f.
|
|
4705902 Avoid introducing a virtual into CChainParams (Wladimir J. van der Laan)
5e2e7fc Suggested corrections on comments, variable names. Also new test case testing the PoW skip in UNITTEST. (SergioDemianLerner)
a25fd6b Switch testing framework from MAIN to new UNITTEST network (SergioDemianLerner)
|
|
f74fc9b Print input index when signature validation fails, to aid debugging. (Mark Friedenbach)
217a5c9 When transaction outputs exceed inputs, show the offending amounts so as to aid debugging. (Mark Friedenbach)
|
|
584a358 Do merkle root and txid duplicates check simultaneously (Pieter Wuille)
|
|
20a11ff minor variable init changes in init.cpp (Philip Kaufmann)
|
|
|
|
aid debugging.
|
|
62e5f8f CMessageHeader sanity changes (Wladimir J. van der Laan)
|
|
c375b5c remove dead/unused code in walletdb.cpp (Philip Kaufmann)
|
|
c122f55 qt: Register CAmount metatype (Wladimir J. van der Laan)
a372168 Use a typedef for monetary values (Mark Friedenbach)
|
|
This allows sending the type over queued connections.
Also normalize signal/slot names.
|
|
- closes #5021
|
|
- add missing subversion field to getnetworkinfo help
- fix style and format errors in help string
- remove unneeded int casts
|
|
41d67c7 tests: fix python test-runner for windows (Cory Fields)
|
|
tests: fix false-positive under win64
|
|
BN_ULONG isn't necessarily an unsigned long, as is the case on win64.
|
|
Windows needed a few fixups to get the tests running:
1. bitcoin-tx needs a file extension in Windows. Take this opportunity to
add an env file, which pulls variables out of our build config. This can
be extended as needed, for now it's very simple.
2. After #1, split the args out of the exec key in the test data.
3. Correct the line-endings from windows stdout
|
|
7bec6dd cleanup license and header end comment in chain.cpp/.h (Philip Kaufmann)
0db65d8 update license of compat and crypto (Philip Kaufmann)
|