docs: advertise anti-abuse-bond policy on kind-38385 info event#45
Conversation
Adds bond_enabled plus six policy tags (bond_apply_to, bond_slash_on_waiting_timeout, bond_amount_pct, bond_base_amount_sats, bond_slash_node_share_pct, bond_payout_claim_window_days) so clients can show bond cost and slash conditions before a user enters a trade. Replaces the prior "Upcoming" placeholder with a concrete description and a three-state disambiguation for bond_enabled. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Caution Review failedPull request was closed or merged during review No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe pull request updates the Mostro Instance Status event ( ChangesAnti-abuse Bond Policy Tags Documentation
Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly Related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
bond_*tags to the kind-38385 Mostro Instance Status example so clients can detect bond-enabled nodes and surface bond cost / slash conditions to users before they enter a trade.bond_enabledabsent /"false"/"true".pay-bond-invoice(bond locked by the bonded user) andadd-bond-invoice(bond payout to the winning counterparty on a slash).bond_payout_claim_window_daysis explicitly tied to theslashed_atfield thatadd-bond-invoiceships, since clients combine the two to render the forfeit deadline locally.Tags added (always strings, mirroring the existing wire convention):
bond_enabled"true"/"false"bond_apply_to"take"/"make"/"both"bond_slash_on_waiting_timeout"false"bond_amount_pct"0.01"bond_base_amount_sats"1000"bond_slash_node_share_pct[0.0, 1.0]"0.5"bond_payout_claim_window_days"15"bond_enabledis always emitted on daemons that support the feature; the other six tags are present only whenbond_enabled = "true".Test plan
mdbook buildrenders the updatedMostro Instance Statussection without warningspay_bond_invoice.mdandadd_bond_invoice.mdresolve in the rendered site🤖 Generated with Claude Code
Summary by CodeRabbit