Skip to content

Conversation

@furszy
Copy link

@furszy furszy commented Jun 12, 2020

Finished the complete removal of the base58 address class from the sources, migrated to the destination wrapper.

Plus includes bitcoin#11117 - last commit - and bitcoin#11259 as an extra.

@furszy furszy self-assigned this Jun 12, 2020
@furszy furszy changed the title [WIP] Prepare for non-Base58 addresses [Step 3] Prepare for non-Base58 addresses [Step 3] Jun 27, 2020
@random-zebra
Copy link

Needs rebase.

@furszy furszy force-pushed the 2020_more_base58_wrapper_work2 branch from fcf29b2 to 2126cf0 Compare June 28, 2020 16:42
@furszy
Copy link
Author

furszy commented Jun 28, 2020

rebased.

@random-zebra
Copy link

There is still a conflict in wallet.cpp

@furszy furszy force-pushed the 2020_more_base58_wrapper_work2 branch from 2126cf0 to 97bf8d0 Compare June 29, 2020 13:54
@furszy
Copy link
Author

furszy commented Jun 29, 2020

because #1663 was merged. Rebased again.

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

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

Code review ACK.
Just a minor concern about the implementation of IsValidDestination(const std::string& str) and a couple nits for the comments.

Anyway, since the version of IsValidDestination with one argument is used only twice (in paymentserver.cpp and settingsmultisendwidget.cpp, where only regular addresses should be supported), we might just get rid of it, and use directly the more readable IsValidDestinationString(str, false).

Coming from btc@1e46ebdf8618e585568ffc1b093c79cc9be07b57
@furszy furszy force-pushed the 2020_more_base58_wrapper_work2 branch from 97bf8d0 to fa7e63d Compare July 2, 2020 05:02
@furszy
Copy link
Author

furszy commented Jul 2, 2020

Updated per @random-zebra's feedback

@furszy furszy requested a review from Fuzzbawls July 3, 2020 05:47
Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

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

about fa7e63d660b55b5a42e00d97e6ae6dec437d4f58: why force it to a particular network (MAIN), and not use the current params with Params()?

@furszy
Copy link
Author

furszy commented Jul 3, 2020

good catch. no real explanation for that, just me being tired. None of those flows are used anyway.

@furszy furszy force-pushed the 2020_more_base58_wrapper_work2 branch from fa7e63d to e07286d Compare July 3, 2020 21:46
@furszy
Copy link
Author

furszy commented Jul 3, 2020

Updated with last feedback solved.

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

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

utACK e07286d

Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

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

utACK e07286d

@random-zebra
Copy link

merging...

@random-zebra random-zebra merged commit c157deb into PIVX-Project:master Jul 5, 2020
@furszy furszy deleted the 2020_more_base58_wrapper_work2 branch November 29, 2022 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants