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

Improve mediation tools / logging. #5206

Merged
merged 2 commits into from Mar 11, 2021
Merged

Improve mediation tools / logging. #5206

merged 2 commits into from Mar 11, 2021

Conversation

ghost
Copy link

@ghost ghost commented Feb 18, 2021

These changes were requested by @huey735 & @jmacxx after spending hours debugging #5193.

  • Emergency payout tool to also show Open mediation tickets (currently only closed ones shown).
  • Log txHex of MediatedPayoutTxPublished.
  • Fix issue: text entry fields disappear into background color (dark mode only)

e.g. (Open mediation tickets)

image


logging. The recipient of the dispute payout tx should log the txHex they received, it really helps debugging efforts to know what is going on. Otherwise we have no clue without seeing the counter-party's log that does have txHex. The reason for wanting this as opposed to a pretty-print of the transaction, is we can put it into a transaction validator and have it tell us what is wrong e.g. "Signature must be zero for failed CHECK(MULTI)SIG operation".

Feb-18 16:11:07.683 [JavaFX Application Thread] INFO  b.c.t.p.t.m.ProcessMediatedPayoutTxPublishedMessage: MediatedPayoutTx received from peer.  Txid: a411642ceeb957dc3f14f1b7c2c88c519453567e4d93832b4de1d8faf5ce28dd
hex: 01000000000101d32a3c7028c735fd638a6855adfc06de3665e1482c68f1515ecdbd7dc06877ca0000000000ffffffff0260e3160000000000160014e96eec53800df8b3db94a4ccdbdad886ca78242e60ae0a00000000001600142d223f8a4fc8c26563b9ca4b534e369852599e85040047304402204dc012687d47ece26ff096339513804254fa436328b6c2a2fb6eea4fdd742b4202206082728c8a7cddb3711cbeb71e2fc71c34d267bb27aa3dca0566ce1c5033d1b201483045022100a3bc8ba4b76897d373887439d11330d792a31a9d4ac0e9bf055bcb310d65eb52022048edb791e71e6a23f6a051f6b77b61dcc8bd749450d6bee9f0876a8c60bf6b0d014752210393f1097d6542c89f4394a04a6ec2b0fa00324cab2d76d71bce5291ac814532c72102f85c19d4910d24569cb0636c1ceaec5233c05922d6722e65700ca9e24939dbc152ae00000000 

Emergency payout tool to also show Open mediation tickets.
Log txHex of MediatedPayoutTxPublished.
@ripcurlx ripcurlx added this to the v1.6.0 milestone Feb 19, 2021
@huey735
Copy link
Contributor

huey735 commented Feb 21, 2021

It works great. This may be out of the scope of this PR but the fields in the tool disappear into the window's background color. Having a bottom border of the same color as the text should help in making it visible.

emergencyPayoutToolDarkMode

@ghost ghost mentioned this pull request Feb 28, 2021
@ghost
Copy link
Author

ghost commented Mar 3, 2021

@huey735 re: text fields disappearing into the popup's background color => made a fix to theme-dark.css this fixes all popups in dark mode e.g. Filter, XMR key entry, Send Alert Message. Hopefully no side effects (none noticed).

image

image

@ghost ghost changed the title Improve mediation tools. Improve mediation tools / logging. Mar 4, 2021
Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@ripcurlx ripcurlx merged commit 7394da5 into bisq-network:master Mar 11, 2021
@ghost ghost mentioned this pull request Apr 2, 2021
@ghost ghost deleted the improve_mediation_tools branch May 29, 2022 22:49
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

Successfully merging this pull request may close these issues.

2 participants