Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
555 commits
Select commit Hold shift + click to select a range
e0e18a1
refactoring: Check IsArgKnown() early
hebasto Jul 27, 2019
e0d187d
Refactor InterpretNegatedOption() function
hebasto Jul 27, 2019
265c1b5
Add Flags enum to ArgsManager
hebasto Jul 27, 2019
1b4b942
scripted-diff: Use Flags enum in AddArg()
hebasto Jul 27, 2019
fb4b9f9
scripted-diff: Use ArgsManager::DEBUG_ONLY flag
hebasto Jul 27, 2019
9a12733
Remove unused m_debug_only member from Arg struct
hebasto Jul 27, 2019
4fcb698
[rpc] walletcreatefundedpsbt: use wallet default RBF
Sjors Apr 27, 2019
9ed062b
[doc] rpc: remove "fallback to" from RBF default help
Sjors May 12, 2019
d6b3640
[test] walletcreatefundedpsbt: check RBF is disabled when -walletrbf=0
Sjors Jul 27, 2019
07e01d6
rpc: sendrawtransaction unconditionality/privacy note
jonatack Jul 26, 2019
dde80c2
Use ArgsManager::NETWORK_ONLY flag
hebasto Jul 27, 2019
db08edb
Replace IsArgKnown() with FlagsOfKnownArg()
hebasto Jul 27, 2019
fa6dc7f
wallet: Enumerate walletdb keys
Jul 27, 2019
fa6f22b
wallet: Rename CWalletKey to OldKey
Jul 27, 2019
94df084
Merge #16468: Exclude depends/Makefile in .gitignore
fanquake Jul 28, 2019
3489b71
Merge #16464: [qa] Ensure we don't generate a too-big block in p2sh s…
Jul 28, 2019
16b3748
Trivial: add missing space
harding Jul 28, 2019
5c2885f
Merge #16481: Trivial: add missing space
fanquake Jul 28, 2019
e0324c3
Updated python command in readme so it will work on systems that have…
sipsorcery Jul 29, 2019
502ec02
Merge #16424: build: Treat -Wswitch as error when --enable-werror
Jul 29, 2019
f735851
Merge #16467: rpc: sendrawtransaction help privacy note
laanwj Jul 29, 2019
2922025
Merge #16441: build: remove qt libjpeg check from bitcoin_qt.m4
laanwj Jul 29, 2019
74ea1f3
Merge #16399: wallet: Improve wallet creation
Jul 29, 2019
b21acab
Merge #15993: net: Drop support of the insecure miniUPnPc versions
laanwj Jul 29, 2019
2a7c3bc
Merge #16436: gui: Do not create payment server if -disablewallet opt…
laanwj Jul 29, 2019
c5d3787
Allow createwallet to take empty passwords to make unencrypted wallets
achow101 Jul 15, 2019
68da549
Merge #16471: [mempool] log correct messages when CPFP fails
laanwj Jul 29, 2019
faa88d0
doc: update labels in CONTRIBUTING.md
Jul 29, 2019
62d3f50
qa: fix deprecated log.warn in feature_dbcrash test
jonatack Jul 29, 2019
2410088
Merge #16491: qa: fix deprecated log.warn in feature_dbcrash test
fanquake Jul 30, 2019
478fe32
Merge #16475: wallet: Enumerate walletdb keys
fanquake Jul 30, 2019
3389461
Merge #16484: doc: update labels in CONTRIBUTING.md
fanquake Jul 30, 2019
914923d
Add setting as known type
Bushstar Jul 27, 2019
ff57fb4
Merge #15709: wallet: Do not add "setting" key as unknown
meshcollider Jul 30, 2019
53b5a4f
Merge #16483: doc: update Python command in msvc readme
fanquake Jul 30, 2019
bd35ec3
Merge #16434: build: Specify AM_CPPFLAGS for ZMQ
laanwj Jul 30, 2019
74f1a27
Merge #15134: tests: Switch one of the Travis jobs to an unsigned cha…
laanwj Jul 30, 2019
fa8a823
test: Bump rpc_timeout in feature_dbcrash
Jul 30, 2019
b3a9d17
[wallet] Move CMerkleTx functions into CWalletTx
jnewbery Jul 25, 2019
783a76f
[wallet] Flatten CWalletTx class hierarchy
jnewbery Jul 25, 2019
05b56d1
[wallet] Remove CMerkleTx serialization logic
jnewbery Jul 24, 2019
fa5a4cd
gui: Generate bech32 addresses by default (take 2, fixup)
Jul 30, 2019
fa1bb53
test: Add -acceptnonstdtxn to self.extra_args[3]
Jul 30, 2019
d6ac25b
autoconf: Sane --enable-debug defaults.
dongcarl Jul 22, 2019
39763b7
Merge #16433: txmempool: Remove unused default value MemPoolRemovalRe…
jonasschnelli Jul 30, 2019
8241b51
Merge #16451: Remove CMerkleTx
laanwj Jul 31, 2019
0646ca5
Changes the verbosity of msbuild from quiet to normal in the appveyor…
sipsorcery Jul 31, 2019
00922b8
Merge #15906: [wallet] Move min_depth and max_depth to coin control
laanwj Jul 31, 2019
f891136
Merge #16505: Changes verbosity of msbuild from quiet to normal in th…
Jul 31, 2019
73b692b
doc: Add release note for the deprecated totalFee option of bumpfee
promag Jul 31, 2019
3f288a1
Merge #16504: doc: Add release note for the deprecated totalFee optio…
Jul 31, 2019
7821821
Merge #16452: refactor: use RelayTransaction in BroadcastTransaction …
Jul 31, 2019
0b1f4b3
wallet: Drop unused OldKey
promag Jul 30, 2019
b70cc5d
Revamp option negating policy
hebasto Jul 27, 2019
e6f649c
test: Make tests arg type specific
hebasto Jul 27, 2019
68f5466
test: Fix “local variable 'e' is assigned to but never used”
Empact Jan 25, 2019
fa8a1d7
test: Adapt test framework for chains other than "regtest"
Jul 31, 2019
5639d71
Merge #16293: test: Make test cases separate functions
Jul 31, 2019
b078067
gui: Remove unused RPCConsole::tabFocus
promag Jul 31, 2019
25f0edd
Merge #16448: doc: add note on precedence of options in bitcoin.conf
fanquake Jul 31, 2019
b7fbf74
Merge #16502: wallet: Drop unused OldKey
fanquake Aug 1, 2019
6841b01
Merge #16394: Allow createwallet to take empty passwords to make unen…
meshcollider Aug 1, 2019
7565698
Merge #16514: gui: Remove unused RPCConsole::tabFocus
laanwj Aug 1, 2019
7981627
Merge #16470: test: Fail early on disconnect in mininode.wait_for_*
laanwj Aug 1, 2019
e653eef
Merge #16277: [Tests] Suppress output in test_bitcoin for expected er…
laanwj Aug 1, 2019
fa36aa4
Test: Set -acceptnonstdtxn in feature_fee_estimation
Aug 1, 2019
8c8aa19
Add BroadcastTransaction utility usage in Chain interface
Apr 11, 2019
611291c
Introduce CWalletTx::SubmitMemoryPoolAndRelay
Apr 11, 2019
8753f56
Remove duplicate checks in SubmitMemoryPoolAndRelay
Apr 11, 2019
b8eecf8
Remove unused submitToMemoryPool and relayTransactions Chain interfaces
Apr 11, 2019
fb62f12
Tidy up BroadcastTransaction()
jnewbery Jul 23, 2019
0a4e4a0
[build] .gitignore add Qt Creator Makefile.am.user
Bushstar Aug 2, 2019
9f54e9a
Merge #16493: test: Fix test failures
Aug 2, 2019
d759b5d
Merge #15911: Use wallet RBF default for walletcreatefundedpsbt
Aug 2, 2019
faf3683
test: Avoid hardcoding the chain name in combine_logs
Jul 31, 2019
be0e8b4
Merge #15713: refactor: Replace chain relayTransactions/submitMemoryP…
Aug 2, 2019
faff85a
test: Format feature_fee_estimation with pep8
Aug 2, 2019
fa76285
test: Explain why -whitelist is used in feature_fee_estimation
Aug 2, 2019
3a3d8b8
Merge #16097: Refactor: Add Flags enum to ArgsManager class
Aug 2, 2019
05fdb97
[doc] Update and extend benchmarking.md
Aug 2, 2019
fa566b2
test: Add missing sync_blocks to feature_pruning
Aug 2, 2019
b2ea20d
doc: Fix grammar and punctuation in developer notes
Aug 2, 2019
e55444a
Merge #16534: build: add Qt Creator Makefile.am.user to .gitignore
fanquake Aug 4, 2019
6b6386e
Merge #16538: test: Add missing sync_blocks to feature_pruning
Aug 5, 2019
1063fc9
Merge #16536: doc: Update and extend benchmarking.md
Aug 5, 2019
c77f7cd
Merge #16197: net: Use mockable time for tx download
Aug 5, 2019
d5ea8f4
Merge #16509: test: Adapt test framework for chains other than "regtest"
Aug 5, 2019
62117f9
Merge #16363: test: Add test for BIP30 duplicate tx
Aug 5, 2019
31d9858
Merge #16497: gui: Generate bech32 addresses by default (take 2, fixup)
fanquake Aug 6, 2019
fbe4b76
Merge #16530: doc: Fix grammar and punctuation in developer notes
fanquake Aug 6, 2019
2f37163
test: only include and init openSSL where it's actually used
fanquake Aug 6, 2019
3303124
build: disable libxcb extensions
fanquake Aug 2, 2019
b725979
Merge #16535: test: Explain why -whitelist is used in feature_fee_est…
Aug 6, 2019
e5fdda6
Merge #16554: test: only include and use OpenSSL where it's actually …
Aug 6, 2019
fae6ab6
refactor: pcoinsTip -> CChainState::CoinsTip()
jamesob Jul 24, 2019
214c4ec
[wallet] restore coinbase check in SubmitMemoryPoolAndRelay()
jnewbery Aug 6, 2019
104b3a5
Factor out checksum checking from descriptor parsing
sipa May 8, 2019
26d3fad
Add unmodified-but-with-checksum to getdescriptorinfo
sipa May 8, 2019
0481fa2
util: refactor upper/lowercase functions
kallewoof Aug 7, 2019
2dbfb37
Fix Char as Bool in interfaces
JeremyRubin Aug 8, 2019
b7b9f6e
Remove p2pEnabled from Chain interface
Jul 30, 2019
bf72b8a
build: disable libsecp256k1 benchmarks
fanquake Aug 9, 2019
61c5c64
doc: Add historical release notes for 0.18.1
laanwj Aug 9, 2019
3277627
Merge #16574: doc: Add historical release notes for 0.18.1
fanquake Aug 9, 2019
9ab9d63
Merge #16503: Remove p2pEnabled from Chain interface
Aug 9, 2019
c8b53c3
[wallet] Restore confirmed/conflicted tx check in SubmitMemoryPoolAnd…
jnewbery Aug 9, 2019
e47e36c
Merge #16573: build: disable building libsecp256k1 benchmarks
laanwj Aug 9, 2019
a2714a5
Give QApplication dummy arguments
achow101 Aug 9, 2019
9063911
sipsorcery gitian key.
sipsorcery Aug 10, 2019
e5b26de
Make whitebind/whitelist permissions more flexible
NicolasDorier Jun 20, 2019
ecd5cf7
Do not disconnect peer for asking mempool if it has NO_BAN permission
NicolasDorier Jun 21, 2019
d541fa3
Replace the use of fWhitelisted by permission checks
NicolasDorier Jun 21, 2019
c5b404e
Add functional tests for flexible whitebind/list
NicolasDorier Jun 21, 2019
1f26328
doc: Update Markdown syntax for bdb packages
cvengler Aug 11, 2019
ac3e652
Merge #16585: doc: Update Markdown syntax for bdb packages
fanquake Aug 11, 2019
9059a6f
Merge #16349: qt: Remove redundant WalletController::addWallet slot
jonasschnelli Aug 12, 2019
00dad5e
Merge #16581: sipsorcery gitian key
laanwj Aug 12, 2019
b499d85
Merge #16557: [wallet] restore coinbase and confirmed/conflicted chec…
Aug 12, 2019
fa4ee0d
build: Remove unused src/obj-test folder
Aug 12, 2019
fa7789f
doc: Mention other ways to conserve memory on compilation
Aug 12, 2019
b799ebc
Merge #16566: util: refactor upper/lowercase functions
fanquake Aug 13, 2019
fa1e9c6
travis: Bump timeout from 50 minutes to 90
Aug 13, 2019
7cd069d
Add test for AddTimeData
mzumsande Aug 7, 2019
14f7eec
rpc: Fix getblocktemplate CLI example (#16594)
cvengler Aug 13, 2019
afc0966
Moved and renamed hash256 from util.py to zmq_interface.py
elichai Aug 13, 2019
3862e47
[rpc] Tidy up reporting of buried and ongoing softforks
jnewbery May 20, 2019
c84ff23
build: ignore macOS make deploy artefacts & add them to clean-local
fanquake Jul 11, 2019
c3b605c
Merge #16586: doc: Mention other ways to conserve memory on compilation
fanquake Aug 14, 2019
05ccbe9
Merge #16598: test: Remove confusing hash256 function in util
fanquake Aug 14, 2019
b120645
Merge #16595: travis: use extended 90 minute timeout when available
laanwj Aug 14, 2019
b49e779
Merge #16533: build: disable libxcb extensions
laanwj Aug 14, 2019
862cbf3
Add missing contributor to release notes
meshcollider Aug 14, 2019
2863324
Merge #16605: Add missing contributor to 0.18.1 release notes
laanwj Aug 14, 2019
e7df1ec
Merge #14934: Descriptor expansion cache clarifications
laanwj Aug 14, 2019
3963856
descriptor: fix missed m_script_arg arg renaming in #14934
fanquake Aug 14, 2019
034575e
Merge #16609: descriptor: fix missed m_script_arg arg renaming in #14934
Aug 14, 2019
0753c73
Merge #16596: rpc: Fix getblocktemplate CLI example
fanquake Aug 14, 2019
24f2979
Merge #16589: build: Remove unused src/obj-test folder
Aug 14, 2019
a7aa809
Merge #16563: test: Add unit test for AddTimeData
laanwj Aug 14, 2019
b6e9ff8
build: Remove src/obj directory from repository
laanwj Aug 14, 2019
67be6d7
Merge #16248: Make whitebind/whitelist permissions more flexible
laanwj Aug 14, 2019
36f7697
doc: Fix typos in COPYRIGHT
GChuf Aug 14, 2019
1c93b9b
[Consensus] Bury CSV deployment height
jnewbery May 20, 2019
0328dcd
[Consensus] Bury segwit deployment
jnewbery May 20, 2019
8319e73
[tests] Add coverage for the content of getblockchaininfo.softforks
jamesob Feb 13, 2018
e78aaf4
[docs] Add release notes for burying bip 9 soft fork deployments
jnewbery Aug 13, 2019
f418c33
Merge #16435: autoconf: Sane `--enable-debug` defaults.
jonasschnelli Aug 14, 2019
fac3dcf
test: Generate one block for each send in wallet_import_rescan
Apr 24, 2019
fa79af2
test: Replace fragile "rng" with call to random()
Jul 25, 2019
fa25668
test: Test p2sh-witness and bech32 in wallet_import_rescan
Jul 25, 2019
8516285
Merge #16615: doc: Fix typos in COPYRIGHT
fanquake Aug 14, 2019
8fc7f0c
Merge #16578: Do not pass in command line arguments to QApplication
fanquake Aug 15, 2019
37f2784
tests: Use colors and dots in test_runner.py output only if standard …
practicalswift Aug 7, 2019
390874c
qt: Remove menu icons
laanwj Aug 14, 2019
e00501e
Merge #16561: tests: Use colors and dots in test_runner.py output onl…
Aug 15, 2019
fa3c657
lint: Add false positive to python dead code linter
Jul 25, 2019
dc7529a
[Fix] Allow connection of a noban banned peer
NicolasDorier Aug 15, 2019
fa27c55
util: Move ResolveErrMsg to util/error
Aug 15, 2019
8bd5e0a
Merge #16465: test: Test p2sh-witness and bech32 in wallet_import_rescan
Aug 15, 2019
6576a87
doc: Improve versionbits.h documentation
Aug 7, 2019
5693530
refactor: have CCoins* data managed under CChainState
jamesob Jul 24, 2019
fafe78f
ci: Rename .travis/ to ./ci/
Aug 10, 2019
fa0aac0
ci: Add retry
Aug 11, 2019
fa31bc3
ci: Remove dependence on travis, use it as fallback env
Aug 10, 2019
fa6cbdc
ci: Use ./ci/ on non-travis host
Aug 11, 2019
faeacf3
ci: Add note that this assumes a fresh git clone
Aug 15, 2019
582d2cd
Cover UTXO set access with lock annotations
jamesob Jul 24, 2019
85883a9
Merge #16443: refactor: have CCoins* data managed under CChainState
Aug 15, 2019
367b023
Merge #16582: test: Rework ci (Use travis only as fallback env)
Aug 15, 2019
1bf2ff2
Merge #16060: Bury bip9 deployments
Aug 15, 2019
f9d40ce
Fix spelling error chache -> cache.
nilswloewen Aug 16, 2019
14982b8
Merge #16626: doc: Fix spelling error chache -> cache.
fanquake Aug 16, 2019
95a5918
Merge #16587: doc: Improve versionbits.h documentation
fanquake Aug 16, 2019
0d65106
Merge #16383: rpcwallet: default include_watchonly to true for watcho…
fanquake Aug 16, 2019
d117f45
Add test for setban
NicolasDorier Aug 15, 2019
93bacb8
Merge #16612: qt: Remove menu icons
jonasschnelli Aug 16, 2019
a6c1fc3
build: echo prop tests status during build
jonatack Aug 15, 2019
21a1653
Merge #16620: util: Move ResolveErrMsg to util/error
Aug 16, 2019
fa21737
ci: Add environment files for all settings
Aug 15, 2019
faba46d
ci: Set --ansi in test_runner
Aug 16, 2019
aed15ed
Merge #16633: travis: Fix test_runner.py timeouts
Aug 16, 2019
20ea9ef
[doc] mention whitelist is inbound, and applies to blocksonly
Sjors Aug 6, 2019
b80cdfe
Merge #16618: [Fix] Allow connection of a noban banned peer
Aug 16, 2019
fa0119a
doc: Refer in rpcbind doc to the manpage
Aug 16, 2019
ce7eac3
[Fix] The default whitelistrelay should be true
NicolasDorier Aug 16, 2019
3b05f0f
Reformat p2p_permissions.py
NicolasDorier Aug 16, 2019
7a960ba
Merge #15986: Add checksum to getdescriptorinfo
meshcollider Aug 16, 2019
c325f61
Return an error from descriptor Parse that gives more information abo…
achow101 Aug 2, 2019
625534d
Give more errors for specific failure conditions
achow101 Aug 2, 2019
6e1ae58
Check error messages in descriptor tests
achow101 Aug 2, 2019
787c9ec
Additional tests for other failure cases
achow101 Aug 8, 2019
1124be6
Merge #16622: build: echo property tests status during build
fanquake Aug 17, 2019
dc1bc1c
doc: Add ZMQ dependencies to Fedora build
hebasto Aug 18, 2019
e8a6d52
Merge #16542: Return more specific errors about invalid descriptors
meshcollider Aug 18, 2019
48e5bfe
Merge #16643: doc: Add ZMQ dependencies to the Fedora build instructions
fanquake Aug 19, 2019
b168dd3
Bugfix: QA: Run tests with UPnP disabled
luke-jr Aug 6, 2019
54aaa78
RPC: add weight to mempool entry output
esotericnonsense Sep 7, 2017
9c9cc2b
qa: Add RPC tests for weight in mempool entry
esotericnonsense Sep 8, 2017
17d178f
doc: add release-notes for getmempoolentry weight field addition
fanquake Aug 19, 2019
8616c81
doc: initial RapidCheck property-based testing documentation
jonatack Aug 18, 2019
91ed1b3
Merge #16634: doc: Refer in rpcbind doc to the manpage
laanwj Aug 19, 2019
ed9a2a3
Merge #16631: net: The default whitelistrelay should be true
laanwj Aug 19, 2019
27ee0cc
Merge #16646: qa: Run tests with UPnP disabled
laanwj Aug 19, 2019
6c27fa0
scripts: remove github-merge.py
fanquake Aug 16, 2019
c79bf32
Merge #16625: scripts: remove github-merge.py
laanwj Aug 19, 2019
1d74693
Merge #16555: doc: mention whitelist is inbound, and applies to block…
Aug 19, 2019
8b42db1
Merge #16623: ci: Add environment files for all settings
Aug 19, 2019
83112db
Merge #15864: Fix datadir handling
Aug 19, 2019
bd62f8d
Merge #16645: doc: initial RapidCheck property-based testing document…
laanwj Aug 19, 2019
e00ecb3
Merge #16611: build: Remove src/obj directory from repository
laanwj Aug 19, 2019
70b12af
Merge #16647: rpc: add weight to getmempoolentry output
Aug 20, 2019
fa8cd6f
util: Add Join helper to join a list of strings
Aug 20, 2019
faebf62
rpc: Use Join helper in rpc/util
Aug 20, 2019
8ee572f
Merge #16371: build: ignore macOS make deploy artefacts & add them to…
fanquake Aug 20, 2019
01ebaa0
Merge #16572: wallet: Fix Char as Bool in Wallet
fanquake Aug 21, 2019
6011c9d
QA: fix rpc_setban.py race
jonasschnelli Aug 20, 2019
6dfa9ef
Merge #16656: test: fix rpc_setban.py race
Aug 21, 2019
fea33cb
refactor: replace qStableSort with std::stable_sort
fanquake Aug 21, 2019
59373e3
refactor: replace qSort with std::sort
fanquake Aug 21, 2019
153d9dd
refactor: replace qLowerBound & qUpperBound with std:: upper_bound & …
fanquake Aug 21, 2019
868a8ce
Merge #16674: refactor: remove obsolete qt algorithm usage
fanquake Aug 22, 2019
52b9797
Merge #16670: util: Add Join helper to join a list of strings
Aug 22, 2019
461acf5
Squashed 'src/secp256k1/' changes from b19c00006..e729cc7f5
elichai Aug 22, 2019
78fb58d
Merge commit '461acf5c6c39610c55988eed7a50922aed732ded' into taproot-…
elichai Aug 22, 2019
69b0efd
Squashed 'src/secp256k1/' changes from e729cc7f5..a228e2f54
elichai Aug 22, 2019
659d36f
Merge commit '69b0efd59feca9b50412d090c16e06bc7a244e6d' into taproot-…
elichai Aug 22, 2019
badc6e2
Initialize PrecomputedTransactionData in CheckInputs
sipa Apr 2, 2019
958acfa
Keep spent outputs in PrecomputedTransactionData during validation
sipa Apr 2, 2019
63f7c9b
Make PrecomputedTransactionData compatible with taproot sighash
sipa Apr 2, 2019
e3d0b06
Support for Schnorr signatures in pubkey and SignatureCheckers
sipa Apr 3, 2019
1575010
Implement Taproot signature validation
jl2012 Apr 4, 2019
4673a65
Taproot validation
sipa Apr 8, 2019
a17aab2
Add ScriptExecutionData struct that encapsulates scriptCode
sipa Apr 10, 2019
686fd71
Use ScriptExecutionData to pass through annex hash
sipa Apr 12, 2019
6e52816
Tapscript
jl2012 Apr 9, 2019
b7b3779
Indent the legacy branch in CHECKSIG interpreter code correctly
sipa Apr 10, 2019
e4715e6
Taproot policy change
jl2012 Apr 15, 2019
0706842
Activate taproot on regtest
sipa Apr 18, 2019
0423cd2
[TESTS] Tests for Taproot/Schnorr/Tapscript
sipa Apr 16, 2019
eaf536e
[test] Refactor BitcoinTestFramework main function.
jachiang Aug 14, 2019
2d93ec1
[test] Add add/multiply methods to ECPubkey and ECKey classes.
jachiang Aug 1, 2019
aca314a
add/mul method nits
jnewbery Sep 15, 2019
502742e
Add subtract method
jnewbery Sep 16, 2019
daa4d6d
[test] Add schnorr method which allows signing with a valid, predeter…
jachiang Aug 1, 2019
f2a2c09
schnorr method nits
jnewbery Sep 15, 2019
94ebb67
[test] Add MuSig signature support
jachiang Aug 1, 2019
dac842c
musig nits
jnewbery Sep 15, 2019
18a2613
[test] Add Taptree, Tapleaf classes and generator methods.
jachiang Jul 26, 2019
e061c27
Change client name/version to OptechTaproot v0.1.1
jnewbery Aug 27, 2019
bd0c6bc
Refactor csa tapscript constructors to match descriptors.
jachiang Sep 18, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 1 addition & 14 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,10 @@ before_build:
- ps: Start-Process clcache-server
- ps: fsutil behavior set disablelastaccess 0 # Enable Access time feature on Windows (for clcache)
build_script:
- cmd: msbuild /p:TrackFileAccess=false /p:CLToolExe=clcache.exe build_msvc\bitcoin.sln /m /v:q /nologo
- cmd: msbuild /p:TrackFileAccess=false /p:CLToolExe=clcache.exe build_msvc\bitcoin.sln /m /v:n /nologo
after_build:
- ps: fsutil behavior set disablelastaccess 1 # Disable Access time feature on Windows (better performance)
- ps: clcache -z
before_test:
- ps: ${conf_ini} = (Get-Content([IO.Path]::Combine(${env:APPVEYOR_BUILD_FOLDER}, "test", "config.ini.in")))
- ps: ${conf_ini} = ${conf_ini}.Replace("@PACKAGE_NAME@", "Bitcoin Core")
- ps: ${conf_ini} = ${conf_ini}.Replace("@abs_top_srcdir@", ${env:APPVEYOR_BUILD_FOLDER})
- ps: ${conf_ini} = ${conf_ini}.Replace("@abs_top_builddir@", ${env:APPVEYOR_BUILD_FOLDER})
- ps: ${conf_ini} = ${conf_ini}.Replace("@EXEEXT@", ".exe")
- ps: ${conf_ini} = ${conf_ini}.Replace("@ENABLE_WALLET_TRUE@", "")
- ps: ${conf_ini} = ${conf_ini}.Replace("@BUILD_BITCOIN_CLI_TRUE@", "")
- ps: ${conf_ini} = ${conf_ini}.Replace("@BUILD_BITCOIND_TRUE@", "")
- ps: ${conf_ini} = ${conf_ini}.Replace("@ENABLE_ZMQ_TRUE@", "")
- ps: ${utf8} = New-Object System.Text.UTF8Encoding ${false}
- ps: '[IO.File]::WriteAllLines([IO.Path]::Combine(${env:APPVEYOR_BUILD_FOLDER}, "test", "config.ini"), ${conf_ini}, ${utf8})'
- ps: move "build_msvc\${env:PLATFORM}\${env:CONFIGURATION}\*.exe" src
test_script:
- cmd: src\test_bitcoin.exe -k stdout -e stdout 2> NUL
- cmd: src\bench_bitcoin.exe -evals=1 -scaling=0 > NUL
Expand Down
24 changes: 24 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,27 @@ task:
- gmake check ${MAKEJOBS} VERBOSE=1
functional_test_script:
- ./test/functional/test_runner.py --jobs 9 --ci --extended --exclude feature_dbcrash --combinedlogslen=1000 --quiet --failfast
task:
name: "x86_64 Linux [GOAL: install] [bionic] [Using ./ci/ system]"
container:
image: ubuntu:18.04
cpu: 8
memory: 8G
timeout_in: 60m
env:
MAKEJOBS: "-j9"
RUN_CI_ON_HOST: "1"
CCACHE_SIZE: "200M"
CCACHE_DIR: "/tmp/ccache_dir"
ccache_cache:
folder: "/tmp/ccache_dir"
depends_built_cache:
folder: "/tmp/cirrus-ci-build/depends/built"
depends_sdk_cache:
folder: "/tmp/cirrus-ci-build/depends/sdk-sources"
install_script:
- apt-get update
- apt-get -y install git bash ccache
- ccache --max-size=${CCACHE_SIZE}
ci_script:
- ./ci/test_run_all.sh
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.tar.gz

*.exe
*.pdb
src/bitcoin
src/bitcoind
src/bitcoin-cli
Expand Down Expand Up @@ -34,6 +35,7 @@ libtool
src/config/bitcoin-config.h
src/config/bitcoin-config.h.in
src/config/stamp-h1
src/obj
share/setup.nsi
share/qt/Info.plist

Expand Down Expand Up @@ -76,7 +78,7 @@ src/qt/bitcoin-qt.includes

# Only ignore unexpected patches
*.patch
!depends/patches/*.patch
!depends/patches/**/*.patch

#libtool object files
*.lo
Expand All @@ -85,10 +87,14 @@ src/qt/bitcoin-qt.includes
# Compilation and Qt preprocessor part
*.qm
Makefile
!depends/Makefile
bitcoin-qt
Bitcoin-Qt.app
background.tiff*

# Qt Creator
Makefile.am.user

# Unit-tests
Makefile.test
bitcoin-qt_test
Expand Down Expand Up @@ -127,3 +133,7 @@ db4/

# clang-check
*.plist

osx_volname
dist/
*.background.tiff
125 changes: 38 additions & 87 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# Bitcoin Core GitHub member via the Travis web interface [0].
#
# Travis CI uploads the cache after the script phase of the build [1].
# However, the build is terminated without saving the chache if it takes over
# However, the build is terminated without saving the cache if it takes over
# 50 minutes [2]. Thus, if we spent too much time in early build stages, fail
# with an error and save the cache.
#
Expand All @@ -37,38 +37,28 @@ cache:
stages:
- lint
- test
- extended-lint
env:
global:
- MAKEJOBS=-j3
- RUN_UNIT_TESTS=true
- RUN_FUNCTIONAL_TESTS=true
- RUN_FUZZ_TESTS=false
- DOCKER_NAME_TAG=ubuntu:18.04
- 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
- DOCKER_PACKAGES="build-essential libtool autotools-dev automake pkg-config bsdmainutils curl git ca-certificates ccache"
- CI_RETRY_EXE="travis_retry"
- CACHE_ERR_MSG="Error! Initial build successful, but not enough time remains to run later build stages and tests. Please manually re-run this job by using the travis restart button or asking a bitcoin maintainer to restart. The next run should not time out because the build cache has been saved."
before_install:
- set -o errexit; source .travis/test_03_before_install.sh
- set -o errexit; source ./ci/test/00_setup_env.sh
- set -o errexit; source ./ci/test/03_before_install.sh
install:
- set -o errexit; source .travis/test_04_install.sh
- set -o errexit; source ./ci/test/04_install.sh
before_script:
- set -o errexit; source .travis/test_05_before_script.sh
- set -o errexit; source ./ci/test/05_before_script.sh
script:
- export CONTINUE=1
- if [ $SECONDS -gt 1200 ]; then export CONTINUE=0; fi # Likely the depends build took very long
- if [ $CONTINUE = "1" ]; then set -o errexit; source .travis/test_06_script_a.sh; else set +o errexit; echo "$CACHE_ERR_MSG"; false; fi
- if [ $TRAVIS_REPO_SLUG = "bitcoin/bitcoin" ]; then export CONTINUE=1; fi # Whitelisted repo (90 minutes build time)
- if [ $CONTINUE = "1" ]; then set -o errexit; source ./ci/test/06_script_a.sh; else set +o errexit; echo "$CACHE_ERR_MSG"; false; fi
- if [ $SECONDS -gt 2000 ]; then export CONTINUE=0; fi # Likely the build took very long; The tests take about 1000s, so we should abort if we have less than 50*60-1000=2000s left
- if [ $CONTINUE = "1" ]; then set -o errexit; source .travis/test_06_script_b.sh; else set +o errexit; echo "$CACHE_ERR_MSG"; false; fi
- if [ $TRAVIS_REPO_SLUG = "bitcoin/bitcoin" ]; then export CONTINUE=1; fi # Whitelisted repo (90 minutes build time)
- if [ $CONTINUE = "1" ]; then set -o errexit; source ./ci/test/06_script_b.sh; else set +o errexit; echo "$CACHE_ERR_MSG"; false; fi
after_script:
- echo $TRAVIS_COMMIT_RANGE
- echo $TRAVIS_COMMIT_LOG
jobs:
include:

Expand All @@ -79,110 +69,71 @@ jobs:
language: python
python: '3.5' # Oldest supported version according to doc/dependencies.md
install:
- set -o errexit; source .travis/lint_04_install.sh
- set -o errexit; source ./ci/lint/04_install.sh
before_script:
- set -o errexit; source .travis/lint_05_before_script.sh
- set -o errexit; source ./ci/lint/05_before_script.sh
script:
- set -o errexit; source .travis/lint_06_script.sh
- set -o errexit; source ./ci/lint/06_script.sh

- stage: extended-lint
name: 'extended lint [runtime >= 60 seconds]'
env:
cache: false
language: python
python: '3.5'
install:
- set -o errexit; source ./ci/extended_lint/04_install.sh
before_script:
- set -o errexit; source ./ci/lint/05_before_script.sh
script:
- set -o errexit; source ./ci/extended_lint/06_script.sh

- stage: test
name: 'ARM [GOAL: install] [no unit or functional tests]'
env: >-
HOST=arm-linux-gnueabihf
PACKAGES="python3 g++-arm-linux-gnueabihf"
RUN_UNIT_TESTS=false
RUN_FUNCTIONAL_TESTS=false
GOAL="install"
# -Wno-psabi is to disable ABI warnings: "note: parameter passing for argument of type ... changed in GCC 7.1"
# This could be removed once the ABI change warning does not show up by default
BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports CXXFLAGS=-Wno-psabi"
FILE_ENV="./ci/test/00_setup_env_arm.sh"

- stage: test
name: 'Win64 [GOAL: deploy] [no gui or functional tests]'
env: >-
HOST=x86_64-w64-mingw32
PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64"
RUN_FUNCTIONAL_TESTS=false
GOAL="deploy"
BITCOIN_CONFIG="--enable-reduce-exports --disable-gui-tests"
FILE_ENV="./ci/test/00_setup_env_win64.sh"

- stage: test
name: '32-bit + dash [GOAL: install] [GUI: no BIP70]'
env: >-
HOST=i686-pc-linux-gnu
PACKAGES="g++-multilib python3-zmq"
GOAL="install"
BITCOIN_CONFIG="--enable-zmq --with-gui=qt5 --disable-bip70 --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++"
CONFIG_SHELL="/bin/dash"
FILE_ENV="./ci/test/00_setup_env_i686.sh"

- stage: test
name: 'x86_64 Linux [GOAL: install] [bionic] [uses qt5 dev package instead of depends Qt to speed up build and avoid timeout]'
name: 'x86_64 Linux [GOAL: install] [bionic] [uses qt5 dev package instead of depends Qt to speed up build and avoid timeout] [unsigned char]'
env: >-
HOST=x86_64-unknown-linux-gnu
PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools protobuf-compiler libdbus-1-dev libharfbuzz-dev libprotobuf-dev"
DEP_OPTS="NO_QT=1 NO_UPNP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1"
TEST_RUNNER_EXTRA="--coverage --extended --exclude feature_dbcrash" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash
GOAL="install"
BITCOIN_CONFIG="--enable-zmq --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug CXXFLAGS=\"-g0 -O2\""
FILE_ENV="./ci/test/00_setup_env_amd64_qt5.sh"

- stage: test
name: 'x86_64 Linux [GOAL: install] [trusty] [no functional tests, no depends, only system libs]'
env: >-
HOST=x86_64-unknown-linux-gnu
DOCKER_NAME_TAG=ubuntu:14.04
PACKAGES="python3-zmq qtbase5-dev qttools5-dev-tools libicu-dev libpng-dev libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libdb5.1++-dev libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler libqrencode-dev"
NO_DEPENDS=1
RUN_FUNCTIONAL_TESTS=false
GOAL="install"
BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=no"
FILE_ENV="./ci/test/00_setup_env_amd64_trusty.sh"

- stage: test
name: 'x86_64 Linux [GOAL: install] [xenial] [no depends, only system libs, sanitizers: thread (TSan), no wallet]'
env: >-
HOST=x86_64-unknown-linux-gnu
DOCKER_NAME_TAG=ubuntu:16.04
PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl-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 libprotobuf-dev protobuf-compiler libqrencode-dev"
NO_DEPENDS=1
GOAL="install"
BITCOIN_CONFIG="--enable-zmq --disable-wallet --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=thread --disable-hardening --disable-asm CC=clang CXX=clang++"
FILE_ENV="./ci/test/00_setup_env_amd64_tsan.sh"

- stage: test
name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: address/leak (ASan + LSan) + undefined (UBSan) + integer]'
env: >-
HOST=x86_64-unknown-linux-gnu
PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools 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 libprotobuf-dev protobuf-compiler libqrencode-dev"
NO_DEPENDS=1
GOAL="install"
BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=address,integer,undefined CC=clang CXX=clang++"
FILE_ENV="./ci/test/00_setup_env_amd64_asan.sh"

