filecoin-project / specs

The Filecoin protocol specification
https://spec.filecoin.io
Other
368 stars 170 forks source link

drop sharray for AMT #382

Open whyrusleeping opened 5 years ago

whyrusleeping commented 5 years ago

We currently have a sharray defined, which is a really simple sharded array for messages. Then we also have an AMT defined, which is a more complex sharded array, for a more difficult to satisfy purpose.

It seems to me like the AMT should be able to work for sharding the message array just fine, and we don't need two separate data structures for this.

thoughts?

whyrusleeping commented 5 years ago

The obvious gain here is that its much simpler to have fewer of these complicated data structures around that people need to implement