How to broadcast a new block

1

1

When i mine a new block on my pc, how can i broadcast it to other peers, making it included in the blockchain and getting my reward?

Is there any API that provides a function like "sendBlock" or something?

I'm asking it for bitcoin and any other criptocurrency. Ty

genialFactory

Posted 2017-12-08T14:17:43.790

Reputation: 31

I'm not clear on your question... mining bitcoins with a PC is nearly impossible. Mining other coins might be possible, maybe you need a powerful graphics card. Then again, you wouldn't broadcast a block (manually). Instead you would run a software, that does specific calculations, and initiate the sending to other peers. Maybe have a look at how mining works, and come back to re-phrase (precise) your question?pebwindkraft 2017-12-08T18:24:16.707

Yes, i know that mining with a single pc is impossible, but i would learn how the sending to other peers works. I want to create a new software for mining, so i need to build the block myself and manually send it to the network.genialFactory 2017-12-09T11:56:06.603

Answers

2

What i was looking for is submitblock RPC call.

genialFactory

Posted 2017-12-08T14:17:43.790

Reputation: 31