minimaldata
Following BIP62.3, this module validates that a script uses only minimal data pushes.
Example
var minimaldata =// OP_PUSHDATA4, 1 bytevar script = '4e0100000000' 'hex'console// => falsescript = '0101' 'hex'console// => true
Following BIP62.3, this module validates that a script uses only minimal data pushes.
var minimaldata =// OP_PUSHDATA4, 1 bytevar script = '4e0100000000' 'hex'console// => falsescript = '0101' 'hex'console// => true
npm i minimaldata
3,189
1.0.2
MIT