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

tests: Test that a fully signed tx given to signrawtx is unchanged #20562

Merged
merged 1 commit into from
Dec 4, 2020

Conversation

achow101
Copy link
Member

@achow101 achow101 commented Dec 3, 2020

Tests that a fully signed transaction given to signrawtransactionwithwallet is both unchanged and marked as complete. This tests for a regression in 0.20 where the transaction would not be marked as complete.

Tests that a fully signed transaction given to
signrawtransactionwithwallet is both unchanged and marked as complete.
This tests for a regression in 0.20 where the transaction would not be
marked as complete.
@maflcko
Copy link
Member

maflcko commented Dec 4, 2020

ACK 773c42b 🕶

Show signature and timestamp

Signature:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

ACK 773c42b265 🕶
-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p
pUha1gv/XgHMIh/EqliB1YQpgIwwwWbyJpVP1uoxoojFENGPB+Hu80/4G9+Gpw/T
OdkNlz8PuT/gly469soblqNeSqnp3uxMQmdBgJK2nfVkOadRxndR8TuAe6toh4br
s/QXwwxBH64i+PcFhnf6XAS/70Le6YFMnV7SJomoYEwM0V/hg+pLlxyLO9Z+59wG
BIyYWlzYqWmOmKQB0mhJdqPJShhLAP2aE2Yq8WkXhhwEGsQ3A/4BmWH6OM/MEhar
zs9itZnMZmJvdqr2FgInmx3dSCDhUzzGIX6uiV5woZUugcA3VoBKrH/IaRl0QUCS
Ws+8FB0AYhy58ehEZr5mLdaBxt+jkwN57OBH8seVnUQkB6cprezYmBfVhyATS6v6
NLDTN+ImY24GN4FAdJeDyUShMHyDBhEd/vS8JLkcVWUBrf6s7rTJu+fhWHpG4V8N
vZkpCJTBCWlUWkvHVeEmD2syl6R2qTkvDT/4XE1nSL3RMFlq+SgQjrO3H1QyEdAD
DhenVY/F
=qjLG
-----END PGP SIGNATURE-----

Timestamp of file with hash fff4f23570aa3280ce63c038a5144a43576a405571aac17c5c1d193fa73087bc -

@maflcko maflcko merged commit 751ffaa into bitcoin:master Dec 4, 2020
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Dec 4, 2020
…rawtx is unchanged

773c42b tests: Test that a fully signed tx given to signrawtx is unchanged (Andrew Chow)

Pull request description:

  Tests that a fully signed transaction given to `signrawtransactionwithwallet` is both unchanged and marked as complete. This tests for a regression in 0.20 where the transaction would not be marked as complete.

ACKs for top commit:
  MarcoFalke:
    ACK 773c42b 🕶

Tree-SHA512: b32afd5f2667c817ee59c37af78cb37352e7c22d0271833d446fd61f11b354974694128a3b408f214db459caef3fd67ecdbf1664280ac2de602215f05aa4a6de
achow101 added a commit to achow101/bitcoin that referenced this pull request Dec 5, 2020
Tests that a fully signed transaction given to
signrawtransactionwithwallet is both unchanged and marked as complete.
This tests for a regression in 0.20 where the transaction would not be
marked as complete.

Github-Pull: bitcoin#20562
Rebased-From: 773c42b
maflcko pushed a commit to maflcko/bitcoin-core that referenced this pull request Mar 6, 2021
Tests that a fully signed transaction given to
signrawtransactionwithwallet is both unchanged and marked as complete.
This tests for a regression in 0.20 where the transaction would not be
marked as complete.

Github-Pull: bitcoin#20562
Rebased-From: 773c42b
@maflcko
Copy link
Member

maflcko commented Mar 6, 2021

Backported in #20901

Fabcien pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Jan 26, 2022
Summary:
> Tests that a fully signed transaction given to
> `signrawtransactionwithwallet` is both unchanged and marked as complete.
> This tests for a regression in Bitcoin Core 0.20 where the transaction would not be
> marked as complete.

We do not have the regression in Bitcoin ABC and it seems unlikely that it will happen, as it was bissected to [[bitcoin/bitcoin#16528 | core#16528]] which we already finished backporting, and had to be fixed only on Core 0.20 (not master). But just in case, it is better to have the test to avoid any bad surprise.

This is a backport of [[bitcoin/bitcoin#20562 | core#20562]]

Test Plan: `ninja check-functional`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10894
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants