bitcoinjs-lib/test
Daniel Cousens 76323a07d0 Transaction: restrict TxIn/TxOut constructor params
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.
2014-05-08 10:59:58 +10:00
..
fixtures move fixture sync script into fixtures folder 2014-05-05 13:46:00 +08:00
integration fixes integration test dependency paths 2014-05-04 14:23:40 +08:00
address.js Now shares base58 data with Address base58 tests 2014-04-22 00:24:03 +10:00
base58.js Updates test fixtures to use bitcoin core test data 2014-04-22 00:24:20 +10:00
base58check.js Updates test fixtures to use bitcoin core test data 2014-04-22 00:24:20 +10:00
buffer.js Adds Buffer extensions 2014-05-04 17:30:59 +10:00
convert.js Removes redundant convert functions 2014-05-04 17:31:47 +10:00
crypto.js Changes deepEqual to equal 2014-04-08 23:50:27 +10:00
ec.js upgrade bigi & remove monkey patching 2014-05-03 10:04:54 +08:00
ecdsa.js upgrade bigi & remove monkey patching 2014-05-03 10:04:54 +08:00
eckey.js Adds RFC6979 test vectors and fixes ecdsa.sign/detGenK 2014-04-26 02:17:28 +10:00
hdwallet.js Fixes incorrect PubKey hex constant 2014-05-04 15:15:22 +10:00
message.js Adds magicHash test fixtures 2014-04-22 00:23:12 +10:00
script.js Adds working implementation of Script.createP2SHMultisigScriptSig 2014-04-22 00:28:13 +10:00
transaction.js Transaction: restrict TxIn/TxOut constructor params 2014-05-08 10:59:58 +10:00
wallet.js Extends test for custom Wallet change addresses 2014-05-06 15:40:40 +10:00