kostaleonard / leocoin

Leo's cryptocurrency
MIT License
4 stars 1 forks source link

Recipient ID in coin mining transaction should be the miner, not 1 #13

Closed kostaleonard closed 11 months ago

kostaleonard commented 1 year ago

As a miner, I want the coin mining transaction to use a recipient ID that corresponds to my identity so that I receive the coins I mine.

Right now I've just used an ID of 1 for the recipient as a placeholder. For an early version, we could just have the user provide their ID on the command line. I'm not sure if that's more trouble than just using public keys.