earonesty
commented at 4:19 PM on February 9, 2017:
none
For reference. I wanted to have a good view of all the differences for people who say Bitcoin Unlimited is "less complicated" than segwit, and have a rational dialogue about the benefits of a flexible block size.
Personally, I think it should happen, if at all, on a schedule - like difficulty adjustments, and based on some aspect of verifiable block history (sum of fees for example). Miners could game that, but would they?
Add unit tests for EraseOrphansByTime()992b2523ec
Get rid of compiler warning for GetBlockTimeout()
Commented out the code in main.cpp
2caa41bfb3
Remove leftover from a prev merged94713dbc2
Add instrusctions to build static binariesf310ac6c9d
Merge pull request #146 from sickpig/doc/build-static-unix-binaries
Add command to get static compiled unix binaries
1c7294ede4
incremental memory use as block sizes increase by reworking CFileBuffer to resize the file buffer dynamically during reindex. remove 32MB message limit (shadowing already existing 16x EB limit). Increase max JSON message buffer size so large RPC calls can be made (like getblocktemplate). Add configurable proportional soft limit (uses accept depth) to sigops and max tx sized9c9948a80
Fix formatting code para in static binaries sect24c89e0f10
[travis] disable java based comparison test6f5eed8e19
[travis] Disable Qt build for i686-pc-linux-gnu platform
Due to the fact it takes too long building and that
won't let us terminate the `make check` and the
python qa tests.
6dc2eb1d73
[travis] Use 3 jobs for 'make check'8d0e84bf82
[travis] Comment out Dust threshold tests.
This test pass if executed in isolation whereas it could fails
when it run together with all others due to the fact that
minRelayTxFee values could be changed by some test executed
before this one. This is happen because mineRelayTxFee is a global
variable and it is shared by all tests belonging to the suite.
TODO: add a unit test to exercise the {min,max}limitertxfee
machinery
0e50b8cbf4
Correct use-after-free in nodehandling.py test.
Some of the regression tests cause a heap-use-after-free issue because
they use FindNode to find a CNode pointer and then attempt to set the
fDisconnet flag on that node, however the CNode instance has since been
destroyed inside of ThreadSocketHandler between FindNode returning the
pointer and attempting to set the fDisconnect flag. This affects the
setban and disconnectnode functions in rpcnet.cpp.
98e715870e
Protect all FindNode returns against use-after-free
1. Update all FindNode functions to assert that the cs_vNodes lock is
held, instead of taking the lock internally.
2. Update all calls to FindNode to add a cs_vNodes lock in the caller
scope.
2.a. For simple functionality, just hold the cs_vNodes lock until we are
done with the returned CNode pointer.
2.b. Anywhere the returned CNode pointer is used in/around potentially
expensive operations (UI updates, network communication, file I/O), take
the lock in a small scope block and use CNode::AddRef() to protect the
node from deletion prior to allowing the lock on cs_vNodes to go out of
scope. Subsequently use CNode::Release() to remove the reference once
we are done with the CNode pointer.
fd18503925
[qa] add capability to disable/skip tests and have them show up as such in the log0a847497af
[qa] re-enable test which was skipped to demonstrate how a test can be skipped
it's not true, we like Linux :-)
cae87d3607
fix up check for tests specified in command line71f86e91bb
Merge pull request #142 from sickpig/test/travis-minimal
Make Travis works as expected along the current BU codebase
05656b6040
Merge pull request #150 from ftrader-bitcoinunlimited/feature/show_disabled_qa_tests
[qa] add capability to disable/skip tests and have them show up as such in the log
c262086bb1
Merge pull request #149 from sickpig/doc/fix-build-unix-formatting
Fix formatting code paragraph in static binaries section
dd8955e246
Merge pull request #140 from Justaphf/12.1rpclocks
Fix heap-use-after-free error that sometimes happens when running the nodehandling.py test.
c488b3c0b5
Merge pull request #145 from ptschip/12.1unitorphans
Add unit tests for EraseOrphansByTime
dc9ef1cdf2
add test_classes.py to EXTRA_DIST, for builds set up using distdir target36517ed5da
remove rpc-tests.sh which was replaced by Python script
add test_classes.py to EXTRA_DIST, for builds set up using distdir targeta7124b0362
Fix 3 compilation warnings.
This commit will fix the 3 following warnings:
a) net.cpp:893:13: warning: ‘bool ReverseCompareNodeTimeConnected ... [-Wunused-function]
b) chainparams.cpp:41:15: warning: ‘CBlock CreateGenesisBlock ... [-Wunused-function]
c) chainparamsseeds.h:10:18: warning: ‘pnSeed6_main’ defined but not used [-Wunused-variable]
All of them are related to declared but not used
functions (a,b) or variable (c)
856630051e
Merge pull request #151 from ftrader-bitcoinunlimited/feature/show_disabled_qa_tests
add test_classes.py to EXTRA_DIST, for builds set up using distdir target
f7edd9daa8
Merge pull request #152 from ftrader-bitcoinunlimited/patch/remove_obsolete_rpc-tests_shell_script
remove rpc-tests.sh which was replaced by Python script
89de418155
Merge pull request #153 from sickpig/fix/remove_compiler_warns
Remove compiler warns
bacc271144
merge 0.12.1bu changes9373b7cd0a
Update the unit tests for thinblock_tests.cpp
Update the bloom filter handling for this test.
b7fb50bbf1
Add copyright and licence headerse3402a14cd
add -only-extended option to rpc-tests.py to run only extended tests28dda27ab5
Remove declaration of ClearThinblockTimer from unlimited.h
Such function is spelled wrongly (in unlimited.cpp the name
ClearThinBlockTimer()) and more to the point is not used
anywhere but in unlimited.cpp.
27994a2284
Add Travis status icon to README.mda60fd46ef4
Fix some typos in build-unix.md
also replace one occurence of Core with Unlimited and add $PWD
to the configure prefix, otherwise it may complain like this:
configure: error: expected an absolute directory name for --prefix:
./depends/x86_64-pc-linux-gnu
4c443bf99d
Remove vfReachable and modify IsReachable to only use vfLimited.
We do not know that a class of Network is reachable, only that it is not.
Github-Pull: #7553
Rebased-From: 110b62f06992d0fb989153afff2dc3aea62a674f
f30df51d66
Fix README.md install instructionsa16161e42c
Fix layout and use correct packet name (libqrencode-dev)d51e0757d1
Merge pull request #161 from nomnombtc/0.12.1bu-f310ac6_fix
Fix some typos in build-unix.md
53b484ba6d
Merge pull request #163 from sickpig/fix/install-doc-readme
Fix README.md install instructions
61c6d74636
Merge pull request #158 from sickpig/feature/add-travis-status-icon
Add Travis status icon to README.md
2b74ac8475
Merge pull request #155 from sickpig/fix/add-reqman-headers
Add copyright and licence headers to requestManager.cpp
5fd6360cf7
Merge pull request #156 from ftrader-bitcoinunlimited/feature/only_extended_option_for_rpctests
add -only-extended option to rpc-tests.py to run only extended tests
f3314b656a
sigop and transaction size limits and tests150c86e427
cleanup formatting, etc3f6096e271
remove duplicate sighash byte countb95cd18fd3
Allow precise tracking of validation sigops/bytes
Adds a ValidationResourceTracker class that is passed to
CheckInputs() / CScriptCheck() to keep track of the exact number
of signature operations required to validate something, and the
exact number of bytes hashed to compute signature hashes.
Also extends CHashWriter to keep track of number of bytes hashed.
This is a subset of the original work by Gavin Andresen.
c902cc4d7c
[Trival] - Display witness service bit for segwit remote nodes.
Cherry pick portions from b8a97498 in Core to properly display remote
node services offereing the Witness service. This is only so that nodes
signalling for SegWit show as offering the "Witness" service instead of
"Unknown".
71a6c4d17a
move net and main cleanup out of global destructor time. Executing these large tasks during global destruction creates a lot of global variable order dependencies that are not otherwise needed8828196319
Merge branch '0.12.1bu' of https://github.com/BitcoinUnlimited/BitcoinUnlimited into sigop_sighashb58e32e6b6
This change is needed to prevent sync_blocks timeouts in the mempool_reorg
test after the sync_blocks update in the upcoming commit
"[qa] Change sync_blocks to pick smarter maxheight".
This change was initially suggested by Suhas Daftuar <sdaftuar@chaincode.com>
in https://github.com/bitcoin/bitcoin/pull/8680#r78209060
Github-Pull: #9196
Rebased-From: 67c6326abd1788e6f411feb4f44b69774e76aae2
cca151b3a4
The deadlock detector asserts with false positives, which are detectable because the mutexes that are supposedly in inverse order are different. This only occurs with dynamically created mutexes. It turned out that when CCriticalSections are deleted, they are not being removed from the deadlock detector's lock map, so a subsequent alloc can lay another CCriticalSection on the memory previously occupied by a different mutex. But to trigger the bug, these 2 CCriticalSections ALSO need to be locked in reverse order. So this bug is only hit when running for days with deadlock detection enabled. Fixed by removing the CCriticalSection from the lock map when CCriticalSections are deleted46c514801c
Changed http:// to https:// on some links in README.md
40e5d72d68
Do not queue jump GET_XTHIN in test environments
When mining large numbers of blocks and then syncing them to many
nodes it sometimes happens that a GET_XTHIN request can jump
ahead of another GET_XTHIN request or HEADER request resulting in blocks
showing up out of order and with no headers connected in the block index.
This results in a small DOS(10) and a subsequent node disconnect if this
happens 10 times during a regression test run.
When generating a new service key, explicitly request a RSA1024 one.
The bitcoin P2P protocol has no support for the longer hidden service names
that will come with ed25519 keys, until it does, we depend on the old
hidden service type so make this explicit.
See #9214.
Github-Pull: #9234
Rebased-From: 7d3b627395582ae7c9d54ebdbc68096d7042162b
82e29e8b7c
Add cs_orphancache lock to expedited block forwardingea4628fc5e
[qa] add --randomseed option to Python test framework
This is added to avoid duplication of random seeding in tests that want to make use of randomness.
The test framework now initializes the RNG based on current time in seconds since the epoch unless --randomseed=X is specified.
If X is specified it is converted to an integer.
The seed used is made accessible through the attribute `self.randomseed` in BitcoinTestFramework.
Tests which use random numbers should print out their seed before doing so.
In this way, if they crash due to random-generated data this increases the chances that it will be possible to reproduce the fault, e.g. like this:
(assuming the `excessive` test crashed with a seed of 12345)
`qa/pull-tester/rpc-tests.py --randomseed=12345 excessive`
f78f9acde0
print out seed in BitcoinTestFramework instead of requiring tests to do ite9bba703d0
Fix thinblock stats map interators from going out of range46c4aae25e
Prevent the regression test from using a port that is arleady in use
This parses the output of netstat -n to find the current ports that
are in use and then we make sure we don't select on of those when
we launch the test node.
c639235f84
[qa] added doctest to test_classes.py to verify that we can get the full command
This will be needed so that the test runner can distinguish tests that are invoked
with the same script, but different options.
e2d6b1d4de
[qa] usability enhancements for rpc-tests.py: listing, better option handling, summary of test results
This is a cross-port of some rpctests.py test runner changes made in the BTCfork project [1].
Overview:
- added a new `-list` option which, when given, only lists tests without executing them. This is useful for filtering a subset of tests without having to dissect the contents of the Python script. The `-list` option can be combined with `-extended` or `-extended-only` to list all tests or just the extended set of tests.
- command line option handling has been made a little more user-friendly by accepting double-hyphen forms as well for the single-hyphen options. Options like '-only-extended` have been given counterparts `-extended-only` to minimize friction.
- a warning message is printed for unrecognized options
- at the end of the test run, an overview table is printed, similar to what latest versions of the Core client software do. The overview shows executed tests along with their status and time taken, and also prints out aggregate information about the number of passed / failed / disabled / skipped tests. This is intended to facilitate a better overview and "feel" for how tests are affected during development, both in terms of performance and failures.
[1] https://github.com/BTCfork/hardfork_prototype_1_mvf-core/commits/master/qa/pull-tester/rpc-tests.py
3f55a97ca5
[QA] add fundrawtransaction test on a locked wallet with empty keypool
[qa] show DISABLED, SKIPPED in summary list of test results
also add --mineblock as a recognized option since it is used by two tests
99620ffa23
Edits for grammar
Two missing hyphens, one unnecessary "in".
8ee64d9d46
Use Atomic for nLargestBlockSeenfe569d5074
Merge pull request #148 from ptschip/12.1thintests
Update the unit tests for thinblock_tests.cpp
45a27bde93
Merge pull request #157 from sickpig/fix/remove_clearthinblock-declaration
Remove declaration of ClearThinblockTimer from unlimited.h
2a5a3f44b7
Merge pull request #162 from nomnombtc/0.12.1bu-116fix
Remove vfReachable and modify IsReachable to only use vfLimited.
ade37214ea
Merge pull request #165 from Justaphf/12.1display
[Trival] - Update remote node UI display to show "WITNESS" instead of "UNKNOWN".
6b2b107493
Merge pull request #171 from dgenr8/no_undefined_parm
Don't allow undefined setminingmaxblock parameter
677d3d0ee7
Merge pull request #172 from sandakersmann/patch-1
Changed http:// to https:// on some links
7c9a2b7d12
Merge pull request #173 from ptschip/12.1regtestfix
Do not queue jump GET_XTHIN in test environments
30bf88b67f
Merge pull request #174 from ptschip/12.1xped
Add missing cs_orphancache lock to expedited block processing
ad209dbb24
Merge pull request #175 from ftrader-bitcoinunlimited/feature/randomseed_option_for_test_framework
add --randomseed option to Python test framework
30db8db426
Merge pull request #176 from ptschip/12.1mapiter
Fix thinblock stats map interators from going out of range
4a432b1800
Merge pull request #177 from ptschip/12.1util
Prevent the regression test from using a port that is arleady in use
5268cb9a61
Merge pull request #179 from ftrader-bitcoinunlimited/feature/usability_enhancements_for_rpctests_runner
Usability enhancements for rpc-tests.py: listing, better option handling, summary of test results
9dc3b63084
Merge pull request #180 from ptschip/12.1nlargest
add lock for nLargestBlockSeen
8316d8408b
Merge branch '0.12.1bu' into patch-158b1577dba
Merge pull request #181 from BitcoinErrorLog/patch-1
Edits for grammar
5f0cb04b4b
extended testing and sigops proportional limitseb7db8b15d
Fix LargestBlockSeena990e9b3fa
Merge pull request #182 from deadalnix/fixLargestBlockSeen
Fix LargestBlockSeen to update properly in a lockless but atomic manner.
17cac010a9
Remove references to LONG_LONG_MAX452290d794
build: Enable C++11 build, require C++11 compiler
Implements #6211.
b856580b68
depends: use c++113b40197529
build: update ax_cxx_compile_stdcxx to serial 41a388c4515
doc: Add note about new build/test requirements to release notes
[skip ci]
46f316d3ff
add miner-specific doc for the EC params and pushtxbce020d8d2
fix different handling of gt and lt in github md vs standard md in miner.md12f2f93706
merge and covert auto_ptr to unique_ptrd8ef42971b
Merge #9211: [0.12 branch] Backports
d609895 [Wallet] Bugfix: FRT: don't terminate when keypool is empty (Jonas Schnelli)
8dee97f [QA] add fundrawtransaction test on a locked wallet with empty keypool (Jonas Schnelli)
82e29e8 torcontrol: Explicitly request RSA1024 private key (Wladimir J. van der Laan)
cca151b Send tip change notification from invalidateblock (Russell Yanofsky)
ad99a79 [rpcwallet] Don't use floating point (MarcoFalke)
c1b7421781
remove MainCleanup and NetCleanup from getting called twice
On Windows10 this is a problem. It appears that Netcleanup
and Maincleanup get called on nodeshutdown but also when Qt
exits. The nodeshutdown completes but then QT wants to finish
and makes the second calls which can't be competed because the node
is already shutdown. Now the process hangs and leaves a partial process
in the tasklist but it isn't obvious to the user because they
can re-start bitcoin-qt without any issues. They will only notice
it if you try to delete the debug.log or look at your tasklist.
d43b3e3312
Fix boost c++11 undefined symbol in boost::filesystem::copy_file, by not using copy_file40079e84bc
Fix wake from sleep issue with Boost 1.59.0bc34fc8f76
rearrange location of structure decl to satisfy clang c++11 compiler (MAC)1c03745a1a
additional LONG_LONG_MAX replacements595ba294c1
Merge pull request #184 from ptschip/12.1maincleanup
remove MainCleanup and NetCleanup from getting called twice
1f8459f660
merge0e190d5e0f
Merge branch 'deadalnix-cpp11' into 0.12.1bu9f6864b61f
Merge branch '0.12.1bu' of github.com:BitcoinUnlimited/BitcoinUnlimited into 0.12.1bu8cdb3a6bc2
Merge pull request #185 from sickpig/fix/win-wake-sleep-issue178
Fix wake from sleep issue with Boost 1.59.0
3f60f8b073
Revert "Merge pull request #184 from ptschip/12.1maincleanup"
This reverts commit 1f8459f6607371d27a03af49c6eb4cee2f91215a, reversing
changes made to 12f2f937068bfc771d540fbec767bcbb6568c0f3.
bac0e46925
reverted too far...7c5d21e4e6
merge005492a807
formatting cleanupc322c6f374
Add a default seeder for the NOL network49907d06c2
fix misspelling of subversionOverridee87397f9a2
Merge pull request #187 from sickpig/new/add-default-nol-seeder
Add a default seeder for the NOL network
5f4f04198b
add some prints so travis knows that the test is still going568b564ac1
return exit code 1 if any tests failed (since we catch and collect test failures now for reporting)
Not returning the exit code may interfere with CI systems such as Travis.
ba8f167856
Merge pull request #189 from ftrader-bitcoinunlimited/patch/fix_rpctests_return_code_when_failures
return exit code 1 if any tests failed
a708309f22
merge7927790849
move long running tests to extended11e365473d
in block generation, account for block header and largest possible coinbase size. Clean up excessive tests1e085736d5
Merge pull request #164 from gandrewstone/sigop_sighash
Add emergent consensus to sigop and transaction size
510dc09b89
Travis and rpc tests update
Move Travis to Ubuntu Trusty
Introduce Out-of-tree build in Travis
Enable verbose log on Travis `make check`
Travis: Change OSX SDK provider
Make possible to build leveldb out of tree
Cherry pick from Core repo (ab95d5)
- Link pull-tester/rpc-tests.py to the build dir
- Add the build-dir's config to the python path so that tests can find it
- The tests themselves are in srcdir
- Clean up __pycache__ in 'make clean'
575b325add
Manual cherry-pick of Core 9ca957b
tests: Make proxy_test work on travis servers without IPv6
7bcf8cee45
switch back to python2c95f76d306
fix qt out-of-tree build
manual cherry pick Core 932aed
ec95cb6086
fix qt out-of-tree make deploy
Manual cherry-pick of Core 92e37a3
e31f69c35d
Revert "Make possible to build leveldb out of tree"
This reverts commit 0933a79225c046c65afa69a31d553ef6c68cd6bf.
11dd4e9826
leveldb: integrate leveldb into our build system
Manual import Core a4625ac
5536d9958d
Out of tree build and rpc test update
disable java based comparison test (take #2)
manual cherry-pick Core 92e37a3
fix qt out-of-tree build (manual cherry pick Core 932aed)
update leveldb out-of-tree build
rpc tests: fix extended flag
0ee552238c
Remove a rebase leftover2f0838562c
Update depends
Manual cherry pick Core's diff 980e7eb9..b31e13e
Upgrade to QT 5.6.1
Update gitian linux recipe and add a separate one for arm
Use make install $DESTDIR rather than install-strip
bitcoin-qt is built only on linux 32 and 64 bit not arm
QT still depend on dbus
remove bdb part of fb0de07
2bc6b9df47
Merge pull request #190 from sickpig/new/travis-trusty-out-of-tree-builds-arm-gitian
Update travis, out of tree build and gitian ARM
3ad048ad13
Move all thinblock related function into thinblock.cpp8a15e3375b
Create singleton for CThinBlockStats
And also move mapThinBlockTimer into CThinBlockStats
remove tab from thinblock.h
2171406e8c
protect global statistics object with a critical section to stop multithread simultaneous accessafaa9515ac
Set STRIP var to override automake strip program during make install-strip
This is useful when cross-compiling for archs other
than the one we currently used to build the binaries.
In the case of aarch64 and armhf we need to use
/aarch64-linux-strip and arm-linux-gnueabihf-strip
rather than the usual strip program to successfully
remove debug symbols from the binaries.
8562909ab5
Update config.{guess,sub} for Berkeley DB 4.8.30
Use http://savannah.gnu.org/projects/config repo to
udpat config.{guess,sub}. This is needed if you need
to compile bdb for aarch64.
3640ae74ce
Add aarch64 build to Travis-ci9742f95c0c
Merge pull request #193 from sickpig/fix/gitian-linux-arm
Fix gitian descriptor for linux and arm
d1fb967f27
Merge pull request #194 from sickpig/new/add-aarch64-to-travis
Add aarch64 to travis-ci
fd8879e146
Take out namespace from thinblock.h283ac8f784
Merge pull request #191 from ptschip/12.1refactorxthin
Refactor thinblock code
fd8885abed
Make it possible to create Deterministic bloom filters for thinblocks
This will prevent any false positives from happening when unit
tests are run which then gives a failed test result when it
wasn't a true failure.
Add non-deterministic tests to thinblock_tests.cpp
264683c418
Remove references to LONG_LONG_MAX2b36e00c86
Subject coinbase spends to -limitfreerelay
Previously we were forwarding all coinbase spends however this may
not be desireable by some users that want/need to completely prevent all
traffic below a certain fee rate by setting their -limitfreerelay=0.
There is also a potential attack vector here which is prevented in that
some attacker could get a hold of coinbase coins and use them to create
large amounts of spam transactions which would then get around any
rate limiting attempts by node operators.
f42598116b
rebase to latest core 0.12 branch3a6610228b
Merge pull request #195 from ptschip/12.1thintest
Use a hardcoded seed value for the bloom filter
e7abd0299f
Merge pull request #197 from ptschip/12.1coinbase
Subject coinbase spends to -limitfreerelay
c14fe7ea94
do not allow HTTP timeouts to happen in excessive.py
We set the http keepalive timeout to zero to prevent a timeout from
happneing while we're waiting for a process to finish and then
we end up trying to request from a connection that no longer exists.
Instead we timout the connections right away so that each time a new
fresh connection is aquired.
This is something that has been coming up lately in very lately in long
running tests.
ef32f3cb13
Only pass -lQt5PlatformSupport if >=Qt5.6
Conflicts:
build-aux/m4/bitcoin_qt.m4
1df20f7357
Use runtime linking of QT libdbus, use custom/temp. SDK URL
Merge pull request #198 from ptschip/12.1brokenpipe
do not allow HTTP timeouts to happen in excessive.py
6c98b61376
Merge pull request #199 from sickpig/fix/qt-gitian-windows
Fix qt gitian windows and linux
d9e49ba3aa
add netstyle for 'nol' network
fixes a coredump in bitcoin-qt when run with `-chain_nol`
8dfbb5c516
Fix compiler warnings for leakybucket.h96b6ffdb09
Merge pull request #200 from ftrader-bitcoinunlimited/fix/missing_nol_netstyle_for_gui
fix a coredump in bitcoin-qt when run with `-chain_nol`
15b5e6de4d
Merge pull request #201 from ptschip/12.1warnings
Fix compiler warnings in leakybucket.h
932bc8da63
[travis] Exit early when check-doc.py fails913bbfe868
[travis] Print the commit which was evaluated29357e3e9d
[travis] echo $TRAVIS_COMMIT_RANGEbd77767a7d
[gitian] hardcode datetime for depends65927408ee
leveldb: integrate leveldb into our buildsystem
leveldb's buildsystem causes us a few problems:
- breaks out-of-tree builds
- forces flags used for some tools
- limits cross builds
Rather than continuing to add wrappers around it, simply integrate it into our
build.
9862cf67e3
travis: switch to Trusty452a8b3225
qt: Fix out-of-tree GUI builds
Without this patch:
- When I compile the GUI from the bitcoin directory itself, it works as
expected.
- When I build the GUI in an out-of-tree build, I cannot get it to
select tabs. When I click, say the "Receive" tab nothing happens,
the button selects but it doesn't switch the page. The rest - even
the debug window - seems to work.
See full discussion here:
https://github.com/bitcoin/bitcoin/pull/7911#issuecomment-212413442
This turned out to be caused by a mismatch in the arguments to moc,
preventing it from finding `bitcoin-config.h`. Fix this by passing
`$(DEFAULT_INCLUDES)` to it, which gets set to the appropriate
path by autoconf itself.
4637bfc60f
tests: Make proxy_test work on travis servers without IPv6
- 'make check' in parallel, since the log will take care of clean output
- 'make check' verbose, so that test failure causes aren't hidden
c5f329a9b9
travis: use slim generic image, and some fixups
Now that caches are distinct (https://github.com/travis-ci/travis-ci/issues/4393),
we can use the Travis minimal image.
The minimal image should take less time to setup and lead to quicker builds.
Also addressed while I'm in here:
- No need to delete the broken google-chrome repo in the minimal image
- Set the hostname to work-around an openjdk bug
- Remove the non-functional apt-cache option
- Remove useless message at completion
- Install jre where the java tests are run
6c598432d9
build: out-of-tree fixups
Don't glob the leveldb for dist. That means we need to enumerate the headers.
5e85494a31
build: a few ugly hacks to get the rpc tests working out-of-tree
- Link pull-tester/rpc-tests.py to the build dir
- Add the build-dir's config to the python path so that tests can find it
- The tests themselves are in srcdir
- Clean up __pycache__ in 'make clean'
9d312293cd
build: more out-of-tree fixups
- Copy the qrc locale file to a temp location and remove it when finished
(rcc expects everything to be in the same path)
depends: allow for CONFIG_SITE to be used rather than stealing prefix
This does not break any existing prefix behavior, only makes new behavior work.
For example:
CONFIG_SITE=$PWD/depends/x86_64-pc-linux-gnu/share/config.site ./configure --prefix=/
adc5125b1d
gitian: use CONFIG_SITE rather than hijacking the prefix (linux only)a74b17fd6a
depends: only build qt on linux for x86_64/x862b56ea04ac
- update config.guess/config.sub for bdb for aarch64.
- temporarily disable symbol checks for arm/aarch64
- quit renaming to linux32/linux64 and use the host directly
This also adds a hack to work around an Ubuntu bug in the gcc-multilib package:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults-armhf-cross/+bug/1347820
The problem is that gcc-multilib conflicts with the aarch toolchain.
gcc-multilib installs a symlink that points
/usr/include/asm -> /usr/include/x86_64-linux-gnu/asm.
Without this link, gcc -m32 can't find asm/errno.h (and others), since
/usr/include/x86_64-linux-gnu isn't in its default include path. But
/usr/include/i386-linux-gnu is (though it doesn't exist on disk).
So work around the problem by linking
/usr/include/i386-linux-gnu/asm -> /usr/include/x86_64-linux-gnu/asm.
The symlink fix is actually quite reasonable, but echoing the password into
sudo is nasty, and should probably be addressed in gitian itself. It makes more
sense to enable passwordless sudo for the build user by default.
9df22f5e35
[gitian] set correct PATH for wrappers (partial cherry-pick)f871ff0350
Partial cherry pick f25209a
The only change picked from the commit
was the one about qt.mk. Since it has
nothing to do with the original commit
message it self I've changed it.
For the sake of completeness this is
the original commit message below:
depends: bump OSX toolchain
clang: 3.7.1
cctools: 877.8
ld64: 253.9
depends: Mention aarch64 as common cross-compile target2007ba0b49
[trivial] Add aarch64 to depends .gitignore22e47deffc
gitian: use a wrapped gcc/g++ to avoid the need for a system change
C_INCLUDE_PATH and CPLUS_INCLUDE_PATH work globally as though -isystem was used
for each invocation.
Since that changes the build results, force a rebuild of x86 depends by adding
the value to $HOST_ID_SALT.
6ed8ab81b1
Remove a left-over generate from the last series of cherry pick38348ffc16
Merge remote-tracking branch 'upstream/0.12.1bu' into fix/pre-190-status042758b8de
Merge pull request #208 from sickpig/fix/pre-190-status
Redo of PR #190 via git cherry-pick
34975c8117
Merge branch 'rebasejan17' into 0.12.1bu080ccaf016
Merge branch '0.12.1bu' of github.com:BitcoinUnlimited/BitcoinUnlimited into 0.12.1bu31618a9909
Add sublime text project file to gitignore88d3fc241a
Fix maxuploadtarget.py so that it works with python320109b9374
Fix excessive.py python typeError1330785b71
Make txn size is > 100KB for excessive.py4d5674ab6f
[travis] Use python3 to execute rpc tests240b6a99fa
Temporary disable zmq test on travis CI session
This is due to the fact zmq for some unknown reasons
stalls on ubuntu trusty system. Since travis is based
on such Ubunut ver every build conf that exercise the
python rpc tests suite will fail.
zmq test is not failing on ubuntu 16.04 (Xenial)
fce7a142cd
Merge pull request #221 from ptschip/release_maxupload
Release Branch - Fix maxuploadtarget.py so that it works with python3
f218a99b95
Merge pull request #222 from ptschip/release_excessive
Merge pull request #225 from sickpig/fix/temporarely-disable-zmq-and-py3
[Travis] temporarely disable zmq and py3
4bfad1f9b2
resolve zmq_test hang after test is completef247a9733b
Fix txPerf.py for python39944c95ac5
Reanable zmq test on travis22acaafe5c
Merge pull request #227 from ptschip/release_txperf
Release Branch - Fix txPerf.py for python3
bb2cdd009e
Fix maxblocksinflight for python3f99f956f98
Comptool fix for the requestmanager re-request interval
When a block doesn't show up right away the request manager
will wait 5 seconds (on mainnet it is 30 seconds) before
re-requesting a block. If that should happen during a test
we need to check whether the block was successfully re-requested
and if so mark the test as passed. Previously we were waiting
for the 5 seconds but then returning with a False if the correct
block showed up when it should be True.
0e8b4db6ed
Comptool.py - replace missing leading zero from blockhash
When a blockhash begins with a zero, the zero will be missing when
calling block.sha256. We need to replace those zero's before
doing our blockhash comparison.
06dd6da6e1
Improve performance of bip68-112-113-p2p
We shave about 70 seconds of run time by taking out the sleep.
Since the comptool issue was resolved, we no longer need the
sleep.
7f53d6ff42
Merge pull request #228 from sickpig/fix/reanable-zmq-test-on-travis
Reanable zmq test on travis
0c08202577
Merge pull request #229 from ptschip/release_bip9softforks
Release Branch - Comptool fix for the requestmanager re-request interval
ee53a1421d
Merge pull request #230 from ptschip/release_bip68
Release branch - improve perf of bip68 python test
b3a7a44ee3
change default AD higher to make it costly for a minority hash power to exceed it306cc2c392
Renable bip69-sequence.py
Most of this test runs just fine. There is one test that
is commented out that requires RBF
7226212bd5
Add support for dnsseeds with option to filter by servicebits84ea06e133
Don't set extra flags for unfiltered DNS seed results
Since we don't have included ee06e043 in our tree
ServiceBits is still a plain uint64_t enum, this is
not a plain cherry pick because we had to fix
reference to enum servicebits.
65be87cc0c
Fix nol seeder fqdn99c10e92e7
Mark nol seeder as able to filter service bits17d2e026f0
Decouple amd64/i386 gitian build from aarch64/armhfa7935cf7d1
depends: fix "unexpected operator" error during "make download"1f5d5ac9bd
Fix static bitcoin-qt build for x86_64-linux-gnu arch.
The actual "depends" machinery does not produce bitcoin-qt
while compiling static buids (i.e. `make -C depends
HOST=x86_64-linux-gnu). This is a temporary fix that let us
produce the gitian builds (who depends on the static build)
without wasting time. As soon as we have the release out
of the door we are going to commit a proper fix.
The problem is that Qt binaries (uic, lrelease, /qdbuscpp2xml and
qdbusxml2cpp) are installed under depends/x86_64-linux-gnu/bin
rather than depends/x86_64-linux-gnu/native/bin.
0e3f81b9bc
Merge pull request #242 from sickpig/fix/gitian-fixes
Misc gitian fixes (release branch)
3aeb2a8da6
Merge pull request #235 from sickpig/new/add-servicebits-filtering-dnsseeder-release-branch
Add support for seeders able to filter by servicebits (release branch)
ca975fdcec
Merge pull request #226 from ptschip/release_maxblocks
Release Branch - Fix maxblocksinflight
393ccaa482
Merge pull request #231 from ptschip/release_seq
Release Branch - Renable bip68-sequence.py
e698d59f46
bump revision to 1.0.00c067b438a
Fix random hang for excessive.py
testExcessiveTx was not setting the maxblocksize and as a result
was on occasion hanging after running the testExcessiveBlock.
Also put in a sleep time to give chance for txns to propagate.
983ce29227
Merge pull request #245 from ptschip/release_keypool
Release Branch - fix for random excessive.py hang
ac26645daa
fix issue where a block's coinbase can make it exceed the configured value20c1f945df
Add unit test for block generation, and fix a unit test issue -- an invalid configuration left by a prior test3831cc21ef
Add unit test for zero reserve block generation, and zero reserve block generation with different length coinbase messages. Account for possible varint lengths of 9 bytes for 2 values that are not known during transaction selection5e820036ff
shorten runtime of miner_tests because windows test on travis may be taking too longc831c5da45
Merge pull request #259 from gandrewstone/release
fix issue where a block's coinbase can make it exceed the configured val
967b6d8932
bump the build numberb4716204e1
Update Travis-ci status icon (release branch)c1861e6670
Merge pull request #265 from sickpig/fix/travis-status-release
Update Travis-ci status icon (release branch)
dda0c0ec20
[travis] Backport of BU PR #261 to release branch
Increase travis time out from 10 to 20 mins using travis_wait
on windows platform.
a231b13707
Add BU 1.0.0 release note5874e9eb95
Merge pull request #278 from sickpig/new/release-note-1.0.0
Add release note for BU 1.0.0
afe43f729a
Merge pull request #270 from sickpig/travis/backport-bu-pr261
[travis] Backport of BU PR #261 to release branch
1f3aa99fff
Add <h1> title to the doc and fix download URL8f3b506fac
Merge pull request #284 from sickpig/fix/title-and-url-1.0.0-release-note-release-branch
Add <h1> title to the doc and fix download URL
505fca3d26
Fix a few more typos and URLs3e018f319e
Merge pull request #288 from sickpig/fix/release-note-1.0.0-typos-release-branch
Fix a few more typos and URLs
1862a8a277
Merge pull request #276 from gandrewstone/dev
small features in tweaks
929f50d4be
clean up request manager entry when no source exists, and solve potential deadlock flagged by the detectorb7ab016671
[QT] Bugfix: ensure tray icon menu is not empty9532273669
Merge pull request #271 from jamoes/bu-tray-icon-menu
[QT] Bugfix: ensure tray icon menu is not empty
b3c9c7864e
merge6aa0398ea4
Updates copyright for 20177da9f84a7d
earonesty closed this on Feb 9, 2017
earonesty
commented at 4:20 PM on February 9, 2017:
none
Closed because it's not really a pull request!
TheBlueMatt
commented at 4:29 PM on February 9, 2017:
member
Better topic for bitcoin-dev. There are (as far as I know, yet) no proposals for a flexible blocksize which actually acheive their goals, and its not because people havent tried.
JeremyRubin
commented at 1:00 AM on February 10, 2017:
contributor
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-19 03:15 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me