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

implement get watcthower_challenge_tx rpc endpoint #518

Open
7 tasks
ekrembal opened this issue Feb 10, 2025 · 0 comments
Open
7 tasks

implement get watcthower_challenge_tx rpc endpoint #518

ekrembal opened this issue Feb 10, 2025 · 0 comments
Assignees

Comments

@ekrembal
Copy link
Member

get_watcthower_challenge_tx(deposit_txid, operator_idx, seq_col_idx, kickoff_connector_idx)

  • Check wheter the kickoff is malicious or not
  • Check if the header chain collected enough total work
  • Generate header chain proof with only total_work output
  • Convert the proof to the groth16 proof
  • Sign the proof with winternitz
  • sign watcthower_challenge_tx
  • Return raw tx
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

3 participants