filecoin-project / lotus

Reference implementation of the Filecoin protocol, written in Go
https://lotus.filecoin.io/
Other
2.84k stars 1.26k forks source link

ChainIndexer: move lotus-shed chainindex into lotus CLI #12654

Open rvagg opened 3 days ago

rvagg commented 3 days ago

The new chain_index.go functionality in lotus-shed is more like a lotus command now than the previous sqlite db management utilities. It interacts via RPC and doesn't do any shonky multi-writer work anymore and our documentation treats it as a normal part of a workflow, so we should just normalise it.

Let's move it into the lotus CLI. I think it could either go in under the existing chain subcommand as an index sub-sub command, or it we could just add a new top-level index subcommand in the same DEVELOPER group as chain.

rvagg commented 17 hours ago

Some thoughts on how to attack this: