flocore/lib
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
..
expmt Stealth -> Stealthkey 2014-08-29 14:34:01 -07:00
address.js p2sh -> scripthash 2014-09-01 12:06:18 -07:00
base58.js add set function to Base58 2014-08-28 15:27:58 -07:00
base58check.js Base58Check.prototype.set 2014-08-28 15:31:06 -07:00
bip32.js Key -> Keypair 2014-08-29 14:18:56 -07:00
bn.js add BN.prototype.fromBuffer 2014-08-13 19:23:45 -04:00
bufferreader.js read a buffer, like slicing while iterating pos 2014-09-01 16:40:31 -07:00
bufferwriter.js BufferWriter.prototype.set 2014-08-28 16:02:24 -07:00
constants.js p2sh -> scripthash 2014-09-01 12:06:18 -07:00
ecdsa.js Key -> Keypair 2014-08-29 14:18:56 -07:00
hash.js remove "(classname): " from tests 2014-08-20 13:03:07 -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 "(classname): " from tests 2014-08-20 13:03:07 -07:00
privkey.js compressed by default with fromRandom 2014-08-29 12:38:43 -07:00
pubkey.js Pubkey().fromPrivkey() 2014-08-28 20:19:30 -07:00
random.js remove "(classname): " from tests 2014-08-20 13:03:07 -07:00
script.js preserve claimed length and op code 2014-09-01 17:27:39 -07:00
signature.js Signature.prototype.set 2014-08-28 16:38:21 -07:00