robinmonjo / coincoin

Blockchain based cryptocurrency proof-of-concept in Elixir. Feedback welcome
402 stars 54 forks source link

Persistent wallet #21

Open robinmonjo opened 6 years ago

robinmonjo commented 6 years ago

Wallet (public and private keys) are in memory only. Even worst, they are generated on init of the Token.MyWallet gen_server. This is really bad because if/when the gen_server crashes, new keys are generated and all coins are lost !