atomicals / atomicals-electrumx

Electrumx Atomicals Indexer Server
MIT License
181 stars 56 forks source link

Use genesis snapshot occur error #78

Open xyz-ass opened 8 months ago

xyz-ass commented 8 months ago

electrumx.server.block_processor.ChainError: UTXO f2b29aa42f36f2e8d4dedb630aadff142c7dc5952b7ac54522042638a303267f / 0 not found in "h" table
why?

star8ks commented 7 months ago

Same. I think the reason is the genesis snapshot tar files are not exctracted properly, or the snapshot at https://cdn.atomicals.xyz/snapshots/genesis/index.html is damaged.

I tried tar -xvf for atomicalselectrumx-0.tar, but it ended with:

x ./electrumxdb.genesis/hist/552465.ldb: Truncated tar archive
tar: Error exit delayed from previous errors.

so I tried this

cat atomicalselectrumx-0.tar atomicalselectrumx-1.tar atomicalselectrumx-2.tar atomicalselectrumx-3.tar atomicalselectrumx-4.tar > atom.tar
tar -xvf atom.tar

# still got error
x ./electrumxdb.genesis/hist/552465.ldb
tar: Damaged tar archive
tar: Retrying...

@atomicals Is it right to extract this snapshot this way?