lotus/chain/store
Hector Sanjuan 875c09840b
chainstore: Fix raw blocks getting scanned for links during snapshots (#10684)
We have to save raw blocks to the snapshot, but we should not be scanning them
for additional links as if they were CBOR blocks.

This cleans the logic a bit (we were checking that the parent was a CBOR block
before queueing up the children, but then scanning the children... it was weird).

Additionally, more verbose logging is added for the next time ScanForLinks
fails (currently very little info was given).

Our ScanForLinks callback should only enqueue CBOR for further processing.
2023-04-21 15:16:26 -07:00
..
basefee_test.go feat: support typed errors over RPC 2022-09-27 15:34:01 +00:00
basefee.go chore: fix imports 2022-06-14 17:00:51 +02:00
checkpoint_test.go fix make gen 2022-08-29 16:25:30 +02:00
coalescer_test.go fix make gen 2022-08-29 16:25:30 +02:00
coalescer.go fix make gen 2022-08-29 16:25:30 +02:00
fts.go chore: fix imports 2022-06-14 17:00:51 +02:00
index_test.go fix make gen 2022-08-29 16:25:30 +02:00
index.go feat: chain: make fetching tipset by height 1000x faster 2023-03-09 15:12:13 -05:00
messages.go chore: all: migrate from go-libipfs to boxo 2023-04-18 17:22:18 +02:00
snapshot.go chainstore: Fix raw blocks getting scanned for links during snapshots (#10684) 2023-04-21 15:16:26 -07:00
store_test.go lint 2023-03-12 15:50:10 +02:00
store.go chore: all: migrate from go-libipfs to boxo 2023-04-18 17:22:18 +02:00