Fix: signature may fail due to GnuPG agent calls
Fix: proof-of-work: in case of %powPeriod, trial level could not be computed