hirosystems / ordhook

Build indexers, standards and protocols on top of Ordinals and Inscriptions (BRC20, etc).
Apache License 2.0
189 stars 56 forks source link

Out of memory when downlaod "mainnet-ordhook-sqlite-latest.tar.gz" #212

Closed z0y1 closed 11 months ago

z0y1 commented 11 months ago

Out of memory when downlaod "mainnet-ordhook-sqlite-latest.tar.gz"

$ ordhook scan blocks 767430 767753 --config-path=./Ordhook.toml Nov 23 10:40:48.002 INFO Unable to retrieve hord.sqlite file locally Nov 23 10:40:48.003 INFO Downloading https://archive.hiro.so/mainnet/ordhook/mainnet-ordhook-sqlite-latest.tar.gz => https://archive.hiro.so/mainnet/ordhook/mainnet-ordhook-sqlite-latest.tar.gz [====================================================>.....] (19719829229/21581459625)killed

image

lgalabru commented 11 months ago

Hey @z0y1! Thanks for creating this issue. When this definitely needs to be fixed, in the meantime you could manually download this file using curl / wget, move it to the right dir and then launch ordhook.

lgalabru commented 11 months ago

The command

ordhook scan blocks 767430 767753 --config-path=./Ordhook.toml

is indicating that an outdated version is being used.

ordhook scan blocks --interval 767430:767753 --config-path=./Ordhook.toml

since is the new syntax.

@z0y1 feel free to reopen this issue if you're still experiencing this after updating the version of ordhook being ran.

tapstoone commented 10 months ago

move it to the right dir and then

hi, i downloaded by wget. but what's the right dir?