kostaleonard / theblockchainkiller

Leo's anti-The Blockchain
MIT License
4 stars 1 forks source link

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

Closed kostaleonard closed 10 months ago

kostaleonard commented 11 months 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.