Daniel Cousens
b55e3a0245
TxBuilder: missing redeemScript not an issue if already added
...
If the input is initialized, we already have the redeemScript, no need
to pass it in again
2015-02-13 13:18:28 +11:00
Daniel Cousens
8a8f40e903
TxBuilder: defer mutation as long as possible
2015-02-13 13:18:28 +11:00
Daniel Cousens
085b813958
TxBuilder: replace switch lookup with object lookup
2015-02-13 13:18:28 +11:00
Daniel Cousens
d3af28e37e
tests: fix TxBuilder fixtures to be consistent w/ compression
2015-02-13 13:18:28 +11:00
Daniel Cousens
5f761113cc
tests: if description undefined, use exception
2015-02-13 13:18:28 +11:00
Daniel Cousens
1fde0a401d
tests: move inconsistent hashType/redeemScript test
2015-02-13 13:18:28 +11:00
Daniel Cousens
ebbe1278a0
tests: add non-standard input fixture
2015-02-13 13:18:28 +11:00
Daniel Cousens
f0c4a76325
tests: add scriptHash(pubKey) test fixture
2015-02-13 13:18:28 +11:00
Daniel Cousens
3f53b528a8
tests: reduce setup-code duplication
2015-02-13 13:18:28 +11:00
Daniel Cousens
95911c5dde
tests: consistent test data names
2015-02-13 13:18:28 +11:00
Daniel Cousens
23a37fb771
TxBuilder: fix out-of-order multisignature signing
2015-02-13 13:18:28 +11:00
Daniel Cousens
4c9fd6010e
TxBuilder: fix failing test for non-standard/multisig inputs
...
Instead of failing in `fromTransaction`, TxBuilder will now only fail in
`sign` if you attempt to sign a non-standard input.
Transactions with non-standard inputs can only be built with
buildIncomplete() (for now).
2015-02-13 13:18:26 +11:00
Daniel Cousens
b048627a59
tests: move TxBuilder.sign tests to fixtures
2015-02-13 13:18:00 +11:00
Daniel Cousens
396e4d4235
tests: add [failing] test for nulldata signing
2015-02-13 13:18:00 +11:00
Daniel Cousens
35fa86c1f9
tests: add [failing] raw multisig fixture for TxBuilder
2015-02-13 13:18:00 +11:00
Daniel Cousens
b629a03c98
TxBuilder: rename prevOutMap to prevTxMap
2015-02-13 13:18:00 +11:00
Daniel Cousens
dfe74fa0d2
TxBuilder: sign now signs inputs in known publicKey order
2015-02-13 13:17:57 +11:00
Daniel Cousens
c29b233744
TxBuilder: build convenience functions don't need extra line breaks
2015-02-13 13:01:30 +11:00
Daniel Cousens
ba97b5ee34
TxBuilder: re-order to avoid mutation in case of failure
2015-02-13 13:01:01 +11:00
Daniel Cousens
ebe34db8df
TxBuilder: avoid var redeclaration due to hoisting
2015-02-13 13:01:01 +11:00
Daniel Cousens
46db11e04a
TxBuilder: extract isCoinbaseHash function
2015-02-13 13:01:01 +11:00
Daniel Cousens
906accdc0f
TxBuilder: extract extractSignatures to free function
2015-02-13 13:00:57 +11:00
Daniel Cousens
75ca355d48
README: fix example URLs
2015-02-13 12:23:50 +11:00
Daniel Cousens
437b25e3be
Merge pull request #358 from bitcoinjs/nouglify
...
package: remove uglify-js
2015-02-13 12:02:07 +11:00
Daniel Cousens
f8b9a5f2c3
Merge pull request #356 from bitcoinjs/htenforce
...
ECSignature: enforce valid hashType in toScriptSignature
2015-02-13 12:00:21 +11:00
Daniel Cousens
3ef2d6f6ec
Merge pull request #315 from bitcoinjs/browserdocs
...
README: improve browser setup advice
2015-02-13 11:53:03 +11:00
Daniel Cousens
18fb33d433
Merge pull request #354 from bitcoinjs/wipscript
...
scripts: add allowIncomplete for multisig scripts
2015-02-13 11:48:56 +11:00
Daniel Cousens
c35d4b46c5
scripts: add allowIncomplete for multisig scripts
2015-02-12 19:50:00 +11:00
Daniel Cousens
fa96764dad
package: remove uglify-js
2015-02-12 14:39:38 +11:00
Daniel Cousens
7ad3ac5353
Merge pull request #357 from bitcoinjs/nodocs
...
doc: no section headers
2015-02-12 14:38:07 +11:00
Daniel Cousens
642315eabc
README: remove dist/ and clarify installation of other packages
2015-02-08 16:11:28 +11:00
Daniel Cousens
75ca385e42
README: no need to provide 'from the repo' require
...
Alternatively, they could also just do the standard `require('./')` if
they really wanted to do this.
2015-02-08 12:00:00 +11:00
Daniel Cousens
c11f50542e
README: don't use a bitcoin namespace for other deps
2015-02-06 19:44:54 +11:00
Daniel Cousens
2047567703
README: add note about browserify version
2015-02-05 16:30:53 +11:00
Daniel Cousens
7ee8a85eb0
README: improve browserify instructions
2015-02-05 16:30:53 +11:00
Daniel Cousens
c9db90dc4d
ECSignature: enforce valid hashType in toScriptSignature
2015-02-05 16:30:00 +11:00
Daniel Cousens
c13f1df9bf
doc: no section headers
2015-02-05 16:29:37 +11:00
Wei Lu
abf870fb37
Merge pull request #346 from bitcoinjs/rmbro
...
package: remove crypto-browserify specific version
2015-02-02 17:54:45 +08:00
Daniel Cousens
51b23c658e
package: remove crypto-browserify specific version
2015-02-02 19:04:16 +11:00
Daniel Cousens
b93903e00e
Merge pull request #343 from bitcoinjs/testfix
...
integration: avoid excessive blockchain requests
2015-01-28 16:49:38 +11:00
Daniel Cousens
234ae84b86
integration: use 'bitcoinjs-lib' as OP_RETURN constant
2015-01-27 17:36:35 +11:00
Daniel Cousens
5e1cd6e995
integration: avoid looking up all address transactions each time
2015-01-27 17:36:35 +11:00
Daniel Cousens
64678e71e0
1.4.4
2015-01-27 13:42:17 +11:00
Wei Lu
93714a2c96
Merge pull request #342 from bitcoinjs/txbfix
...
TransactionBuilder to copy version/locktime in fromTransaction
2015-01-24 13:50:04 +08:00
Daniel Cousens
cbf8c6f932
tests: format JSON consistently
2015-01-23 16:37:10 +11:00
Daniel Cousens
a529b3fa0b
TxBuilder: copy version/locktime in fromTransaction
2015-01-23 16:35:09 +11:00
Wei Lu
510212a3bd
Merge pull request #340 from bitcoinjs/npmignore
...
adds .npmignore
2015-01-14 00:21:30 +08:00
Daniel Cousens
912e94479c
adds .npmignore
2015-01-13 22:24:19 +11:00
Daniel Cousens
62ebacc6d5
1.4.3
2015-01-09 14:25:48 +11:00
Daniel Cousens
c264941d74
package: bigi 1.4.0 and crypto-browserify 3.9.0
2015-01-09 14:19:32 +11:00