atoponce / d-note

Self destructing encrypted notes
Other
130 stars 43 forks source link

Prevent Hashcash Double Spending #2

Closed atoponce closed 10 years ago

atoponce commented 12 years ago

A backend flat file DB (hashcash.db) needs to be installed to keep track of Hashcash tokens created when submitting the note to prevent double spending. See http://hashcash.org/docs/hashcash.html#double_spending_protection. Default expiry of the tokens should be the same as the default expiry of the note, which will likely be the recommendation of 28 days, after which the token will be considered invalid.

atoponce commented 10 years ago

Done.