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.

Reply to this note

Please Login to reply.

Discussion

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