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

Prepare for non-Base58 addresses #305

Merged
merged 6 commits into from Jan 28, 2018
Merged

Conversation

dagurval
Copy link
Member

Includes changes from:
bitcoin/bitcoin#11247 - Partial cherry-pick to get IsSpendable
bitcoin/bitcoin#11117 - Prepare for non-Base58 addresses
bitcoin/bitcoin#11259 - Remove duplicate destination decoding

This is a prerequisite to supporting cashaddr.

dooglus and others added 6 commits January 19, 2018 21:35
(cherry picked from commit c41224dfd51c896341bbf2fa23e160bf5ffe27c3)

Cherry-picked again to XT: Note, this is a partial cherry-pick, since we
don't support custom change addresses.
This patch removes the need for the intermediary Base58 type
CBitcoinAddress, by providing {Encode,Decode,IsValid}Destination
function that directly operate on the conversion between strings
and CTxDestination.
@dgenr8
Copy link
Member

dgenr8 commented Jan 28, 2018

The pick of bitcoin/bitcoin#11247 is actually complete, not partial.

@dagurval
Copy link
Member Author

It doesn't have the one-liner change in if (!model->IsSpendable) clause because we don't support custom change addresses in Qt. But that's minuscule, so on second thought, yes I'd call it a complete pick.

@dgenr8
Copy link
Member

dgenr8 commented Jan 28, 2018

Ok, I missed that.

@dgenr8 dgenr8 merged commit 61efe2a into bitcoinxt:master Jan 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants