Follow-up of #3887.
To catch short writes of log lines (written in appendonly style) add a checksum to each log line.
Idea: CRC64, inserted in the beginning of the log line.
log <crc64hex> <index> <term> <type> <data...>
Checksums for the other parts of nodes.conf is not necessary, because we write it to a temp file and rename if after a complete successful write, so there is no risk of short writes in that scenario.
Follow-up of #3887.
To catch short writes of log lines (written in appendonly style) add a checksum to each log line.
Idea: CRC64, inserted in the beginning of the log line.
Checksums for the other parts of nodes.conf is not necessary, because we write it to a temp file and rename if after a complete successful write, so there is no risk of short writes in that scenario.