aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-10-09Trigger -alertnotify if network is upgrading without youGavin Andresen
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
2014-10-09Refactor -alertnotify codeGavin Andresen
Refactor common -alertnotify code into static CAlert::Notify method.
2014-10-07Merge pull request #4976Wladimir J. van der Laan
27c3e91 qt: add proxy to options overridden if necessary. (Cory Fields)
2014-10-07Merge pull request #5047Wladimir J. van der Laan
3e61eb9 minor txindex documentation improvement (Cozz Lovan)
2014-10-07Merge pull request #4954Wladimir J. van der Laan
9d7cd4c Don't return an address for invalid pubkeys (Andy Alness)
2014-10-06Don't return an address for invalid pubkeysAndy Alness
2014-10-06minor txindex documentation improvementCozz Lovan
2014-10-06fix a lock indentation in main.cppPhilip Kaufmann
- also ensure alphabetical ordering in file header
2014-10-06minor license, header end comment etc. cleanup in /scriptPhilip Kaufmann
- ensure all licenses are just MIT - add a missing header end comment - ensure alphabetical ordering
2014-10-06Merge pull request #5036Wladimir J. van der Laan
eb6b3b2 Update English translation (Wladimir J. van der Laan) b9b2e3f Don't translate state.Abort() messages (Wladimir J. van der Laan)
2014-10-06Merge pull request #4890Wladimir 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)
2014-10-03Merge pull request #4982Wladimir J. van der Laan
b5ec5fe update getnetworkinfo help with subversion (Philip Kaufmann)
2014-10-03Merge pull request #4887Pieter Wuille
4bb30a1 Correct logging AcceptBlock()->AcceptBlockHeader() (R E Broadley)
2014-10-02Merge pull request #4994Wladimir J. van der Laan
54510f2 DRY: Avoid repetitions in script_test (jtimon)
2014-10-02Merge pull request #4978Wladimir J. van der Laan
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)
2014-10-02Update English translationWladimir J. van der Laan
2014-10-02Don't translate state.Abort() messagesWladimir J. van der Laan
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.
2014-10-02DRY: Avoid repetitions in script_testjtimon
2014-10-02Replace SCRIPT_VERIFY_NOCACHE by flag directly to checkerPieter Wuille
2014-10-02Make signature cache optionalPieter Wuille
2014-10-02Abstract out SignatureCheckerPieter Wuille
2014-10-03Correct logging AcceptBlock()->AcceptBlockHeader()R E Broadley
2014-10-02Merge pull request #4985Wladimir J. van der Laan
bc470c4 Changed mixed indentation to four spaces (Eric Shaw) 31d6390 Fixed setaccount accepting foreign address (Eric Shaw)
2014-10-02Changed mixed indentation to four spacesEric Shaw
Put `test/rpc_wallet_tests.cpp` through clang-format.
2014-10-02Fixed setaccount accepting foreign addressEric Shaw
Fixed issue #4209 where using setaccount with a foreign address causes the address to be added to your receiving addresses.
2014-10-02Merge pull request #5030Wladimir J. van der Laan
fbd36d8 Avoid introducing a virtual into CChainParams (Wladimir J. van der Laan) f0fd00c Switch testing framework from MAIN to new UNITTEST network (SergioDemianLerner)
2014-10-02Avoid introducing a virtual into CChainParamsWladimir J. van der Laan
Treat fSkipProofOfWorkCheck the same as other parameters.
2014-10-02Switch testing framework from MAIN to new UNITTEST networkSergioDemianLerner
UNITTEST inherites from MAIN but allows synamically changing its parameters using the ModifiableParams() interface
2014-10-02amount.h: update license, add header end comment + rem from util.hPhilip Kaufmann
2014-10-02CAutoFile: make file privatePhilip Kaufmann
2014-10-02CBufferedFile: add explicit close functionPhilip Kaufmann
- also use identical close function for CAutoFile (avoids setting file to NULL under wrong conditions)
2014-10-02CBufferedFile: convert into a non-refcounted RAII wrapperPhilip Kaufmann
- 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
2014-10-02Revert merge of pull #4845Wladimir J. van der Laan
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.
2014-10-02Merge pull request #4845Wladimir J. van der Laan
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)
2014-10-02Merge pull request #5017Wladimir J. van der Laan
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)
2014-10-02Merge pull request #4926Pieter Wuille
584a358 Do merkle root and txid duplicates check simultaneously (Pieter Wuille)
2014-10-02Merge pull request #4980Pieter Wuille
20a11ff minor variable init changes in init.cpp (Philip Kaufmann)
2014-10-01Print input index when signature validation fails, to aid debugging.Mark Friedenbach
2014-10-01When transaction outputs exceed inputs, show the offending amounts so as to ↵Mark Friedenbach
aid debugging.
2014-10-01Merge pull request #4940Wladimir J. van der Laan
62e5f8f CMessageHeader sanity changes (Wladimir J. van der Laan)
2014-10-01Merge pull request #5022Wladimir J. van der Laan
c375b5c remove dead/unused code in walletdb.cpp (Philip Kaufmann)
2014-10-01Merge pull request #4234Wladimir J. van der Laan
c122f55 qt: Register CAmount metatype (Wladimir J. van der Laan) a372168 Use a typedef for monetary values (Mark Friedenbach)
2014-10-01qt: Register CAmount metatypeWladimir J. van der Laan
This allows sending the type over queued connections. Also normalize signal/slot names.
2014-10-01remove dead/unused code in walletdb.cppPhilip Kaufmann
- closes #5021
2014-10-01update getnetworkinfo help with subversionPhilip Kaufmann
- add missing subversion field to getnetworkinfo help - fix style and format errors in help string - remove unneeded int casts
2014-10-01Merge pull request #5014Wladimir J. van der Laan
41d67c7 tests: fix python test-runner for windows (Cory Fields)
2014-09-30Merge pull request #5015 from theuni/win64testGavin Andresen
tests: fix false-positive under win64
2014-09-30tests: fix false-positive under win64Cory Fields
BN_ULONG isn't necessarily an unsigned long, as is the case on win64.
2014-09-30tests: fix python test-runner for windowsCory Fields
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
2014-09-30Merge pull request #4990Pieter Wuille
7bec6dd cleanup license and header end comment in chain.cpp/.h (Philip Kaufmann) 0db65d8 update license of compat and crypto (Philip Kaufmann)