1
We assume that trying to mine a block as of 2018 is like digging for gold with a plastic spoon. There are chances but remote if any, of success.
That being said, if someone can get the info from Getblocktemplate and decides to mine a block for luck and happen to mine a successful block that meets the target requirements.
Is it enough to submitblock with the appropriate info like this:
bitcoin-cli submitblock 000000205badedd2461eabc2c47aeac53a784fa7fc3b79f2566f27000000000000000000b3433d3f19fb599c34704bd2dede4aeab7d9f1e2658de3b30e6004d44b985411d1637c5af8e961173a3a8db3 1
being the first argument the message and the second a dummy that is being ignored by the network.
1. Should there be any response?
2. Should there be any quotes?
3. Why it always return
error code: -22
error message:
Block decode failed
4. Is there a way to send the block to a relay node that will spread it fast?
Any help would be appreciated and please do not mention again that it is impossible to mine a block alone, it is already known.
Welcome to Bitcoin.SE! It is better to limit to one question per ask as this assists answerers to stay on topic and keeps the focus. See How to ask? for further assistance with asking.
– Willtech – 2018-02-11T04:35:22.260Somehow I discovered that what is missing in my string is the
rawtransactionhash after the message I just posted and then it returns the duplicate thingy... as it was supposed to happen. – abellido – 2018-02-17T17:33:00.497You can post as an answer and mark as accepted to prevent the question remaining as "unanswered". It is better if you include details of how you solved the problem so that the next person can learn also. – Willtech – 2018-02-17T21:43:26.130