Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Bitcoin 0.17.1 into Unit-e, take 2 #919

Closed
wants to merge 2,187 commits into from
Closed
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
2187 commits
Select commit Hold shift + click to select a range
cf9ed30
qa: blocktools enforce named args for amount
Aug 9, 2018
e254ff5
Introduce a maximum size for locators.
gmaxwell Aug 7, 2018
18f690e
wallet: shuffle coins before grouping, where warranted
kallewoof Jul 30, 2018
18dfea0
Always create 70 byte signatures with low R values
achow101 Jul 14, 2018
48b1473
Use 71 byte signature for DUMMY_SIGNATURE_CREATOR
achow101 Jul 15, 2018
e306be7
Use 72 byte dummy signatures when watching only inputs may be used
achow101 Aug 7, 2018
4441ad6
Make format string linter understand basic template parameter syntax
practicalswift Aug 10, 2018
71dec5c
Merge #13925: Merge leveldb subtree
laanwj Aug 10, 2018
48bf8ff
Merge #13907: Introduce a maximum size for locators.
laanwj Aug 10, 2018
fa85c98
qa: Add p2p_invalid_locator test
Aug 8, 2018
09ada21
Merge #13924: tests: Simplify comparison in rpc_blockchain.py
Aug 11, 2018
bced8ea
Merge #13927: rpc: Use pushKV in some new PSBT RPCs
Aug 11, 2018
d6faea4
Merge #13908: [Docs] upgrade rescan time warning from minutes to >1 hour
Aug 11, 2018
a08533c
Merge #13913: qa: Remove redundant checkmempool/checkblockindex extra…
Aug 11, 2018
a04888a
Merge #13915: [qa] Add test for max number of entries in locator
Aug 11, 2018
1b04b55
Merge #13867: qa: Make extended tests pass on native Windows
Aug 11, 2018
4b7091a
Replace median fee rate with feerate percentiles
Aug 8, 2018
5654efb
Ported usage of deprecated optparse module to argparse module
Kvaciral Aug 11, 2018
0df7a6c
Merge #13944: test: Port usage of deprecated optparse module to argpa…
laanwj Aug 11, 2018
b0d3e9b
qt: Translations update before 0.17 branch
laanwj Aug 13, 2018
869193f
docs: fixed bitcoin-cli -help output for help2man
hebasto Aug 7, 2018
13d51a2
Merge #13808: wallet: shuffle coins before grouping, where warranted
laanwj Aug 13, 2018
2115cba
Merge #13666: Always create signatures with Low R values
laanwj Aug 13, 2018
ef86f26
Merge #13939: lint: Make format string linter understand basic templa…
Aug 13, 2018
a9c56b6
Merge #13918: rpc: Replace median fee rate with feerate percentiles i…
Aug 13, 2018
b8eb0df
Merge #13928: qa: blocktools enforce named args for amount
Aug 13, 2018
73a09b4
Merge #13905: docs: fixed bitcoin-cli -help output for help2man
Aug 13, 2018
fad3898
doc: move-only release notes of individual prs
Aug 13, 2018
61c0d3b
contrib: in makeseeds, add 0.16.x to PATTERN_AGENT, remove 0.13.x
laanwj Aug 13, 2018
825fb02
net: Update hardcoded seeds
laanwj Aug 13, 2018
68400d8
tests: Use explicit imports
practicalswift Jul 6, 2018
bffb35f
Merge #13054: tests: Enable automatic detection of undefined names in…
Aug 13, 2018
4da19de
Merge #13950: doc: move-only 0.17.0 release notes of individual prs
laanwj Aug 13, 2018
176aa5a
contrib: fix GetDesirableServiceFlags typo in seeds/README.md
Aug 13, 2018
8a9ffec
Merge #13951: Hardcoded seeds update pre-0.17 branch
laanwj Aug 13, 2018
cd2f4f3
build: bump version to 0.17.0
laanwj Aug 13, 2018
f0f745d
doc: regenerate manpages
fanquake Aug 13, 2018
ff41e47
Merge #13956: [0.17] doc: regenerate manpages
laanwj Aug 13, 2018
8c4cd2b
Fix PSBT deserialization of 0-input transactions
achow101 Aug 13, 2018
517010e
Serialize non-witness utxo as a non-witness tx but always deserialize…
achow101 Aug 13, 2018
ad6d845
Additional sanity checks in SignPSBTInput
sipa Aug 8, 2018
dbaadc9
Only wipe wrong UTXO type data if overwritten by wallet
sipa Aug 8, 2018
8935869
Test that a non-witness script as witness utxo is not signed
achow101 Aug 8, 2018
0333914
More tests of signer checks
achow101 Aug 8, 2018
4a2960f
Merge #13976: [0.17] Backport #13960 & #13917
laanwj Aug 15, 2018
3d827be
qt: Pre-rc1 translations update
laanwj Aug 16, 2018
48c8459
depends: fix qt determinism
theuni Aug 17, 2018
1ffd67f
Merge #14005: [0.17] depends: fix qt determinism
laanwj Aug 21, 2018
c6d9057
Allow ConstructTransaction to not throw error with 0-input txn
instagibbs Aug 14, 2018
65e7a8b
walletcreatefundedpsbt: remove duplicate replaceable arg
instagibbs Aug 15, 2018
82e2b9c
QA: add basic walletcreatefunded optional arg test
instagibbs Aug 15, 2018
9833545
RPCTypeCheck bip32derivs arg in walletcreatefunded
instagibbs Aug 20, 2018
3e4829a
Bugfix: NSIS: Exclude Makefile* from docs
luke-jr Aug 21, 2018
b5ec6d4
Docs: Fix help message typo optiona -> optional
Empact Aug 24, 2018
fab0fbe
qa: Stop txindex thread before calling destructor
Aug 26, 2018
cf3d7f9
Use assert when running from multithreaded code as BOOST_CHECK_* are …
skeees Aug 26, 2018
5f71eac
Merge #14084: [0.17] qa: Backports
laanwj Aug 28, 2018
2307a6e
fix walletcreatefundedpsbt deriv paths, add test
instagibbs Aug 24, 2018
2936dbc
doc: Change documentation for =0 for non-boolean options
laanwj Aug 29, 2018
6bfee8a
doc: Update v0.17.0.0 manpages
Sep 5, 2018
6ba1f15
Merge #14152: [0.17] doc: Change documentation for =0 for non-boolean…
laanwj Sep 6, 2018
83aafd5
util: Report parse errors in configuration file
laanwj Aug 30, 2018
eb202ea
test: Add test for config file parsing errors
Sep 6, 2018
0f681ce
Add descriptor reference documentation
sipa Aug 28, 2018
eece974
Adjust TODO link
sipa Aug 28, 2018
465a583
Replace duplcate reference with reference to reference doc
sipa Sep 5, 2018
fcdea8a
Drop the unnecessary UTXO based on the UTXOs present, not on earlier …
achow101 Sep 11, 2018
fcefc68
Convert non-witness UTXOs to witness if witness sig created
achow101 Sep 11, 2018
833180f
Fix crash bug with duplicate inputs within a transaction
sdaftuar Sep 17, 2018
0d49c82
[qa] backport: Test for duplicate inputs within a transaction
sdaftuar Sep 17, 2018
c64128d
Merge #14248: [0.17] Fix crash bug with duplicate inputs within a tra…
laanwj Sep 17, 2018
480d6bb
depends: fix bitcoin-qt back-compat with older freetype versions at r…
theuni Sep 28, 2018
786825c
doc: Update release-notes.md from upstream devwiki
fanquake Sep 6, 2018
e1ed37e
Merge #14157: [0.17] doc: merge upstream release-notes from bitcoin-c…
laanwj Oct 1, 2018
5b47b8e
doc: Clean out release notes after release 0.17.0
laanwj Oct 3, 2018
89306ab
[wallet] Restore ability to list incoming transactions by label
ryanofsky Oct 6, 2018
f7dbcaa
[doc] getblocktemplate: use SegWit in example
Sjors Oct 13, 2018
1b5af2c
Merge #14509: [0.17] doc: use SegWit in getblocktemplate example
sipa Oct 20, 2018
06544fa
qa: Add TestNode::assert_debug_log
Aug 21, 2018
b72fbab
[qa] Use correct python index slices in example test
sdaftuar Sep 13, 2018
7ff32a6
qa: Add some actual witness in rpc_rawtransaction
Aug 24, 2018
96dc936
scripted-diff: Pass node into p2p_segwit acceptance tests
Aug 29, 2018
73e538c
scripted-diff: Use named arguments in feature_block
Aug 29, 2018
168efea
qa: Use named args in some tests
Aug 29, 2018
24d796a
test: Add tests for RPC help
promag Aug 22, 2018
8bc1bad
Test rpc_help.py failed: Check whether ZMQ is enabled or not.
Kvaciral Aug 31, 2018
86fadee
qa: Premine to deterministic address with -disablewallet
Sep 10, 2018
f7adb32
qa: Run all tests even if wallet is not compiled
Sep 9, 2018
29899ec
Import CInv from correct module
ken2812221 Aug 14, 2018
5f51fd6
doc/descriptors.md tweaks
ryanofsky Sep 6, 2018
703a244
descriptors.md: Refer to descriptors as describing instead of matching
ryanofsky Oct 17, 2018
9461f98
Disable wallet and address book Qt tests on macOS minimal platform
ryanofsky Aug 20, 2018
eb2cc84
[macOS] Remove DS_Store WindowBounds bytes object
jonasschnelli Oct 18, 2018
248e5ec
doc: Update release notes for 0.17.0.1
laanwj Oct 25, 2018
dc4923a
build: Bump version for 0.17.0.1
laanwj Oct 25, 2018
f9fc08c
travis: Pin flake8 version to 3.5.0
fanquake Oct 26, 2018
f13041f
Merge #14579: [0.17] travis: Pin flake8 version to 3.5.0
Oct 26, 2018
1476554
Merge #14576: Release 0.17.0.1
laanwj Oct 26, 2018
f046d84
Docs/Release notes: 0.17.0.1 is a minor release
harding Oct 27, 2018
76dd525
Merge #14566: 0.17: qa backports
Oct 28, 2018
9e87d82
Merge #14589: Docs/Release notes: 0.17.0.1 is a minor release
Oct 28, 2018
0242b5a
qt: Revert "Force TLS1.0+ for SSL connections"
real-or-random Oct 5, 2018
b0e88b8
Merge #14666: qt: Revert "Force TLS1.0+ for SSL connections" (0.17)
laanwj Nov 6, 2018
1e49fe4
doc: Clean out release notes after 0.17.0.1
laanwj Nov 6, 2018
5150acc
Merge #14441: [wallet] Backport(0.17): Restore ability to list incomi…
laanwj Nov 10, 2018
bb90695
[wallet] Ensure wallet is unlocked before signing
Sep 24, 2018
85aacc4
Add autogen.sh in ARM Cross-compilation
Sep 20, 2018
9406502
add a test demonstrating an overflow in a deserialization edge case
kazcw Nov 7, 2018
5331ad0
fix a deserialization overflow edge case
kazcw Nov 7, 2018
2f9fd29
disallow oversized CBlockHeaderAndShortTxIDs
kazcw Nov 13, 2018
60f7a97
qa: Add test to ensure node can generate all help texts at runtime
Oct 22, 2018
96f15e8
Tests: Fix a comment
raxomukus Nov 1, 2018
91fa15a
wallet: Avoid potential use of unitialized value bnb_used in CWallet:…
practicalswift Jun 27, 2018
fb9ad04
Fix listreceivedbyaddress not taking address as a string
etscrivner Oct 6, 2018
7edebed
build: Remove illegal spacing in darwin.mk
ch4ot1c Nov 3, 2018
ec71f06
build: Add bitcoin-tx.exe into Windows installer
ken2812221 Nov 9, 2018
542651c
travis: Remove deprecated sudo
Nov 20, 2018
9f55662
Merge #14328: [0.17] Backports
Nov 28, 2018
df5131b
gui: explicitly disable "Dark Mode" appearance on macOS
fanquake Oct 28, 2018
de5e48a
Bugfix: RPC: Add address_type named param for createmultisig
luke-jr Oct 28, 2018
5782fdc
Throw error if CPubKey is invalid during PSBT keypath serialization
instagibbs Nov 8, 2018
6f04264
fix uninitialized read when stringifying an addrLocal
kazcw Nov 14, 2018
b901578
add test demonstrating addrLocal UB
kazcw Nov 15, 2018
9666dba
rpc: Make HTTP RPC debug logging more informative
practicalswift Oct 31, 2018
7935881
Add SAFE_CHARS[SAFE_CHARS_URI]: Chars allowed in URIs (RFC 3986)
practicalswift Nov 1, 2018
f9db08e
qa: Avoid race in p2p_invalid_block by waiting for the block request
Nov 9, 2018
d8bc0ce
Merge #14835: [0.17] Further Backports
Nov 30, 2018
53dcf2b
Remove stale comment in CalculateMaximumSignedInputSize
instagibbs Oct 3, 2018
2a5cc40
CreateTransaction: Assume minimum p2sh-p2wpkh spend size for unknown …
instagibbs Oct 3, 2018
67225e2
[tests] Add wallet_balance.py
jnewbery Nov 29, 2018
2528443
Merge #14852: 0.17 backport: [tests] Add wallet_balance.py
Nov 30, 2018
924cf79
Merge #14851: [backport] fix assert crash when specified change outpu…
Nov 30, 2018
3362a95
Merge #14196: [0.17][psbt] always drop the unnecessary utxo and conve…
Dec 1, 2018
a3fe125
check that a separator is found for psbt inputs, outputs, and global map
achow101 Oct 3, 2018
cfdd6b2
More concise conversion of CDataStream to string
gwillen Oct 26, 2018
a9eab08
Remove redundant txConst parameter to FillPSBT
gwillen Oct 26, 2018
70ee1f8
New PartiallySignedTransaction constructor from CTransction
gwillen Oct 26, 2018
39ece4f
Add bool PSBTInputSigned
gwillen Oct 26, 2018
ad94165
Simplify arguments to SignPSBTInput
gwillen Oct 26, 2018
db445d4
Refactor PSBTInput signing to enforce invariant
gwillen Oct 26, 2018
ff56bb9
Add regression test for PSBT signing bug #14473
gwillen Oct 30, 2018
7bee414
Add test for conversion from non-witness to witness UTXO
sipa Sep 20, 2018
5d12143
Merge #14780: PSBT backports to 0.17
Dec 5, 2018
7a590d8
fix converttopsbt permitsigdata arg, add basic test
instagibbs Sep 30, 2018
75b5d8c
rpc: Fix wallet unload during walletpassphrase timeout
promag Oct 9, 2018
6042dfe
build: bump version to 0.17.1
laanwj Dec 6, 2018
dcb032d
qa: Ensure wallet unload during walletpassphrase timeout
promag Oct 19, 2018
8b8b3a9
Merge #14878: 0.17: Further backports
laanwj Dec 6, 2018
abae8ae
Merge #14880: 0.17: Backport #14453
Dec 6, 2018
89a9a9d
Stop requiring imported pubkey to sign non-PKH schemes
sipa Oct 6, 2018
c6e4a1f
Merge #14889: [0.17] Backport #14424 (Stop requiring imported pubkey …
laanwj Dec 6, 2018
ef70f9b
doc: Fill in authors and changelog for 0.17.1 release notes
laanwj Dec 6, 2018
46c162d
rpc: Avoid creating non-standard raw transactions
Dec 6, 2018
ae1b675
importmulti: Don't add internal addresses to address book
instagibbs Nov 7, 2018
a057cc0
Merge #14900: [backport] #14679 importmulti: Don't add internal addre…
meshcollider Dec 24, 2018
e118565
Merge #14893: 0.17 [Backport 14890] rpc: Avoid creating non-standard …
Dec 24, 2018
fd616d8
doc: Clean out release notes post-0.17.1
laanwj Dec 25, 2018
ddd008d
Add PSBT documentation
sipa Jul 31, 2018
88c566a
doc: Fix PSBT howto and example parameters
priscoan Sep 25, 2018
fa0c76a
Fix minor grammar error in doc
bitcoinhodler Dec 20, 2018
b4602e3
fix testmempoolaccept CLI syntax
1Il1 Dec 15, 2018
b138b4a
doc: update NetBSD build instructions for 8.0
fanquake Dec 13, 2018
fa94101
Merge #15055: [0.17] Backport #14944
Dec 29, 2018
298dc15
gui: Favor macOS show / hide action in dock menu
promag Sep 2, 2018
d2ed162
Clean systray icon menu for -disablewallet mode
hebasto Oct 3, 2018
4d4bc37
Remove obj_c for macOS Dock icon setting
hebasto Oct 31, 2018
9034714
Use Qt signal for macOS Dock icon click event
hebasto Oct 31, 2018
0c2fb87
Remove obj_c for macOS Dock icon menu
hebasto Nov 2, 2018
ac73c7d
qt: Add GUIUtil::bringToFront
promag Aug 31, 2018
c470bbd
qt: Use GUIUtil::bringToFront where possible
promag Aug 31, 2018
27beb83
qt: All tray menu actions call showNormalIfMinimized
promag Aug 31, 2018
623a19b
Merge #15053: [0.17] Backport #14966
laanwj Dec 30, 2018
16521ce
Merge #14945: [0.17] Backport: PSBT documentation
Dec 30, 2018
5ff7b37
Merge #15065: 0.17: GUI Backports #14123 #14133 #14383 #14597
laanwj Jan 3, 2019
59dd855
gui: Fix for Incorrect application name when passing -regtest
benthecarman Jan 3, 2019
0a0b2ea
Merge #15094: 0.17: Backport for #15085
laanwj Jan 7, 2019
0cd9ad2
rpc: Make unloadwallet wait for complete wallet unload
promag Dec 12, 2018
c42f417
Remove errant past from walletcreatefundedpsbt for nLocktime replacea…
instagibbs Jan 20, 2019
8418707
Update zmq to 4.3.1
rex4539 Jan 17, 2019
1220b91
Merge #15251: [0.17] doc: Remove errant paste from walletcreatefunded…
Jan 25, 2019
09a9238
Merge #15252: [0.17] Backport: Update zmq to 4.3.1
laanwj Jan 30, 2019
30db5cc
Merge #15002: 0.17: Backport #14941
laanwj Jan 31, 2019
807add9
[0.17] [Doc] Backport release note about PSBT doc
harding Feb 1, 2019
392d138
Merge #15315: [0.17] [Doc] Backport release note about PSBT doc
laanwj Feb 2, 2019
44c3807
Remove files
scravy Mar 20, 2019
8c0d4f0
Change mainnet rpc port 8332 into 7181
scravy Mar 20, 2019
26938eb
Change mainnet port 8333 into 7182
scravy Mar 20, 2019
1028d72
Change testnet rpc port 18332 into 17181
scravy Mar 20, 2019
7713d27
Change testnet port 18333 into 17182
scravy Mar 20, 2019
9cb17e7
Change regtest rpc port 18443 into 17291
scravy Mar 20, 2019
ee1c158
Change regtest port 18444 into 17292
scravy Mar 20, 2019
3a84c3d
Change ssl rpc proxy port 28332 into 27181
scravy Mar 20, 2019
e104aba
Change currency token BTC to UTE
scravy Mar 20, 2019
9fb047d
Move paths containing "bitcoin" to respective "unite" paths
scravy Mar 20, 2019
c005d8a
Rename occurences of "bitcoin core" to "unit-e"
scravy Mar 20, 2019
84c1c06
Rename occurences of "bitcoin" to "unit-e"
scravy Mar 20, 2019
3e2066c
Apply adjustments to tests and constants for name changes
scravy Mar 20, 2019
fb199d7
Change identifier COIN to UNIT
scravy Mar 20, 2019
fa5f21d
Change identifier CENT to EEES
scravy Mar 20, 2019
be6cee7
Remove trailing whitespace
scravy Mar 20, 2019
c2cfa03
Appropriate files from unit-e
scravy Mar 20, 2019
7e14cfd
Merge branch 'master' into merge-bitcoin-0.17
cmihai Mar 28, 2019
751be62
Remove files
cmihai Apr 8, 2019
97d96ba
Change mainnet rpc port 8332 into 7181
cmihai Apr 8, 2019
867baae
Change testnet port 18333 into 17182
cmihai Apr 8, 2019
b2da3f3
Rename occurences of "bitcoin core" to "unit-e"
cmihai Apr 8, 2019
d67a6a8
Rename occurences of "bitcoin" to "unit-e"
cmihai Apr 8, 2019
5131cbc
Change identifier COIN to UNIT
cmihai Apr 8, 2019
4f7ab94
Remove trailing whitespace
cmihai Apr 8, 2019
8b2dc87
Appropriate files from unit-e
cmihai Apr 8, 2019
9d26443
Merge branch 'master' into merge-bitcoin-0.17-squash
cmihai Apr 9, 2019
3a8ae05
Merge branch 'master' into merge-bitcoin-0.17-squash
cmihai Apr 9, 2019
17dd23b
Fix failing functional tests
cmihai Apr 9, 2019
92e5f99
Fix .travis.yml
cmihai Apr 9, 2019
e74675a
Improve linter results
cmihai Apr 9, 2019
b86f784
Merge branch 'master' into merge-bitcoin-0.17-squash
cmihai Apr 9, 2019
07bd420
Merge branch 'master' into merge-bitcoin-0.17-squash
cmihai Apr 9, 2019
55c39ec
Merge branch 'master' into merge-bitcoin-0.17-squash
cmihai Apr 9, 2019
b79f0f4
Merge branch 'master' into merge-bitcoin-0.17-squash
cmihai Apr 10, 2019
797eb39
Merge branch 'master' into merge-bitcoin-0.17-squash
cmihai Apr 10, 2019
365cf0d
Revert "Rename occurences of "bitcoin" to "unit-e""
cmihai Apr 10, 2019
f814e23
Revert "Rename occurences of "bitcoin core" to "unit-e""
cmihai Apr 10, 2019
df64a8e
Revert "Change mainnet rpc port 8332 into 7181"
cmihai Apr 10, 2019
22cbde8
Revert "Change testnet port 18333 into 17182"
cmihai Apr 10, 2019
fe72153
Revert "Change identifier COIN to UNIT"
cmihai Apr 10, 2019
61b7174
Fix build errors
cmihai Apr 10, 2019
491de61
Merge branch 'master' into merge-bitcoin-0.17-squash
cmihai Apr 10, 2019
3335689
Fix failing tests
cmihai Apr 10, 2019
f6d7339
Fix Travis build
cmihai Apr 10, 2019
3a9bf42
Fix compilation with wallet disabled
cmihai Apr 10, 2019
9c60b9b
Avoid locking same critical section twice
cmihai Apr 10, 2019
37d6ec5
Remove spurious include
cmihai Apr 10, 2019
c2a00aa
Add more required locks
cmihai Apr 10, 2019
072b6a0
Add back x86 package repo for USB device support
cmihai Apr 10, 2019
790a2f4
Add libusb development library
cmihai Apr 10, 2019
fa5c083
Clean up Travis build scripts
cmihai Apr 10, 2019
0559af8
Clean up devtools README
cmihai Apr 10, 2019
80dafbd
Remove upstream commit list
cmihai Apr 10, 2019
d634871
Encode test directory name on Docker container
cmihai Apr 10, 2019
59dc066
Clean up documentation
cmihai Apr 10, 2019
9b7c5e7
Uncomment tests in wallet_bumpfee
cmihai Apr 10, 2019
b78e1c8
Merge branch 'master' into merge-bitcoin-0.17-squash
cmihai Apr 11, 2019
034cc0e
Add unit-e.init and .service back
cmihai Apr 11, 2019
6b36c5b
Fix URLs and attribution in documentation files
cmihai Apr 11, 2019
f559d9b
Address review comments
cmihai Apr 11, 2019
02d87db
Adapt gitian build script to 0.17 version
cornelius Apr 2, 2019
ace7256
Address review comments
cmihai Apr 11, 2019
134082f
Set filesystem encoding when running functional tests in Docker
cmihai Apr 11, 2019
0acccff
Use environment file instead if passing LC_CTYPE directly
cmihai Apr 11, 2019
af2d23f
Handle blocks+witness requests in minonde.py
Apr 11, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
79 changes: 22 additions & 57 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,36 @@
branches:
only:
- master
sudo: required
dist: trusty
os: linux
language: minimal
cache:
ccache: true
directories:
- depends/built
- depends/sdk-sources
- $HOME/.ccache
stages:
- lint
- test
git:
depth: false # full clone for git subtree check, this works around issue bitcoin/bitcoin#12388
env:
global:
- MAKEJOBS=-j3
- RUN_TESTS=false
- CHECK_DOC=0
- RUN_BENCH=false # Set to true for any one job that has debug enabled, to quickly check bench is not crashing or hitting assertions
- DOCKER_NAME_TAG=ubuntu:18.04
- LC_ALL=C.UTF-8
- BOOST_TEST_RANDOM=1$TRAVIS_BUILD_ID
- CCACHE_SIZE=100M
- CCACHE_TEMPDIR=/tmp/.ccache-temp
- CCACHE_COMPRESS=1
- CCACHE_DIR=$HOME/.ccache
- BASE_OUTDIR=$TRAVIS_BUILD_DIR/out
- SDK_URL=https://bitcoincore.org/depends-sources/sdks
- WINEDEBUG=fixme-all
stages:
- lint
- test
- DOCKER_PACKAGES="build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache"
before_install:
- set -o errexit; source .travis/test_03_before_install.sh
install:
Expand All @@ -36,63 +40,38 @@ before_script:
script:
- set -o errexit; source .travis/test_06_script.sh
after_script:
- echo $TRAVIS_COMMIT_RANGE
- echo $TRAVIS_COMMIT_LOG
- echo $TRAVIS_COMMIT_RANGE
- echo $TRAVIS_COMMIT_LOG
jobs:
include:
- stage: lint
env:
dist: trusty
os: linux
sudo: false
cache: false
language: python
python: '2.7'
addons:
apt:
packages:
- python3-flake8
before_install:
- set -o errexit; source .travis/lint_03_before_install.sh
python: '3.6'
install:
- set -o errexit; source .travis/lint_04_install.sh
before_script:
- set -o errexit; source .travis/lint_05_before_script.sh
script:
- set -o errexit; source .travis/lint_06_script.sh

