mediachain / mediachain-indexer

search, dedupe, and media ingestion for mediachain
33 stars 14 forks source link

add --disable-catchup flag to receive_blockchain_into_indexer #30

Closed yusefnapora closed 8 years ago

yusefnapora commented 8 years ago

This adds a flag to disable the blockchain catchup when running mediachain-indexer-ingest receive_blockchain_into_indexer. It will skip the catchup / replay if you pass in the --disable-catchup flag.

It will still play back the events from the current (in-progress) block, but that should be much faster than catching up the entire chain.

This is a stop-gap measure until we support catching up until we hit a known block, which needs to be added to the client.