- stage: test
name: 'x86_64 Linux [GOAL: install] [bionic] [no depends, only system libs, sanitizers: fuzzer,address]'
env: >-
HOST=x86_64-unknown-linux-gnu
PACKAGES="clang llvm python3 libssl1.0-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev"
NO_DEPENDS=1
RUN_UNIT_TESTS=false
RUN_FUNCTIONAL_TESTS=false
RUN_FUZZ_TESTS=true
GOAL="install"
BITCOIN_CONFIG="--disable-wallet --disable-bench --with-utils=no --with-daemon=no --with-libs=no --with-gui=no --enable-fuzz --with-sanitizers=fuzzer,address CC=clang CXX=clang++"
FILE_ENV="./ci/test/00_setup_env_amd64_fuzz.sh"

- stage: test
name: 'x86_64 Linux [GOAL: install] [bionic] [no wallet]'
env: >-
HOST=x86_64-unknown-linux-gnu
PACKAGES="python3-zmq"
DEP_OPTS="NO_WALLET=1"
GOAL="install"
BITCOIN_CONFIG="--enable-glibc-back-compat --enable-reduce-exports"
FILE_ENV="./ci/test/00_setup_env_amd64_nowallet.sh"

- stage: test
name: 'macOS 10.10 [GOAL: deploy] [no functional tests]'
env: >-
HOST=x86_64-apple-darwin14
PACKAGES="cmake imagemagick libcap-dev librsvg2-bin libz-dev libbz2-dev libtiff-tools python3-dev python3-setuptools"
OSX_SDK=10.11
RUN_UNIT_TESTS=false
RUN_FUNCTIONAL_TESTS=false
GOAL="deploy"
BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror"
FILE_ENV="./ci/test/00_setup_env_mac.sh"
8 changes: 0 additions & 8 deletions .travis/README.md