- stage: test
name: "ARM"
env: >-
HOST=arm-linux-gnueabihf
PACKAGES="g++-arm-linux-gnueabihf python3-pip"
PACKAGES="g++-arm-linux-gnueabihf"
DEP_OPTS="NO_USB=1"
CHECK_DOC=1
GOAL="install"
UNITE_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"

- stage: test
name: "Win32 (unit tests)"
env: >-
HOST=i686-w64-mingw32
cmihai marked this conversation as resolved.
Show resolved Hide resolved
DPKG_ADD_ARCH="i386"
PACKAGES="python3 nsis g++-mingw-w64-i686 wine1.6"
PACKAGES="python3 nsis g++-mingw-w64-i686 wine-binfmt wine32"
RUN_TESTS=true
GOAL="install"
UNITE_CONFIG="--enable-reduce-exports --enable-usbdevice"

- stage: test
name: "System libs (unit and functional tests)"
if: type = cron
env: >-
HOST=x86_64-unknown-linux-gnu
PACKAGES="python3-zmq libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libdb5.1++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev xvfb libhidapi-dev"
NO_DEPENDS=1
NEED_XVFB=1
RUN_TESTS=true
GOAL="install"
UNITE_CONFIG="--enable-zmq --with-incompatible-bdb --enable-glibc-back-compat --enable-reduce-exports CPPFLAGS=-DDEBUG_LOCKORDER --enable-usbdevice"

- stage: test
name: "32-bit + dash (unit and functional tests)"
env: >-
Expand All @@ -102,29 +81,16 @@ jobs:
RUN_TESTS=true
GOAL="install"
UNITE_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++ --enable-usbdevice"
USE_SHELL="/bin/dash"

- stage: test
name: "Win64 (unit tests)"
if: type = cron
env: >-
HOST=x86_64-w64-mingw32
DPKG_ADD_ARCH="i386"
PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine1.6"
RUN_TESTS=true
GOAL="install"
UNITE_CONFIG="--enable-reduce-exports --enable-usbdevice"

CONFIG_SHELL="/bin/dash"
- stage: test
name: "x86_64 Linux (unit and functional tests)"
env: >-
HOST=x86_64-unknown-linux-gnu
PACKAGES="python3-zmq protobuf-compiler libdbus-1-dev libharfbuzz-dev libudev-dev"
DEP_OPTS="NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1"
PACKAGES="python3-zmq libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libudev-dev libhidapi-dev libusb-1.0-0-dev"
NO_DEPENDS=1
RUN_TESTS=true
GOAL="install"
UNITE_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports CPPFLAGS=-DDEBUG_LOCKORDER --enable-usbdevice"

UNITE_CONFIG="--enable-zmq --with-incompatible-bdb --enable-glibc-back-compat --enable-reduce-exports CPPFLAGS=-DDEBUG_LOCKORDER --enable-usbdevice"
- stage: test
name: "x86_64 Linux, No wallet (unit tests)"
env: >-
Expand All @@ -134,12 +100,11 @@ jobs:
RUN_TESTS=true
GOAL="install"
UNITE_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"

- stage: test
name: "Cross-Mac"
env: >-
HOST=x86_64-apple-darwin11
PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev"
UNITE_CONFIG="--enable-reduce-exports --enable-werror --enable-usbdevice"
HOST=x86_64-apple-darwin14
PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python-dev python3-setuptools-git"
OSX_SDK=10.11
GOAL="install"
GOAL="all deploy"
UNITE_CONFIG="--enable-reduce-exports --enable-werror --enable-usbdevice"
2 changes: 2 additions & 0 deletions .travis/lint_03_before_install.sh
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/usr/bin/env bash

export LC_ALL=C
4 changes: 4 additions & 0 deletions .travis/lint_04_install.sh
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
#!/usr/bin/env bash

export LC_ALL=C

travis_retry pip install flake8==3.5.0
1 change: 0 additions & 1 deletion .travis/lint_05_before_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C

19 changes: 12 additions & 7 deletions .travis/lint_06_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

./contrib/devtools/git-subtree-check.sh src/crypto/ctaes
./contrib/devtools/git-subtree-check.sh src/secp256k1
./contrib/devtools/git-subtree-check.sh src/univalue
./contrib/devtools/git-subtree-check.sh src/leveldb
./contrib/devtools/check-doc.py
./contrib/devtools/check-rpc-mappings.py .
./contrib/devtools/lint-all.sh
export LC_ALL=C

if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then
test/lint/commit-script-check.sh $TRAVIS_COMMIT_RANGE
fi

test/lint/git-subtree-check.sh src/crypto/ctaes || true
test/lint/git-subtree-check.sh src/secp256k1 || true
test/lint/git-subtree-check.sh src/univalue || true
test/lint/git-subtree-check.sh src/leveldb || true
test/lint/check-doc.py
test/lint/check-rpc-mappings.py .
test/lint/lint-all.sh || true
12 changes: 12 additions & 0 deletions .travis/test_03_before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,19 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C

PATH=$(echo $PATH | tr ':' "\n" | sed '/\/opt\/python/d' | tr "\n" ":" | sed "s|::|:|g")
export PATH

BEGIN_FOLD () {
echo ""
CURRENT_FOLD_NAME=$1
echo "travis_fold:start:${CURRENT_FOLD_NAME}"
}

END_FOLD () {
RET=$?
echo "travis_fold:end:${CURRENT_FOLD_NAME}"
return $RET
}
21 changes: 14 additions & 7 deletions .travis/test_04_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,22 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C

if [ -n "$DPKG_ADD_ARCH" ]; then
sudo dpkg --add-architecture "$DPKG_ADD_ARCH"
travis_retry docker pull $DOCKER_NAME_TAG
env | grep -E '^(CCACHE_|WINEDEBUG|LC_ALL|BOOST_TEST_RANDOM|CONFIG_SHELL)' | tee /tmp/env
if [[ $HOST = *-mingw32 ]]; then
DOCKER_ADMIN="--cap-add SYS_ADMIN"
fi
DOCKER_ID=$(docker run $DOCKER_ADMIN -idt --mount type=bind,src=$TRAVIS_BUILD_DIR,dst=$TRAVIS_BUILD_DIR --mount type=bind,src=$CCACHE_DIR,dst=$CCACHE_DIR -w $TRAVIS_BUILD_DIR --env-file /tmp/env $DOCKER_NAME_TAG)

if [ -n "$PACKAGES" ]; then
travis_retry sudo apt-get update
fi
DOCKER_EXEC () {
docker exec $DOCKER_ID bash -c "cd $PWD && $*";
}

if [ -n "$PACKAGES" ]; then
travis_retry sudo apt-get install --no-install-recommends --no-upgrade -qq $PACKAGES
if [ -n "$DPKG_ADD_ARCH" ]; then
DOCKER_EXEC dpkg --add-architecture "$DPKG_ADD_ARCH"
fi

travis_retry DOCKER_EXEC apt-get update
travis_retry DOCKER_EXEC apt-get install --no-install-recommends --no-upgrade -qq $PACKAGES $DOCKER_PACKAGES
14 changes: 6 additions & 8 deletions .travis/test_05_before_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C

unset CC
unset CXX
DOCKER_EXEC echo \> \$HOME/.unite # Make sure default datadir does not exist and is never read by creating a dummy file

mkdir -p depends/SDKs depends/sdk-sources

Expand All @@ -18,12 +18,10 @@ if [ -n "$OSX_SDK" -a -f depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz ]; then
tar -C depends/SDKs -xf depends/sdk-sources/MacOSX${OSX_SDK}.sdk.tar.gz
fi

if [ -z "$NO_DEPENDS" ]; then
make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS
if [[ $HOST = *-mingw32 ]]; then
DOCKER_EXEC update-alternatives --set $HOST-g++ \$\(which $HOST-g++-posix\)
fi

# Start xvfb if needed, as documented at https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
if [ "$NEED_XVFB" = 1 ]; then
export DISPLAY=:99.0; /sbin/start-stop-daemon --start --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac
if [ -z "$NO_DEPENDS" ]; then
DOCKER_EXEC CONFIG_SHELL= make $MAKEJOBS -C depends HOST=$HOST $DEP_OPTS
fi

45 changes: 33 additions & 12 deletions .travis/test_06_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C

TRAVIS_COMMIT_LOG=$(git log --format=fuller -1)
export TRAVIS_COMMIT_LOG
Expand All @@ -16,35 +17,55 @@ OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
UNITE_CONFIG_ALL="--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"

if [ -z "$NO_DEPENDS" ]; then
depends/$HOST/native/bin/ccache --max-size=$CCACHE_SIZE
DOCKER_EXEC ccache --max-size=$CCACHE_SIZE
fi

test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
BEGIN_FOLD autogen
if [ -n "$CONFIG_SHELL" ] ; then
DOCKER_EXEC "$CONFIG_SHELL" -c "./autogen.sh"
else
DOCKER_EXEC ./autogen.sh
fi
END_FOLD

mkdir build && cd build

../configure --cache-file=config.cache $UNITE_CONFIG_ALL $UNITE_CONFIG || ( cat config.log && false)
BEGIN_FOLD configure
DOCKER_EXEC ../configure --cache-file=config.cache $UNITE_CONFIG_ALL $UNITE_CONFIG || ( cat config.log && false)
END_FOLD

make distdir VERSION=$HOST
BEGIN_FOLD distdir
DOCKER_EXEC make distdir VERSION=$HOST
END_FOLD

cd unit-e-$HOST

./configure --cache-file=../config.cache $UNITE_CONFIG_ALL $UNITE_CONFIG || ( cat config.log && false)

make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && make $GOAL V=1 ; false )
BEGIN_FOLD configure
DOCKER_EXEC ./configure --cache-file=../config.cache $UNITE_CONFIG_ALL $UNITE_CONFIG || ( cat config.log && false)
END_FOLD

export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib
BEGIN_FOLD build
DOCKER_EXEC make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && DOCKER_EXEC make $GOAL V=1 ; false )
END_FOLD

if [ "$RUN_TESTS" = "true" ]; then
while sleep 9m; do echo "=====[ $SECONDS seconds still running ]====="; done &
make $MAKEJOBS check VERBOSE=1
kill %1
BEGIN_FOLD unit-tests
DOCKER_EXEC LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib make $MAKEJOBS check VERBOSE=1
END_FOLD
fi

if [ "$RUN_BENCH" = "true" ]; then
BEGIN_FOLD bench
DOCKER_EXEC LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib $OUTDIR/bin/bench_unite -scaling=0.001
END_FOLD
fi

if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then
extended="--extended --exclude feature_pruning,feature_dbcrash"
fi

if [ "$RUN_TESTS" = "true" ]; then
test/functional/test_runner.py --combinedlogslen=4000 --coverage --quiet ${extended}
BEGIN_FOLD functional-tests
DOCKER_EXEC test/functional/test_runner.py --combinedlogslen=4000 --coverage --quiet --failfast ${extended}
END_FOLD
fi
9 changes: 7 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ EXTRA_DIST += \
test/util/data/txcreatescript4.json \
test/util/data/txcreatesignv1.hex \
test/util/data/txcreatesignv1.json \
test/util/data/txcreatesignv2.hex
test/util/data/txcreatesignv2.hex \
test/util/rpcauth-test.py

CLEANFILES = $(OSX_DMG) $(UNITE_WIN_INSTALLER)

Expand All @@ -188,6 +189,10 @@ docs:
@echo "error: doxygen not found"
endif

clean-local:
clean-docs:
rm -rf doc/doxygen

clean-local: clean-docs
rm -rf coverage_percent.txt test_unite.coverage/ total.coverage/ test/tmp/ cache/ $(OSX_APP)
rm -rf test/functional/__pycache__ test/functional/test_framework/__pycache__ test/cache

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ features such as:

We regularly merge upstream changes into the unit-e code base and also strive to
contribute back changes which are relevant for upstream. The last upstream sync
was done with the [0.16](https://github.com/bitcoin/bitcoin/tree/0.16) version,
was done with the [0.17](https://github.com/bitcoin/bitcoin/tree/0.17) version,
plus some changes cherry-picked from later development branches.

The client is in a pre-testnet development phase. With the [launch of the
Expand Down
1 change: 1 addition & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

export LC_ALL=C
set -e
srcdir="$(dirname $0)"
cd "$srcdir"
Expand Down