Skip to content

Conversation

@UdjinM6
Copy link

@UdjinM6 UdjinM6 commented Feb 28, 2017

This fixes issues with sending mixed coins when no smallest denoms have enough rounds (still trying to fit it in the smallest denom first). Fees are going to be quite high of course (but no higher than a standard/user-defined one) but at least it will be up to user to make the choice either to send it or not. Imo, it's much better than current confusing "not enough funds" warning in such cases.

Still a good idea to try to fit it in the smallest denom first though.
@SCDeveloper
Copy link

If people want to mix funds, they will pay. This is much better than having "not enough funds" warnings. utACK.

@UdjinM6 UdjinM6 added this to the 12.1 milestone Mar 9, 2017
@tgflynn
Copy link

tgflynn commented Mar 13, 2017

maxTxFee appears to be a parameter that can only be set at startup. Shouldn't this use the max fee specified by the user for the particular transaction ?

@UdjinM6
Copy link
Author

UdjinM6 commented Mar 13, 2017

There is no way to set max fee via rpc and in GUI user should get a dialog asking him to review his tx before submitting (including fee), so I guess this should be enough.

@tgflynn
Copy link

tgflynn commented Mar 13, 2017

As a user I think I would expect the fee I entered when requesting the transaction in the GUI to be used rather than the max fee.

@UdjinM6
Copy link
Author

UdjinM6 commented Mar 13, 2017

I might be missing smth but user does not enter max fee directly. "Choose..." sub-dialog has an option for paying "only required fee" (which is hardcoded) but even this doesn't really apply to PS because of the rounding (and user is informed about this fact in tx confirmation dialog).

@tgflynn
Copy link

tgflynn commented Mar 13, 2017

If you click the Choose button on the Send page you can enter an exact fee or select one using a slider.

I always use this with bitcoin (because the default fee is too low) and if selected this way I wouldn't be expecting the confirmation window to show a higher fee.

@UdjinM6
Copy link
Author

UdjinM6 commented Mar 13, 2017

Fees in "Choose..." are either rates actually i.e. not exact fees OR "at least" i.e. min, not max. Actual fees are calculated later and shown in tx confirmation dialog.

@tgflynn
Copy link

tgflynn commented Mar 14, 2017

The implementation looks fine but I'm not going to ack this because I'm not convinced silently allowing the max fee when the user may have requested other settings is a good idea.

Would be good to get other peoples input on this - @schinzelh ...

@UdjinM6 UdjinM6 modified the milestones: 12.2, 12.1 Mar 15, 2017
@UdjinM6
Copy link
Author

UdjinM6 commented Mar 15, 2017

Ok, after thinking about it more and considering current price levels (which would mean ~$8-$9 fee with this change), I'm postponing this till 12.2 and until we lower denoms again. We probably need to address the issue in some better way.

@UdjinM6 UdjinM6 modified the milestone: 12.2 Mar 15, 2017
@UdjinM6 UdjinM6 changed the base branch from v0.12.1.x to v0.12.2.x March 15, 2017 08:55
@UdjinM6 UdjinM6 modified the milestones: 12.2, 12.3 Mar 16, 2018
@UdjinM6 UdjinM6 changed the base branch from v0.12.2.x to develop March 16, 2018 10:14
@UdjinM6 UdjinM6 removed this from the 12.3 milestone Mar 16, 2018
@UdjinM6
Copy link
Author

UdjinM6 commented Oct 22, 2018

closing in fav of #2361

@UdjinM6 UdjinM6 closed this Oct 22, 2018
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