robinmonjo / coincoin

Blockchain based cryptocurrency proof-of-concept built with Elixir. Feedback welcome
404 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 !