Author

Topic: scriptPubKey.size() > nMaxDatacarrierBytes (Read 194 times)

jr. member
Activity: 113
Merit: 5
August 10, 2018, 03:20:31 AM
#2
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.
jr. member
Activity: 113
Merit: 5
August 09, 2018, 10:17:47 PM
#1
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 ?
Jump to: