-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Backport missing PRs from Bitcoin 0.14 - Part 7 #1856
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
Backport missing PRs from Bitcoin 0.14 - Part 7 #1856
Conversation
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.
nACK for 8f8513cb3c55b3abe200b9a777389b38b682495a
see the rest below
doc/build-windows.md
Outdated
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.
should be dashified
src/dashd.cpp
Outdated
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.
s/exit(1)/exit(EXIT_FAILURE)/ for all 3 cases
src/qt/transactiondesc.cpp
Outdated
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.
I actually like the way it is ordered now i.e. txid and output index close to each other because together they form a corresponding input. Any reason to re-align with Bitcoin Core besides shrinking the diff?
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.
It was really just about fixing a merge conflict I had in a later backport. Changed the order now to what it was before
|
Maybe I'm missing smth but I don't see why using |
|
#1857 is an alternative to the problematic commit. It fixes the underlying problem we had with ConnectNode by simply stopping using it. When this is merged, I'll remove the commit from this PR |
|
Merged #1857 . Pls squash (drop 6c4d3f8 , 8f8513c , aad56b3 ) and push -f to resolve conflicts and to have a bit cleaner history here. |
…top of bitcoin#9196) 1126c85 [qa] Change sync_blocks to pick smarter maxheight (Russell Yanofsky)
… text e3c4f7e Correct help output for waitfor RPC commands (fanquake)
f26da35 Fix copypasted comment. (Pavel Janík)
5262a15 tx_valid: re-order inputs to how they are encoded (Daniel Cousens)
…tx). 2f2625a Removed using namespace std from bitcoin-cli/-tx and added std:: in appropriate places. (Karl-Johan Alm)
c7be56d net: push only raw data into CConnman (Cory Fields) 2ec935d net: add CVectorWriter and CNetMsgMaker (Cory Fields) b7695c2 net: No need to check individually for disconnection anymore (Cory Fields) fedea8a net: don't send any messages before handshake or after requested disconnect (Cory Fields) d74e352 net: Set feelers to disconnect at the end of the version message (Cory Fields)
Needed by CMasternodePing
…ux subsystem dd34570 doc: Improve windows build instructions using Linux subsystem (Wladimir J. van der Laan)
15fa95d Fix some typos (fsb4000)
498a1d7 Include select.h when WIN32 is not defined (Ivo van der Sangen)
3532818 bench: Add support for measuring CPU cycles (Wladimir J. van der Laan)
…tion declarations 446a8f9 Trivial refactor: Remove extern keyword from function declarations, as they are extern by default. (Karl-Johan Alm)
9e1f468 Fix calculation of number of bound sockets to use (Matt Corallo)
Lost while backporting bitcoin#9183
10ae7a7 Revert "Use async name resolving to improve net thread responsiveness" (Matt Corallo)
e878689 Make GUI incapable of setting tx confirm target of 1 (Alex Morcos) d824ad0 Disable fee estimates for a confirm target of 1 block (Alex Morcos)
fe37fbe bitcoin-cli: Make error message less confusing (Wladimir J. van der Laan)
b7aa290 unification of Bloom filter representation (S. Matthew English)
08ed8c1 Developer docs about existing subtrees. (Gregory Maxwell)
28f8ae8 Fix missed change to WalletTx structure (Alex Morcos)
b919179 remove no longer needed check for premature v2 txs (Alex Morcos)
819ca3f Remove mapOrphanTransactionsByPrev from DoS_tests (Pieter Wuille)
8501bed Squashed 'src/crypto/ctaes/' changes from cd3c3ac..003a4ac (Pieter Wuille)
9359f8a Wallet needs to stay unlocked for whole test (Alex Morcos)
b3a7410 Return txid even if ATMP fails for new transaction (Pieter Wuille)
8c1dbc5 Refactor: Removed begin/end_ptr functions. (Karl-Johan Alm)
Align code with Bitcoin
…in assert() da9cdd2 Do not run functions with necessary side-effects in assert() (Gregory Maxwell)
ed6b377 [Qt] Console: add security warning (Jonas Schnelli)
This was related to the times we directly called ConnectNode from MN code
…tion This was missed in dashpay#1857. ConnectNode is doing the initial AddRef for outgoing connections. AcceptConnection also has to do an initial AddRef call for incoming connections.
aad56b3 to
87e9b59
Compare
|
Pushed a rebased version. It also includes 3 new commits: |
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.
👍
slightly tested ACK
Introduced in dashpay@c701839#diff-2e2ff25b7bc057a741bf93c35ae3b624R42 (committed on 10 Jul 2015). Survived all the refactoring for almost 3 years and was revealed by dashpay@525c049#diff-49ff8fea774f647034a130c40d4f3c65R519 (as a part of dashpay#1856) by causing silent crashes on multiple nodes (testnet). v0.12.2.x and earlier branches/versions aren't affected, they simply print meaningless log entry.
Introduced in c701839#diff-2e2ff25b7bc057a741bf93c35ae3b624R42 (committed on 10 Jul 2015). Survived all the refactoring for almost 3 years and was revealed by 525c049#diff-49ff8fea774f647034a130c40d4f3c65R519 (as a part of #1856) by causing silent crashes on multiple nodes (testnet). v0.12.2.x and earlier branches/versions aren't affected, they simply print meaningless log entry.
Introduced in dashpay@c701839#diff-2e2ff25b7bc057a741bf93c35ae3b624R42 (committed on 10 Jul 2015). Survived all the refactoring for almost 3 years and was revealed by dashpay@525c049#diff-49ff8fea774f647034a130c40d4f3c65R519 (as a part of dashpay#1856) by causing silent crashes on multiple nodes (testnet). v0.12.2.x and earlier branches/versions aren't affected, they simply print meaningless log entry.
facbfa5 [qa] Get rid of duplicate code (MarcoFalke) master (dashpay#1856) v0.13.1.0
Introduced in dashpay@c701839#diff-2e2ff25b7bc057a741bf93c35ae3b624R42 (committed on 10 Jul 2015). Survived all the refactoring for almost 3 years and was revealed by dashpay@525c049#diff-49ff8fea774f647034a130c40d4f3c65R519 (as a part of dashpay#1856) by causing silent crashes on multiple nodes (testnet). v0.12.2.x and earlier branches/versions aren't affected, they simply print meaningless log entry.
Continuation of #1770