stacks-network / stacks-core

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

Hotfix/5142 #5149

Closed jcnelson closed 3 weeks ago

jcnelson commented 3 weeks ago

This fixes #5142, which allows a StackerDB replica to shrink if its configuration requires a smaller number of slots. This ensures that nodes that had the larger version of the replica are able to sync properly with nodes that only ever had the smaller version of the replica (whereas before, the former would erroneously report inventory vectors for slots that were no longer part of the DB, and complain when the received inventories from the latter as being "too small").

jcnelson commented 3 weeks ago

Superseded by https://github.com/stacks-network/stacks-core/pull/5152