-
Notifications
You must be signed in to change notification settings - Fork 714
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
[RPC] refactor autocombine into specific commands #2248
[RPC] refactor autocombine into specific commands #2248
Conversation
27fcdea
to
f02f240
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Concept ACK. Few points.
f02f240
to
60058d6
Compare
Rebased and updated to address feedback. The setter now doesn't allow a threshold value below I've also added a simple functional test for the two new commands |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK with a nit.
60058d6
to
84f9cab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 84f9cab
Introduces `setautocombinethreshold` and `getautocombinethreshold`, similar to `setstakesplitthreshold`, thus deprecating the now-obsolete `autocombine` command (to be removed in a future version).
84f9cab
to
2444de9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re-utACK 2444de9 after rebase
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 2444de9 and merging..
The current
autocombine
command is limited to whole numbers only, and infringes on our RPC standards by not providing deterministic output even when successfully changing the setting.This PR addresses the deterministic issue as well as makes the setting information available to
getwalletinfo