The process of the closed election is as follows:
1. Members of Cn+1 use a two-round interactive process of Schnorr-FROST threshold signatures to generate the threshold signature private key and its corresponding public key Pkn+1, which are then disclosed on the Marble Layer2 chain. Each node retains its own threshold private key fragments.
2. When Cn ≠ Cn+1, Cn generates identical transfer transactions Txn and signs them with their respective threshold private key fragments, which are then disclosed on the Marble Layer2 chain. Once a sufficient number of signatures are collected, the withdrawal service can broadcast Txn on Bitcoin. Txn is responsible for:
Transferring all assets locked on Pkn to Pkn+1
Including the current historical projection information H of Marble Layer2 in the transaction
1. Upon successful completion of the above tasks, the election is considered successful.
2. If any issues arise at any point in steps 1 and 2, penalties can be imposed on unsigned or incorrectly signed nodes in each step.