0

It looks like the core_rpc_server::on_submitblock method is expecting a full block blob, since it calls...

 if(!parse_and_validate_block_from_blob(blockblob, b))

However this RPC method is used to submit blocks that are mined on just the hashing blob. So how does the method work correctly when just the hashing blob is passed in, if it's trying to parse a full block blob?

0

Sort of answered indirectly here:

How to get the entire block blob for submission after mining nonce

That method requires a block header. The "hashing_blob" is not the correct input, its the block_template that should be used.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.