Skip to content

feat: index identity multihash roots as 0#329

Closed
rvagg wants to merge 1 commit intomasterfrom
rvagg/index-identity-roots
Closed

feat: index identity multihash roots as 0#329
rvagg wants to merge 1 commit intomasterfrom
rvagg/index-identity-roots

Conversation

@rvagg
Copy link
Member

@rvagg rvagg commented Aug 23, 2022

Exploring options for filecoin-project/boost#715, this is just some code to test out an option, no need to take this seriously yet.

@rvagg rvagg self-assigned this Aug 23, 2022

for r, store := range identityRoots {
if store {
records = append(records, index.Record{Cid: r, Offset: uint64(1)})
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather this be 0 but it can't be because of https://github.com/filecoin-project/index-provider/blob/b918da7508b05263988561ec3f28ca31e0fcacb9/multihash_iterator.go#L48-L52

But also, is it really something we should report to the indexer, perhaps it should get filtered out before it gets there. 🤷

@rvagg
Copy link
Member Author

rvagg commented Sep 27, 2022

not proceeding with this approach

@rvagg rvagg closed this Sep 27, 2022
@rvagg rvagg deleted the rvagg/index-identity-roots branch September 27, 2022 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant