76323a07d0
To keep this change minimal, both TxIn/TxOut still use the parameter object for initialization. TxOut accepts only the types it uses internally, and not hex or byte arrays for scripts. The clone is unnecessary as a TransactionOut is never mutated after its creation. This resulted in TransactionOut.scriptPubKey no longer being needed, and was removed. To access the scriptPubKey as a byte buffer, a user can simply use: TransactionOut.script.toBuffer() Unfortunately, this leaves TransactionOut in a sorry state of test. Something that needs to be fixed. |
||
---|---|---|
.. | ||
fixtures | ||
integration | ||
address.js | ||
base58.js | ||
base58check.js | ||
buffer.js | ||
convert.js | ||
crypto.js | ||
ec.js | ||
ecdsa.js | ||
eckey.js | ||
hdwallet.js | ||
message.js | ||
script.js | ||
transaction.js | ||
wallet.js |