This file was deleted.

34 changes: 0 additions & 34 deletions .travis/test_04_install.sh

This file was deleted.

24 changes: 9 additions & 15 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,21 +80,15 @@ The title of the pull request should be prefixed by the component or area that
the pull request affects. Valid areas as:

- *Consensus* for changes to consensus critical code
- *Docs* for changes to the documentation
- *Doc* for changes to the documentation
- *Qt* for changes to bitcoin-qt
- *Log* Changes to log messages
- *Mining* for changes to the mining code
- *Net* or *P2P* for changes to the peer-to-peer network code
- *Refactor* for structural changes that do not change behavior
- *RPC/REST/ZMQ* for changes to the RPC, REST or ZMQ APIs
- *Scripts and tools* for changes to the scripts and tools
- *Tests* for changes to the bitcoin unit tests or QA tests
- *Trivial* should **only** be used for PRs that do not change generated
executable code. Notably, refactors (change of function arguments and code
reorganization) and changes in behavior should **not** be marked as trivial.
Examples of trivial PRs are changes to:
- comments
- whitespace
- variable names
- logging and messages
- *Test* for changes to the bitcoin unit tests or QA tests
- *Utils and libraries* for changes to the utils and libraries
- *Wallet* for changes to the wallet code

Expand All @@ -103,10 +97,10 @@ Examples:
Consensus: Add new opcode for BIP-XXXX OP_CHECKAWESOMESIG
Net: Automatically create hidden service, listen on Tor
Qt: Add feed bump button
Trivial: Fix typo in init.cpp
Log: Fix typo in log message

