Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Jan 24, 2019

Instead of asking the coin database and block storage about a transaction, pull it directly from the wallet in wallet related tests.

This refactoring only makes sense in light of #15159.

This product may contain minor stylistic cleanups

@jnewbery
Copy link
Contributor

I think it's good to improve code style in files that you touch, but could you split this into commits:

  • one that improves code style
  • one that changes behaviour

doing both in a single commit makes is discouraged: do not mix any formatting fixes or code moves with actual code changes.

@maflcko maflcko force-pushed the Mf1901-qaWalletRaw branch from fac7311 to fa2320a Compare January 25, 2019 16:30
Copy link
Contributor

@jnewbery jnewbery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested ACK fa2320a. One nit.

@maflcko maflcko force-pushed the Mf1901-qaWalletRaw branch from fa2320a to fa5278a Compare January 27, 2019 03:44
@jnewbery
Copy link
Contributor

tACK fa5278a. Thanks!

maflcko pushed a commit to maflcko/bitcoin-core that referenced this pull request Feb 1, 2019
fa5278a qa: Use wallet to retrieve raw transactions (MarcoFalke)
fa21983 qa: Style-only fixes in touched files (MarcoFalke)

Pull request description:

  Instead of asking the coin database and block storage about a transaction, pull it directly from the wallet in wallet related tests.

  This refactoring only makes sense in light of bitcoin#15159.

  <sub>This product may contain minor stylistic cleanups

Tree-SHA512: ec34c7150d873da9f19fead3f7e3f758baba5ef10061942384c470a47a6f320690109be9c5160f0c8bc228272a729653d44c78471455337318f657d6c164ba23
@maflcko maflcko merged commit fa5278a into bitcoin:master Feb 1, 2019
@maflcko maflcko deleted the Mf1901-qaWalletRaw branch February 1, 2019 14:39
deadalnix pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request May 16, 2020
Summary:
Merge #15247: qa: Use wallet to retrieve raw transactions

fa5278a419 qa: Use wallet to retrieve raw transactions (MarcoFalke)
fa2198328e qa: Style-only fixes in touched files (MarcoFalke)

Pull request description:

Instead of asking the coin database and block storage about a transaction, pull it directly from th$
This refactoring only makes sense in light of #15159.
<sub>This product may contain minor stylistic cleanups

---

Depends on D6062

This is a backport of Core [[bitcoin/bitcoin#15247 | PR15247]]

Test Plan:
  ./test_runner.py wallet_abandonconflict.py wallet_basic.py

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D6069
pravblockc pushed a commit to pravblockc/dash that referenced this pull request Aug 13, 2021
fa5278a qa: Use wallet to retrieve raw transactions (MarcoFalke)
fa21983 qa: Style-only fixes in touched files (MarcoFalke)

Pull request description:

  Instead of asking the coin database and block storage about a transaction, pull it directly from the wallet in wallet related tests.

  This refactoring only makes sense in light of bitcoin#15159.

  <sub>This product may contain minor stylistic cleanups

Tree-SHA512: ec34c7150d873da9f19fead3f7e3f758baba5ef10061942384c470a47a6f320690109be9c5160f0c8bc228272a729653d44c78471455337318f657d6c164ba23
pravblockc pushed a commit to pravblockc/dash that referenced this pull request Aug 14, 2021
fa5278a qa: Use wallet to retrieve raw transactions (MarcoFalke)
fa21983 qa: Style-only fixes in touched files (MarcoFalke)

Pull request description:

  Instead of asking the coin database and block storage about a transaction, pull it directly from the wallet in wallet related tests.

  This refactoring only makes sense in light of bitcoin#15159.

  <sub>This product may contain minor stylistic cleanups

Tree-SHA512: ec34c7150d873da9f19fead3f7e3f758baba5ef10061942384c470a47a6f320690109be9c5160f0c8bc228272a729653d44c78471455337318f657d6c164ba23
pravblockc pushed a commit to pravblockc/dash that referenced this pull request Aug 17, 2021
fa5278a qa: Use wallet to retrieve raw transactions (MarcoFalke)
fa21983 qa: Style-only fixes in touched files (MarcoFalke)

Pull request description:

  Instead of asking the coin database and block storage about a transaction, pull it directly from the wallet in wallet related tests.

  This refactoring only makes sense in light of bitcoin#15159.

  <sub>This product may contain minor stylistic cleanups

Tree-SHA512: ec34c7150d873da9f19fead3f7e3f758baba5ef10061942384c470a47a6f320690109be9c5160f0c8bc228272a729653d44c78471455337318f657d6c164ba23
pravblockc pushed a commit to pravblockc/dash that referenced this pull request Aug 17, 2021
fa5278a qa: Use wallet to retrieve raw transactions (MarcoFalke)
fa21983 qa: Style-only fixes in touched files (MarcoFalke)

Pull request description:

  Instead of asking the coin database and block storage about a transaction, pull it directly from the wallet in wallet related tests.

  This refactoring only makes sense in light of bitcoin#15159.

  <sub>This product may contain minor stylistic cleanups

Tree-SHA512: ec34c7150d873da9f19fead3f7e3f758baba5ef10061942384c470a47a6f320690109be9c5160f0c8bc228272a729653d44c78471455337318f657d6c164ba23
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants