Skip to content

wallet: document coin selection code - #21759

Merged
fanquake merged 3 commits into
bitcoin:masterfrom
glozow:2021-04-wallet-docs
Apr 29, 2021
Merged

fanquake merged 3 commits into
bitcoin:masterfrom
glozow:2021-04-wallet-docs

Conversation

@glozow

@glozow glozow commented Apr 22, 2021

Copy link
Copy Markdown
Contributor

I think it would help code review to have more documentation + doxygen comments

@glozow

glozow commented Apr 22, 2021

Copy link
Copy Markdown
Contributor Author

Thanks @xekyo for explaining all the stuffs to me

@DrahtBot

DrahtBot commented Apr 22, 2021 •

Copy link
Copy Markdown
Contributor

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

Conflicts

Reviewers, this pull request conflicts with the following ones:

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.

@kiminuo

kiminuo commented Apr 23, 2021

Copy link
Copy Markdown
Contributor

Concept ACK, great job.

@darosior darosior left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Concept ACK

Just need to re-read the (awesome) refactoring in the last commit when it's earlier in the day :)

@murchandamus murchandamus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Code review ACK 25d8a0be62f3ee821178da51633bc38b97ce84b4
Got a few optional suggestions, and a couple places that should perhaps be slightly amended.

Comment thread src/wallet/coinselection.h Resolved
Comment thread src/wallet/coinselection.h Resolved
Comment thread src/wallet/wallet.h Resolved
Comment thread src/wallet/wallet.h Resolved
Comment thread src/wallet/wallet.h Resolved
Comment thread src/wallet/wallet.h Resolved
Comment thread src/wallet/wallet.h Resolved
Comment thread src/wallet/wallet.cpp Resolved
Comment thread src/wallet/wallet.cpp Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewers note that each SelectCoinsMinConf call here shares the same parameters except for differing CoinEligibilityFilters.

@glozow
glozow force-pushed the 2021-04-wallet-docs branch from 25d8a0b to 6ba8921 Compare April 26, 2021 18:01
@glozow

glozow commented Apr 26, 2021

Copy link
Copy Markdown
Contributor Author

Thanks @xekyo, took all suggestions

@murchandamus

Copy link
Copy Markdown
Member

ReACK 6ba8921

LGTM, @achow101, did we get this right?

@achow101

Copy link
Copy Markdown
Member

ACK 6ba8921

@maflcko maflcko added the Docs label Apr 27, 2021

@RiccardoMasutti RiccardoMasutti left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ACK

@fanquake
fanquake merged commit d9ae6ec into bitcoin:master Apr 29, 2021
@glozow
glozow deleted the 2021-04-wallet-docs branch April 29, 2021 14:22
gwillen pushed a commit to ElementsProject/elements that referenced this pull request Jun 1, 2022
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
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.

9 participants