Note that translations should not be submitted as pull requests, please see
[Translation Process](https://github.com/bitcoin/bitcoin/blob/master/doc/translation_process.md)
[Translation Process](https://github.com/bitcoin/bitcoin/blob/master/doc/translation_process.md)
for more information on helping with translations.

If a pull request is not to be considered for merging (yet), please
Expand Down Expand Up @@ -322,7 +316,7 @@ The project leader is the release manager for each Bitcoin Core release.
Copyright
---------

By contributing to this repository, you agree to license your work under the
MIT license unless specified otherwise in `contrib/debian/copyright` or at
the top of the file itself. Any work contributed where you are not the original
By contributing to this repository, you agree to license your work under the
MIT license unless specified otherwise in `contrib/debian/copyright` or at
the top of the file itself. Any work contributed where you are not the original
author must contain its license header with the original author(s) and source.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -310,4 +310,5 @@ clean-docs:
clean-local: clean-docs
rm -rf coverage_percent.txt test_bitcoin.coverage/ total.coverage/ test/tmp/ cache/ $(OSX_APP)
rm -rf test/functional/__pycache__ test/functional/test_framework/__pycache__ test/cache share/rpcauth/__pycache__
rm -rf osx_volname dist/ dpi36.background.tiff dpi72.background.tiff

Loading