public void Renew()
{
if (!IsReadOnly)
throw new InvalidOperationException("Can't renew non-readonly transaction");
if (State != LightningTransactionState.Reseted)
throw new InvalidOperationException("Transaction should be reseted first");
mdb_txn_renew(_handle);
State = LightningTransactionState.Active;
}