-
Notifications
You must be signed in to change notification settings - Fork 992
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
Add ability to compare selection strategies #2516
Conversation
Before tx creation user can estimate fee and locked amount with different selection strategies by providing `-e` flag for `wallet send` command.
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.
Would you consider implementing estimate
as a separate command? From UX point of view if a user wants to estimate fee she doesn't need to provide any additional send
parameters like destination. It would also make the logic simpler.
command::send( | ||
inst_wallet(), | ||
a, | ||
wallet_config.dark_background_color_scheme.unwrap_or(true), |
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.
Is it unrelated change?
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.
This is needed, because send
command would able to emit a table with information, which uses colors.
I've got my inspiration from |
Why not use |
@Kargakis short version |
Looks good for now. Might want to explore refactoring some of the underlying coin selection calls to eliminate a bit of redundancy, but can leave that until after the wallet is split off. |
* - Add backwards compatability - Add hex serialization * rustfmt * rustfmt * Windows Compatibility Fixes #1 (#2535) * initial changes for windows build and unit/integration tests * rustfmt * wallet+store tests * rustfmt * fix linux daemonize * better encapsulate file rename * rustfmt * remove daemonize commands * rustfmt * remove server start/stop commands * add ability to drop pmmr backend files explicitly for txhashset unzip * rustfmt * fix pmmr tests * rustfmt * Windows TUI Fix (#2555) * switch pancurses backend to win32 * revert changes to restore test * compatibility fix + debug messages * rustfmt * Add content disposition for OK responses (#2545) * Testing http send and fixing accordingly * add repost method into wallet owner api (#2553) * add repost method into wallet owner api * rustfmt * Add ability to compare selection strategies (#2516) Before tx creation user can estimate fee and locked amount with different selection strategies by providing `-e` flag for `wallet send` command.
Before tx creation user can estimate fee and locked amount
with different selection strategies by providing
-e
flag forwallet send
command.