kowala-tech / kcoin

A stable cryptocurrency that algorithmically targets $1 USD using the Kowala Protocol
https://www.kowala.tech/
Other
18 stars 16 forks source link

[consensus] implement an write-ahead log #222

Open rgeraldes opened 6 years ago

rgeraldes commented 6 years ago

Type:

Request

If it's a request, what do you need it for?:

A Write-Ahead Log ensures we can recover from any kind of crash and helps us avoid signing conflicting votes.

Priority:

High

Other info we may need:

https://github.com/tendermint/tendermint/blob/master/consensus/state.go#L101

JekaMas commented 6 years ago

Tendermint WAL types and save/restore state steps - https://gist.github.com/JekaMas/060542ef9435799230aab4cd61bd96dd Just to keep all WAL-related code and comments in one place.

I'm going to write kcoin docs after each step WAL implementation.