hirosystems / stacks-subnets

Stacks Subnets: a layer-2 scaling solution for Stacks, intended for high-throughput, low-latency workloads
http://docs.hiro.so
GNU General Public License v3.0
51 stars 13 forks source link

Add new microblock type #302

Open jbencin opened 1 year ago

jbencin commented 1 year ago

As I understand, due a recent PR we now have two different types of microblocks: The regular ones with transactions, and ones that contain "rollups" of previous microblocks. It is somewhat confusing to have a single type that has different meanings depending on context, so we should make this "microblock rollup" a different type of block, even if it's just renaming the struct in Rust.