Title: scriptPubKey.size() > nMaxDatacarrierBytes Post by: victorkimba17 on August 10, 2018, 03:17:47 AM In bitcoin core v0.15.1 , policy,cpp, IsStandard() , the condition (scriptPubKey.size() > nMaxDatacarrierBytes) is met, and so it gives error of {"code"=>-26, "message"=>"64: scriptpubkey"}
What do we check the size of scriptPubKey against a number ? Title: Re: scriptPubKey.size() > nMaxDatacarrierBytes Post by: victorkimba17 on August 10, 2018, 08:20:31 AM the datacarriersize controls the OP_RETURN script size. the small size of 80 is to prevent arbitrary data from getting into blockchain.
in BCH, the size is increased to 220 bytes. |