bitcore/test
Ryan X. Charles 378dc923ef preserve claimed length and op code
When parsing OP_PUSHDATAX commands, the the length of data might not require
the size integer of OP_PUSHDATAX. For instance, you might write 1 byte, and yet
use OP_PUSHDATA4. We need to record which OP_PUSHDATAX was used so that when we
write the buffer back out, we can write the same one. Also, the claimed length
may be different. For instance, we may OP_PUSHDATA of length 100 to the stack,
but there may only be 50 bytes left in the script. In that case, buf.length and
chunk.len will be different. I'm not sure if that would be considered a valid
script, but in any case, for script analysis, we need both values.
2014-09-01 17:27:39 -07:00
..
address.js p2sh -> scripthash 2014-09-01 12:06:18 -07:00
aes.js remove redundant "test." from test names 2014-08-29 13:01:05 -07:00
aescbc.js confusingly named SymEnc -> accurately named AESCBC 2014-08-29 13:07:49 -07:00
base58.js remove redundant "test." from test names 2014-08-29 13:01:05 -07:00
base58check.js remove redundant "test." from test names 2014-08-29 13:01:05 -07:00
bip32.js remove redundant "test." from test names 2014-08-29 13:01:05 -07:00
bn.js remove redundant "test." from test names 2014-08-29 13:01:05 -07:00
bufferreader.js read a buffer, like slicing while iterating pos 2014-09-01 16:40:31 -07:00
bufferwriter.js remove redundant "test." from test names 2014-08-29 13:01:05 -07:00
cbc.js remove redundant "test." from test names 2014-08-29 13:01:05 -07:00
ecdsa.js Key -> Keypair 2014-08-29 14:18:56 -07:00
ecies.js Key -> Keypair 2014-08-29 14:18:56 -07:00
hash.js remove redundant "test." from test names 2014-08-29 13:01:05 -07:00
index.html works in browser 2014-08-09 22:47:32 -07:00
kdf.js Key -> Keypair 2014-08-29 14:18:56 -07:00
keypair.js remove useless Address dependency from Keypair 2014-08-29 15:42:30 -07:00
message.js Key -> Keypair 2014-08-29 14:18:56 -07:00
opcode.js fromNumber, toNumber, fromString, toString 2014-08-31 20:38:39 -07:00
point.js remove redundant "test." from test names 2014-08-29 13:01:05 -07:00
privkey.js remove redundant "test." from test names 2014-08-29 13:01:05 -07:00
pubkey.js remove redundant "test." from test names 2014-08-29 13:01:05 -07:00
random.js remove redundant "test." from test names 2014-08-29 13:01:05 -07:00
script.js preserve claimed length and op code 2014-09-01 17:27:39 -07:00
signature.js remove redundant "test." from test names 2014-08-29 13:01:05 -07:00
stealthkey.js Stealth -> Stealthkey 2014-08-29 14:34:01 -07:00