#[0] let's say I started a cashu mint, had an issue with db and restored it previous backup state say 6-12 hours old. Do the ecash tokens minted at that time have some cryptographic proof to claim their sats?
Discussion
There are two states:
- your mint's private key (this shouldn't change)
- the list of seen tokens (this shouldn't be lost!)
That means any tokens *redeemed* (not minted) in the time between your last backup and your restore could be double-spent.
Thank you, great info!
It will be interesting to see a prod deployment of cashu from a high-throughput wallet service like wallet of Satoshi; geo-redundancy with high write through put db like dynamodb or Cassandra.
I'm pretty sure that the mint I've built uses less resources than an ordinary table with transaction logs. We also started thinking about this from the beginning and implemented key rotation, which enables you to drop the db altogether every couple of months or years, after the rotation is finished.
If you like, please join us: https://t.me/CashuBTC