You are viewing a single comment's thread from:

RE: Streaming the blockchain and ingestion (Free Knowledge sharing 0.1 )

in #blockchain6 years ago

assuming that you are "Streaming" the blockchain
0-get-block-num
1-store-in-redis/memcache
2-proceed-with-application logic
3-.app restarts, crashes
4- fetch the blocknumber from redis
5.-compare with last compared block in the app

  1. if-last-block-in-app-db == block-num-from-redis
    get-next bloc
    else
    start with get-block-from-redis
  1. Steemrocks uses file based last block storage
  2. need to check the same

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.032
BTC 63645.37
ETH 3067.90
USDT 1.00
SBD 3.81