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.