ark-network / ark

Ark is a layer-two protocol designed to scale Bitcoin transactions
https://arkdev.info
MIT License
58 stars 16 forks source link

returns `forfeitsTxs` in Ping RPC while the finalization started #161

Closed louisinger closed 5 months ago

louisinger commented 5 months ago

This PR adds a way to Finalize payment without using the events stream.

Ping returns the unsigned forfeits txs if the current round started finalization phase.

Users participating in the round should return the signed forfeits psets (associated with the spent vtxos) using FinalizePayment RPC.

@bordalix @tiero please review