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

Server will spend its last funds; breaking the chain #2

Open
gertjaap opened this issue Jun 19, 2019 · 0 comments
Open

Server will spend its last funds; breaking the chain #2

gertjaap opened this issue Jun 19, 2019 · 0 comments

Comments

@gertjaap
Copy link
Contributor

When a server has insufficient funds left to pay for fees and create a change output, it shouldn't commit. This does happen now, leading to having no change in the last transaction. This permanently and irrecoverably breaks the chain of spends, breaking everyone's ability to prove non-equivocation. This should be handled properly.

See this transaction from the test commitment server. It writes the (last) OP_RETURN and no change.

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

1 participant