-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Send signed witness to counterparty #4314
Send signed witness to counterparty #4314
Conversation
Add orphaned witness log
Better filter for root signedwitnesses Add debug keyboard shortcuts: - ctrl+shift+L -> logSignedWitnesses - ctrl+shift+S -> logSigners
Improve debug logging. Lower level from warning to info Fix broken test Add example code to clean out unnecessary SignedWitnesses
Legacy arbitrator can sign unsigned signed witness signer pubkeys To sign, from legacy arbitrator support, ctrl+O
Return the signed witness when signed by a trader
@sqrrm Please resolve the conflict - thanks! |
I think this merge conflict should be resolved once #4280 is merged since I fixed the same conflict there |
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.
ACK
Tested it on regtest with both clients on the new version and a regression test with the buyer on the old version. During the regression test an error is logged that has no effect on the trade process as the new message type is not known by the client. So everything is working as expected.
Travis issues, will create new PR |
Signer sends SignedWitness to signee after trade is completed. This allows the signee to make sure their witness is properly published in case the signer isn't well connected. An extra measure to assure that signed witnesses are well distributed upon signing.
I made this on top of PR #4280 as it's touching a lot of the same code. That PR should be merged before this one.