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

Support fee bumping #128

Open
kayabaNerve opened this issue Nov 28, 2024 · 2 comments
Open

Support fee bumping #128

kayabaNerve opened this issue Nov 28, 2024 · 2 comments

Comments

@kayabaNerve
Copy link

If a transaction is defined as a set of outputs and the associated wallet data, we don't have to sign the fee. Either the correct fee is specified or the transaction won't balance.

The inputs also don't have to refer to each other. Agreement on the first input is necessary to define an input context to prevent the burning bug, but the entire list isn't necessary unless we require sorted inputs. Even then, insertion of a new input only requires it have a higher ordinality key image than the first input.

If anyone can attach a new input, they can bump the fee. This requires either:
A) Input proofs not be done in aggregate
B) Usage of an IVC scheme so anyone can fold in an additional input's proof (though this would require the additional input be last in the list)

@kayabaNerve
Copy link
Author

The input's amount commitment would need to have zero randomness which would make it obvious the transaction was bumped. Anyone would be able to bump any TX however.

@UkoeHB
Copy link

UkoeHB commented Nov 28, 2024

This should be fine so long as no additional outputs are added to the tx. Input proofs need to sign the full output set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants