FatihBAKIR / blockstore

2 stars 1 forks source link

Blockchain persistence #4

Open FatihBAKIR opened 6 years ago

FatihBAKIR commented 6 years ago

We should store the blockchain on the disc

kylecrsn commented 6 years ago

Maybe have some config param that says how often to write the chain to disc. Could be something like every 5 minutes, every 100 blocks appended, etc. Could also make another config param saying how much f the chain to write out- the entire thing, or maybe everything before the last 6 blocks ie everything thats well "committed"