- 12 Mar, 2015 4 commits
-
-
fsb4000 authored
-
Wladimir J. van der Laan authored
9519a9a4 Add correct bool combiner for net signals (Pieter Wuille)
-
Wladimir J. van der Laan authored
92fd887f tests: add a BasicTestingSetup and apply to all tests (Wladimir J. van der Laan)
-
Wladimir J. van der Laan authored
Make sure that chainparams and logging is properly initialized. Doing this for every test may be overkill, but this initialization is so simple that that does not matter. This should fix the travis issues.
-
- 11 Mar, 2015 5 commits
-
-
Wladimir J. van der Laan authored
3aa0130b test: remove fSkipProofOfWork (Wladimir J. van der Laan) 59bd89f1 test: Remove UNITTEST params (Wladimir J. van der Laan)
-
Wladimir J. van der Laan authored
f7547079 Fix - bitcoin-qt usage message (Luca Venturini) 1fdb9fa3 Help messages correctly formatted (79 chars) (Luca Venturini)
-
Wladimir J. van der Laan authored
bb6acff0 fix possible block db breakage during re-index (Cory Fields)
-
Luca Venturini authored
. Closes the bug from commit e179eb3d ("bitcoin-qt -help" did not show any message) . Move all the options in init.cpp (there were already some options related to bitcoin-qt)
-
Luca Venturini authored
Help messages are formatted programmatically with FormatParagraph in order not to break existing strings in Transifex. The new format works even if the translation of the strings modifies the lenght of the message. Sqashed 6 commits in a single one. Help messages correctly formatted for SVGA text mode (132 chars) Help messages are formatted programmatically with FormatParagraph in order not to break existing strings in Transifex. The new format should work even if the translation of the strings modifies the lenght of the message. Fix - syntax error Correct formatting for 79 chars Correctly based on C++ functions Removed spare spaces from option strings Fix - syntax error
-
- 10 Mar, 2015 1 commit
-
-
Cory Fields authored
When re-indexing, there are a few cases where garbage data may be skipped in the block files. In these cases, the indices are correctly written to the index db, however the pointer to the next position for writing in the current block file is calculated by adding the sizes of the valid blocks found. As a result, when the re-index is finished, the index db is correct for all existing blocks, but the next block will be written to an incorrect offset, likely overwriting existing blocks. Rather than using the sum of all valid blocks to determine the next write position, use the end of the last block written to the file. Don't assume that the current block is the last one in the file, since they may be read out-of-order.
-
- 09 Mar, 2015 10 commits
-
-
Wladimir J. van der Laan authored
Not used, and REGTEST already allows creating blocks at the lowerst possible difficulty.
-
Wladimir J. van der Laan authored
UNITTEST parameter are not used by any current tests, and the model (modifyable parameters) is inconvenient when unit-testing. As they are stored in a global structure eevery test would have to (re)set up its own parameters. For consistency it is also better to test with MAIN parameters.
-
Wladimir J. van der Laan authored
Avoid this travis error: test_bitcoin: chainparams.cpp:330: const CChainParams& Params(): Assertion `pCurrentParams' failed. unknown location(0): fatal error in "subsidy_limit_test": signal: SIGABRT (application abort requested) test/allocator_tests.cpp(116): last checkpoint
-
Wladimir J. van der Laan authored
51598b26 Reinitialize state in between individual unit tests. (Pieter Wuille)
-
Wladimir J. van der Laan authored
dca799e1 Ignore getaddr messages on Outbound connections. (Ivan Pustogarov)
-
Wladimir J. van der Laan authored
8517e970 [Qt] rework setNumBlocks to have blockDate as parameter (Philip Kaufmann)
-
Philip Kaufmann authored
- reduces some functional overhead and simplifies the code
-
Wladimir J. van der Laan authored
9bbb880b [Qt] fix a issue where "command line options"-action overwrite "Preference"-action (on OSX) (Jonas Schnelli)
-
Wladimir J. van der Laan authored
69866436 Run unit tests in different orders (Gavin Andresen)
-
Wladimir J. van der Laan authored
6cb4a525 [Qt, Linux] honor current network when creating autostart link (Philip Kaufmann) 9673c35d [Qt, Win] honor current network when creating autostart link (Philip Kaufmann)
-
- 07 Mar, 2015 1 commit
-
-
Pieter Wuille authored
eec37136 make CMessageHeader a dumb storage class (Cory Fields)
-
- 06 Mar, 2015 19 commits
-
-
Wladimir J. van der Laan authored
a0ae79d7 Replace CBlockHeader::GetHash with call to SerializeHash (Wladimir J. van der Laan) 62b30f09 Add serialize float/double tests (Wladimir J. van der Laan) 9f4fac98 src/txmempool.cpp: make numEntries a uint32_t (Wladimir J. van der Laan) f4e64872 src/arith_256.cpp: bigendian compatibility (Wladimir J. van der Laan) aac32053 src/netbase.h: Fix endian in CNetAddr serialization (Wladimir J. van der Laan) 01f9c344 src/serialize.h: base serialization level endianness neutrality (Wladimir J. van der Laan) 4e853aa1 src/script/script.h: endian compatibility for PUSHDATA sizes (Wladimir J. van der Laan) 4f92773f src/primitives/transaction.h: endian compatibility in serialization (Wladimir J. van der Laan) 81aeb284 src/primitives/block.cpp: endian compatibility in GetHash (Wladimir J. van der Laan) dec84cae src/net.cpp: endian compatibility in EndMessage (Wladimir J. van der Laan) 556814ec src/main.cpp: endian compatibility in packet checksum check (Wladimir J. van der Laan) 3ca5852d src/hash.cpp: endian compatibility (Wladimir J. van der Laan) 4414f5ff build: Endian compatibility (Wladimir J. van der Laan)
-
Gavin Andresen authored
Set the BOOST_TEST_RANDOM environment variable, to run unit tests in different orders for each test in the test matrix that runs tests.
-
Wladimir J. van der Laan authored
Removes variability between LE and BE. As suggested by @sipa.
-
Wladimir J. van der Laan authored
-
Wladimir J. van der Laan authored
Don't ever serialize a size_t or long, their sizes are platform dependent.
-
Wladimir J. van der Laan authored
-
Wladimir J. van der Laan authored
We've chosen to htons/ntohs explicitly on reading and writing (I do not know why). But as READWRITE already does an endian swap on big endian, this means the port number gets switched around, which was what we were trying to avoid in the first place. So to make this compatible, serialize it as FLATDATA.
-
Wladimir J. van der Laan authored
Serialization type-safety and endianness compatibility.
-
Wladimir J. van der Laan authored
-
Wladimir J. van der Laan authored
-
Wladimir J. van der Laan authored
-
Wladimir J. van der Laan authored
-
Wladimir J. van der Laan authored
-
Wladimir J. van der Laan authored
-
Wladimir J. van der Laan authored
- Detect endian instead of stopping configure on big-endian - Add `byteswap.h` and `endian.h` header for compatibility with Windows and other operating systems that don't come with them - Update `crypto/common.h` functions to use compat endian header
-
Wladimir J. van der Laan authored
ba04c4a7 Limit message sizes before transfer (Pieter Wuille)
-
Wladimir J. van der Laan authored
34e5015c Add unit tests for next difficulty calculations (Ross Nicoll)
-
Pieter Wuille authored
This introduces a fixed limit for the size of p2p messages, and enforces it before download.
-
Pieter Wuille authored
-