forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Backports 0.15 pr20 #3025
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
Merged
UdjinM6
merged 34 commits into
dashpay:develop
from
PastaPastaPasta:backports-0.15-pr20
Jul 17, 2019
Merged
Backports 0.15 pr20 #3025
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
d46aff5
Merge #10536: Remove unreachable or otherwise redundant code
sipa 43c952d
Merge #10632: qa: Add stopatheight test
6b6ea24
Merge #10642: Remove obsolete _MSC_VER check
laanwj 41302bb
Merge #10628: [depends] expat 2.2.1
laanwj a3abc46
Merge #10530: Fix invalid instantiation and possibly unsafe accesses …
laanwj 1c4981d
Merge #9343: Don't create change at dust limit
laanwj 31f4a60
Merge #9517: [refactor] Switched httpserver.cpp to use RAII wrapped l…
laanwj 2116e93
Merge #10276: contrib/verifybinaries: allow filtering by platform
laanwj 305fd06
Merge #10248: Rewrite addrdb with less duplication using CHashVerifier
laanwj 5f2c9d7
Merge #10633: doc: Fix various typos
laanwj 3f4d08d
Merge #10565: [coverage] Remove subtrees and benchmarks from coverage…
laanwj f4c0858
Merge #10577: Add an explanation of quickly hashing onto a non-power …
laanwj 677c785
Merge #10191: [trivial] Rename unused RPC arguments 'dummy'
laanwj 41b3869
Merge #10400: [RPC] Add an uptime command that displays the amount of…
laanwj f68c7bc
Merge #10626: doc: Remove outdated minrelaytxfee comment
laanwj 64ef42c
Merge #10446: net: avoid extra dns query per seed
laanwj 5eca744
Merge #10412: Improve wallet rescan API
laanwj 8677d75
Merge #9176: Globals: Pass Consensus::Params through CBlockTreeDB::Lo…
laanwj 785fa07
Merge #10295: [qt] Move some WalletModel functions into CWallet
laanwj 8c998f2
fix tests 50 -> 500
PastaPastaPasta f2a4776
Merge #9544: [trivial] Add end of namespace comments. Improve consist…
laanwj 4b2f270
Merge #10496: Add Binds, WhiteBinds, Whitelistedrange to CConnman::Op…
laanwj 2708a7b
Merge #10612: The young person's guide to the test_framework
laanwj e19fc0b
Merge #10118: Util: Remove redundant calls to argsGlobal.IsArgSet()
laanwj 4c61aed
Merge #10659: [qa] blockchain: Pass on closed connection during gener…
laanwj 5ac5e66
remove unneeded space wallet.cpp
PastaPastaPasta f4736b3
update seeds emplace_back based on code review
PastaPastaPasta 7e866ed
don't use replace-by-fee.py as example
PastaPastaPasta 2f56063
dashify test/README.md
PastaPastaPasta bcef238
dashify test/functional/README.md
PastaPastaPasta 2f8512b
Merge #11126: Acquire cs_main lock before cs_wallet during wallet ini…
laanwj b71a187
Backport yet another part of 11824
UdjinM6 4e46f25
add end commend for all llmq namespace
PastaPastaPasta 8b224e0
revert the accidental revertion of c1bdf64
PastaPastaPasta File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| #!/usr/bin/env python3 | ||
|
|
||
| import argparse | ||
|
|
||
| parser = argparse.ArgumentParser(description='Remove the coverage data from a tracefile for all files matching the pattern.') | ||
| parser.add_argument('--pattern', '-p', action='append', help='the pattern of files to remove', required=True) | ||
| parser.add_argument('tracefile', help='the tracefile to remove the coverage data from') | ||
| parser.add_argument('outfile', help='filename for the output to be written to') | ||
|
|
||
| args = parser.parse_args() | ||
| tracefile = args.tracefile | ||
| pattern = args.pattern | ||
| outfile = args.outfile | ||
|
|
||
| in_remove = False | ||
| with open(tracefile, 'r') as f: | ||
| with open(outfile, 'w') as wf: | ||
| for line in f: | ||
| for p in pattern: | ||
| if line.startswith("SF:") and p in line: | ||
| in_remove = True | ||
| if not in_remove: | ||
| wf.write(line) | ||
| if line == 'end_of_record\n': | ||
| in_remove = False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should dashify this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should, but I think that's out of scope of this PR