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

[wallet] AvailableCoins code readability improved #1760

Merged

Conversation

furszy
Copy link

@furszy furszy commented Jul 23, 2020

Built on top of #1759 .

Improved code readability of the CWallet::AvailableCoins method decoupling nested statements and adding comments in between the checks.
Plus, removed an unused "add zero value utxo" flag.

An ugly area of the code could get pretty readable with some love.
#1757 is going further on this area with some more improvements.

@furszy furszy self-assigned this Jul 23, 2020
@furszy furszy force-pushed the 2020_wallet_AvailableCoins_readability branch from 9ed4f9f to ac19487 Compare July 23, 2020 13:36
@furszy furszy changed the title wallet: AvailableCoins code readability improved [wallet] AvailableCoins code readability improved Jul 26, 2020
@Fuzzbawls Fuzzbawls added this to the 5.0.0 milestone Jul 26, 2020
@furszy furszy force-pushed the 2020_wallet_AvailableCoins_readability branch from ac19487 to a13c245 Compare August 8, 2020 18:21
@furszy
Copy link
Author

furszy commented Aug 8, 2020

rebased after #1759 merge. Ready for review

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 a13c245

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 a13c245

@furszy furszy merged commit 3b030f9 into PIVX-Project:master Aug 18, 2020
@random-zebra random-zebra modified the milestones: 5.0.0, 4.3.0 Sep 10, 2020
@furszy furszy deleted the 2020_wallet_AvailableCoins_readability branch November 29, 2022 14:28
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.

None yet

3 participants