stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 666 forks source link

[sBTC] StackerDB protocol and system design #3504

Closed jcnelson closed 2 weeks ago

jcnelson commented 1 year ago

In order to assist in replicating cryptographic commitment data for sBTC stackers as part of their distributed key generation and signing protocols, the Stacks node's p2p network will be extended to implement a replicated database for storing this data on behalf of stackers. The replicated database, called a StackerDB, has the following properties:

The system is not coupled to sBTC, but is designed with sBTC's needs in mind. The system will be rolled out to the master branch well before sBTC is live, and any node operator will be able to subscribe to any smart contract-controlled StackerDB and serve as a replica. In doing so, we can implement mocked sBTC instances such that each instance has its own associated StackerDB into which stackers read and write the FROST cryptographic data.


This issue tracks the completion of the design work for the system itself. It is referenced by other issues, and should only be closed once the system itself is built and tested.

jcnelson commented 2 weeks ago

This is done