public PrivateKey GeneratePrivateKey(string label = null, bool eighteenByteRipe = false, bool send = false, bool save = true)
{
var privateKey = new PrivateKey(label, eighteenByteRipe);
if (save) privateKey.SaveAsync(DB).Wait();
if (send) privateKey.SendAsync(this);
lock (_lock4privateKeysCache)
_privateKeysCache = null;
return privateKey;
}