Skip to content

Conversation

@amitiuttarwar
Copy link
Contributor

@amitiuttarwar amitiuttarwar commented Jan 5, 2019

Cherry picks un-merged commits from #14952, which "fixes review comments from @ryanofsky here: #14886 (review)"

Fixes review comments from PR 14886.
Adds a new wallet_util.py module and moves generic helper functions
there:

- get_key
- get_multisig
- test_address
@DrahtBot
Copy link
Contributor

DrahtBot commented Jan 5, 2019

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #15032 (Nit fixes for PR 14565 by MeshCollider)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@Sjors
Copy link
Member

Sjors commented Jan 5, 2019

Concept ACK, will review later.

Copy link
Contributor

@promag promag left a comment

Choose a reason for hiding this comment

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

@amitiuttarwar side note, looks like you haven't added your email to github?

@@ -0,0 +1,99 @@
#!/usr/bin/env python3
# Copyright (c) 2018 The Bitcoin Core developers
Copy link
Contributor

Choose a reason for hiding this comment

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

2019

Copy link
Member

Choose a reason for hiding this comment

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

This was authored in 2018 (according to the git author date), so I guess it is fine.

@maflcko
Copy link
Member

maflcko commented Jan 7, 2019

utACK 2d5f1ea

@sipa
Copy link
Member

sipa commented Jan 7, 2019

Concept ACK

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.

Looks great. Thanks for picking this up @amitiuttarwar!

There were a couple of review comments from @practicalswift in #14952 which weren't addressed in the base PR #14565, so you could fix them in this PR if you wanted:

I've also added one small nit of my own.

tested ACK 2d5f1ea

"timestamp": "now",
"keys": [wrong_privkey]},
True,
success=True,
Copy link
Contributor

Choose a reason for hiding this comment

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

micronit: this line (and the following) is overindented. Remove one leading space (so success is aligned with the opening parens of the function call, not the the opening braces of the object above)

@Sjors
Copy link
Member

Sjors commented Jan 9, 2019

tACK 2d5f1ea

Fixing nits is nice, but adding tests to #14491 will be easier once this is merged (cc @meshcollider).

@maflcko
Copy link
Member

maflcko commented Jan 9, 2019

I am merging this, because it has some review and the nits are only about whitespace in touched lines or additional cleanup in unrelated lines. Please fix them up separately if anyone feels like it.

@maflcko maflcko merged commit 2d5f1ea into bitcoin:master Jan 9, 2019
maflcko pushed a commit that referenced this pull request Jan 9, 2019
2d5f1ea [tests] move wallet util functions to wallet_util.py (John Newbery)
6be64ef [tests] tidy up wallet_importmulti.py (John Newbery)

Pull request description:

  Cherry picks un-merged commits from #14952, which "fixes review comments from @ryanofsky here: #14886 (review)"

Tree-SHA512: 5f389196b0140d013a533d500f1812786a3a5cfb65980e13eaeacc459fddb55f43d05da3ab5e7cc8c997f26c0b667eed081ab6de2d125e631c70a7dd4c06e350
@amitiuttarwar amitiuttarwar deleted the 14952_rebase branch January 14, 2019 00:33
deadalnix pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request May 21, 2020
Summary:
Fixes review comments from PR 14886.

This is a partial backport of Core [[bitcoin/bitcoin#15108 | PR15108]] : bitcoin/bitcoin@6be64ef

Test Plan:
  ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D6186
deadalnix pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request May 21, 2020
Summary:
Adds a new wallet_util.py module and moves generic helper functions
there:

- get_key
- get_multisig
- test_address

This is a partial backport of Core [[bitcoin/bitcoin#15108 | PR15108]] : bitcoin/bitcoin@2d5f1ea

Depends on D6186 and D6185

Test Plan:
  ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D6187
@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.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants