Wladimir J. van der Laan
3aa0130b96
test: remove fSkipProofOfWork
...
Not used, and REGTEST already allows creating blocks at
the lowerst possible difficulty.
10 years ago
Wladimir J. van der Laan
59bd89f116
test: Remove UNITTEST params
...
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.
10 years ago
Wladimir J. van der Laan
8cbe1f4f58
tests: change main and wallet tests to BOOST_FIXTURE_TEST_SUITE
...
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
10 years ago
Wladimir J. van der Laan
cdae53e456
Merge pull request #5852
...
51598b2
Reinitialize state in between individual unit tests. (Pieter Wuille)
10 years ago
Wladimir J. van der Laan
c1b723c30a
Merge pull request #5442
...
dca799e
Ignore getaddr messages on Outbound connections. (Ivan Pustogarov)
10 years ago
Wladimir J. van der Laan
f50120ab4d
Merge pull request #5776
...
8517e97
[Qt] rework setNumBlocks to have blockDate as parameter (Philip Kaufmann)
10 years ago
Philip Kaufmann
8517e9709e
[Qt] rework setNumBlocks to have blockDate as parameter
...
- reduces some functional overhead and simplifies the code
10 years ago
Wladimir J. van der Laan
513e025239
Merge pull request #5858
...
9bbb880
[Qt] fix a issue where "command line options"-action overwrite "Preference"-action (on OSX) (Jonas Schnelli)
10 years ago
Wladimir J. van der Laan
d7989c04f6
Merge pull request #5855
...
6986643
Run unit tests in different orders (Gavin Andresen)
10 years ago
Wladimir J. van der Laan
d26f0b263c
Merge pull request #5793
...
6cb4a52
[Qt, Linux] honor current network when creating autostart link (Philip Kaufmann)
9673c35
[Qt, Win] honor current network when creating autostart link (Philip Kaufmann)
10 years ago
Pieter Wuille
2f10aa0fa1
Merge pull request #5151
...
eec3713
make CMessageHeader a dumb storage class (Cory Fields)
10 years ago
Wladimir J. van der Laan
7c3fbc34ae
Merge pull request #5510
...
a0ae79d
Replace CBlockHeader::GetHash with call to SerializeHash (Wladimir J. van der Laan)
62b30f0
Add serialize float/double tests (Wladimir J. van der Laan)
9f4fac9
src/txmempool.cpp: make numEntries a uint32_t (Wladimir J. van der Laan)
f4e6487
src/arith_256.cpp: bigendian compatibility (Wladimir J. van der Laan)
aac3205
src/netbase.h: Fix endian in CNetAddr serialization (Wladimir J. van der Laan)
01f9c34
src/serialize.h: base serialization level endianness neutrality (Wladimir J. van der Laan)
4e853aa
src/script/script.h: endian compatibility for PUSHDATA sizes (Wladimir J. van der Laan)
4f92773
src/primitives/transaction.h: endian compatibility in serialization (Wladimir J. van der Laan)
81aeb28
src/primitives/block.cpp: endian compatibility in GetHash (Wladimir J. van der Laan)
dec84ca
src/net.cpp: endian compatibility in EndMessage (Wladimir J. van der Laan)
556814e
src/main.cpp: endian compatibility in packet checksum check (Wladimir J. van der Laan)
3ca5852
src/hash.cpp: endian compatibility (Wladimir J. van der Laan)
4414f5f
build: Endian compatibility (Wladimir J. van der Laan)
10 years ago
Gavin Andresen
69866436be
Run unit tests in different orders
...
Set the BOOST_TEST_RANDOM environment variable, to
run unit tests in different orders for each test in the
test matrix that runs tests.
10 years ago
Wladimir J. van der Laan
a0ae79d775
Replace CBlockHeader::GetHash with call to SerializeHash
...
Removes variability between LE and BE.
As suggested by @sipa .
10 years ago
Wladimir J. van der Laan
62b30f09ac
Add serialize float/double tests
10 years ago
Wladimir J. van der Laan
9f4fac98c4
src/txmempool.cpp: make numEntries a uint32_t
...
Don't ever serialize a size_t or long, their sizes are platform
dependent.
10 years ago
Wladimir J. van der Laan
f4e6487219
src/arith_256.cpp: bigendian compatibility
10 years ago
Wladimir J. van der Laan
aac3205375
src/netbase.h: Fix endian in CNetAddr serialization
...
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.
10 years ago
Wladimir J. van der Laan
01f9c3449a
src/serialize.h: base serialization level endianness neutrality
...
Serialization type-safety and endianness compatibility.
10 years ago
Wladimir J. van der Laan
4e853aa163
src/script/script.h: endian compatibility for PUSHDATA sizes
10 years ago
Wladimir J. van der Laan
4f92773f92
src/primitives/transaction.h: endian compatibility in serialization
10 years ago
Wladimir J. van der Laan
81aeb28436
src/primitives/block.cpp: endian compatibility in GetHash
10 years ago
Wladimir J. van der Laan
dec84cae2a
src/net.cpp: endian compatibility in EndMessage
10 years ago
Wladimir J. van der Laan
556814ec4e
src/main.cpp: endian compatibility in packet checksum check
10 years ago
Luke Dashjr
721cb557aa
GUI: Display label rather than address on popups
10 years ago
Wladimir J. van der Laan
3ca5852dc2
src/hash.cpp: endian compatibility
10 years ago
Wladimir J. van der Laan
4414f5ffe1
build: Endian compatibility
...
- 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
10 years ago
Wladimir J. van der Laan
51377c2dbe
Merge pull request #5843
...
ba04c4a
Limit message sizes before transfer (Pieter Wuille)
10 years ago
Wladimir J. van der Laan
ee9f2bfa7b
Merge pull request #5813
...
34e5015
Add unit tests for next difficulty calculations (Ross Nicoll)
10 years ago
Pieter Wuille
ba04c4a780
Limit message sizes before transfer
...
This introduces a fixed limit for the size of p2p messages, and enforces it
before download.
10 years ago
Pieter Wuille
9519a9a420
Add correct bool combiner for net signals
10 years ago
Jonas Schnelli
9bbb880be4
[Qt] fix a issue where "command line options"-action overwrite "Preference"-action (on OSX)
...
- fixes #5800
10 years ago
Rob Van Mieghem
84a05b843b
QT: remove unused parameter
10 years ago
Wladimir J. van der Laan
215475aa00
Merge pull request #5830
...
6f1274c
qt: Don't save geometry for options and about/help window (Wladimir J. van der Laan)
10 years ago
Cozz Lovan
90a43c1e93
[Qt] Code-movement-only: Format confirmation message in sendcoinsdialog
10 years ago
Pieter Wuille
51598b2631
Reinitialize state in between individual unit tests.
...
This changes the TestingSetup fixture to be per-unit-test rather than global.
Most tests don't need it, so it's only invoked in a few.
10 years ago
joshr
723664b5db
startup script for centos, with documentation.
10 years ago
Wladimir J. van der Laan
3dfcdf46c2
Merge pull request #5775
...
deda3e1
[Qt] remove unused getNumBlocksAtStartup() from ClientModel (Philip Kaufmann)
47ee8cf
[Qt] use qint64 in BitcoinGUI::setNumBlocks (Philip Kaufmann)
10 years ago
Wladimir J. van der Laan
f8e68f7bfb
Merge pull request #5819
...
d23b0a2
depends: always use static qt5 for linux (Cory Fields)
3448b13
build: fix typo in configure help (Cory Fields)
c95ac83
gitian: fix x86_64 build with static libstdc++ (Cory Fields)
0671516
build: change reduce exports/static libstdc++ options for gitian and travis (Cory Fields)
aa36730
build: remove libstdc++ backwards-compat (Cory Fields)
3ee028f
build: disable reduced exports by default (Cory Fields)
10 years ago
Pieter Wuille
86eb461c5b
Merge pull request #5839
...
16a58a8
keys: remove libsecp256k1 verification until it's actually supported (Cory Fields)
10 years ago
Luke Dashjr
3c6d594e64
contrib/init/bitcoind.openrc: Compatibility with previous OpenRC init script variables
10 years ago
Cory Fields
16a58a8644
keys: remove libsecp256k1 verification until it's actually supported
...
This was added a while ago for testing purposes, but was never intended to be
used. Remove it until upstream libsecp256k1 decides that verification is
stable/ready.
10 years ago
Pieter Wuille
10a3ff07f5
Merge pull request #5832
...
9abbeea
Remove obsolete pubsub method definitions (Pieter Wuille)
10 years ago
Luke Dashjr
e96028c78e
GUI: Clarify terminology; use "Label" heading for labels row, and "Node/Service" rather than [IP] "Address"
10 years ago
Wladimir J. van der Laan
db4a1d598c
Merge pull request #5694
...
25cf6f3
minor rework of SendMoney in rpcwallet (Philip Kaufmann)
10 years ago
Wladimir J. van der Laan
59310f1c02
Merge pull request #5820
...
85da07a
Better fingerprinting protection for non-main-chain getdatas. (Pieter Wuille)
10 years ago
Pieter Wuille
9abbeeabd7
Remove obsolete pubsub method definitions
10 years ago
Wladimir J. van der Laan
482783b341
Merge pull request #5801
...
de5403f
[GUI] Move fee dialog minimise button away from "Transaction Fee" (Michael Ford)
10 years ago
Wladimir J. van der Laan
46bfbe7148
Merge #5809 : Add bitcoin-cli man page
...
96c19a3
Add bitcoin-cli man page (Ciemon)
10 years ago
Ciemon
96c19a3a8e
Add bitcoin-cli man page
10 years ago