stacks-network / sbtc-developer-release

sBTC primitives, signer components, helper tools
https://sbtc.tech
MIT License
1.98k stars 23 forks source link

[stacks-signer] Add coordinator state to be the same across signers #393

Closed jferrant closed 8 months ago

jferrant commented 11 months ago

Description

Update signers to keep track of coordinator state regardless of whether they are the coordinator or not

Context

Having all signers operate as a coordinator (minus the actual triggering and broadcasting) will enable coordinators to take over when another goes down without restarting effort. It will also enable all of them to publish results to the stacks node if need be.

Expected Approach

This will require changes to wsts coordinator to not simply ignore input coordinator messages. Input coordinator messages should update internal state.

Acceptance Criteria