Add the same checks to FetchContext constructor that we already have in serialization.
Check for some bogus fields in FCP.
Add equals() and hashCode() to InsertContext and FetchContext.
Add persistence test for FetchContext. This one is particularly likely to change and have persistence problems.
Refactor slightly
Add function to DatabaseKey to create an AEADCryptBucket for the ClientLayerPersister (client.dat). CRYPTO PLEASE REVIEW! (This adds another KDF)
Beginnings of crypto support for client.dat
Use the same lock to serialize loads with checkpoints. Not really necessary yet but it will be...
Beginnings of support for setting the files and Bucket's later on, will be needed for password encryption.
Don't need to pass ObjectContainer into NodeClientCore any more.
Get the flag for whether to load buckets etc from whether we made any progress so far, don't pass it in.
Encryption of client.dat should work now ...
Make sure we cleanup the old files ... after writing successfully.
Logging
Logging
Call PTBF.completedInit() at the correct time, don't call it twice and lose data on resume of an encrypted passworded client.dat.crypt.
Logging
Move inside the condition and fix the condition; fixes error on new start.