conradoqg / naivecoin

A cryptocurrency implementation in less than 1500 lines of code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syncing wallets between Nodes?

neurofluxation opened this issue · comments

Is this possible? It seems that when I create a wallet on Node#1 it never reaches Node#2? The blocks sync fine, but the wallets do not - is this intended?

Cheers my dudes, you've done great work here btw :)

Thanks, man.

The wallets shouldn't be synchronized because they are part of the "exchange"/"operator". Usually, you control your wallet in a local software (storing the private key in your PC) or using some service like coinbase.

If you sync wallets, every node (everyone) will know every private key created, it doesn't make sense.

Cheers

Ok groovy, that makes more sense now :) Thanks!

Sorry to reply after closure, would you know of an easy way to switch from Node based private keys to the local device?

You could change the naivecoin to store the private key in a file, instead of what it does now.

Yeah I gathered that much... Could you point me in the correct direction please?
You basically repeated what I asked.