Create a small COW database
laforge49 opened this issue · comments
Implement a small copy-on-write database (a calf) that has only one block which is written alternately to two locations.
The block will have a max length, a block length, a 256-bit checksum, a timestamp and a serialized immutable.
The database itself will be a JActor2 actor.
When reopening the db, always use the latest valid block.
done