Commit graph

2114 commits

Author SHA1 Message Date
Daniel Cousens
a868d27407 TxBuilder: add support for RSBuffer type keyPairs and .publicKey 2017-10-19 13:41:57 +11:00
Daniel Cousens
b94da10e6c ECSignature: add toRSBuffer/fromRSBuffer 2017-10-19 13:41:35 +11:00
Daniel Cousens
a301aa8d3c 3.2.1 2017-10-19 12:18:10 +11:00
Daniel Cousens
e0b227e4ef s/checkP2shInput/checkP2SHInput 2017-10-19 10:52:21 +11:00
Daniel Cousens
1157856ab0 Merge pull request #911 from bitcoinjs/segwittests
Add tests for scripts.witness*.input and fixes
2017-09-28 00:03:11 +10:00
Daniel Cousens
ace2b551bd Merge pull request #910 from bitcoinjs/txbfix
Fixes for issue 901 continued
2017-09-27 23:17:30 +10:00
Daniel Cousens
41378f9648 txbuilder: apply input.value before prepareInput 2017-09-27 10:00:36 +10:00
Daniel Cousens
c729d322c2 tests: add failing staged transaction building example #901 2017-09-27 10:00:36 +10:00
Daniel Cousens
8c217a7ba7 witnessScriptHash: fixed implementation 2017-09-27 08:30:31 +10:00
Daniel Cousens
6013bf075c tests: add passing and failing tests for witness*.input.encode/decode 2017-09-27 08:30:20 +10:00
Daniel Cousens
f4a83f8aed address/txbuilder: require templates to prevent undefined exports 2017-09-27 07:08:19 +10:00
Daniel Cousens
b6a6b0a50a Merge pull request #908 from bitcoinjs/txbfix
TxBuilder: fix canSign returning true for missing witness value
2017-09-26 20:02:55 +10:00
Daniel Cousens
4f041b256f Merge pull request #907 from bitcoinjs/nocirc
rm bitcoin.script circular dependencies with templates
2017-09-26 20:02:38 +10:00
Daniel Cousens
eb6eac67b0 txbuilder: fix canSign returning true for missing witness value 2017-09-26 18:49:14 +10:00
Daniel Cousens
bae91395ef rm bscript circular dependencies 2017-09-26 14:25:30 +10:00
Daniel Cousens
7795ffd328 Merge pull request #904 from bitcoinjs/cleanup
package: rm contributors field, outdated, update wallet estimate
2017-09-25 18:06:42 +10:00
Daniel Cousens
59c9df2970 Merge pull request #903 from bitcoinjs/es5
README: add notes about ES5, Node LTS feature tracking
2017-09-25 18:05:47 +10:00
Daniel Cousens
8c408f9b2a package: rm contributors field, outdated, update wallet estimate 2017-09-25 10:02:57 +10:00
Daniel Cousens
a9434f71ec README: add notes about ES5, Node LTS feature tracking 2017-09-25 09:35:36 +10:00
Daniel Cousens
d364e65677 Merge pull request #898 from bitcoinjs/fixes
scriptHash.check should be agnostic of classification order
2017-09-23 22:25:48 +10:00
Daniel Cousens
95cc837c06 tests/fixtures: amend truncated outputHex 2017-09-22 13:51:02 +10:00
Daniel Cousens
47ee3d294e Merge pull request #900 from arik-so/classification_test_fix
Classification test fix
2017-09-22 13:48:01 +10:00
Arik Sosman
5508e26469 respond to Jonathan Underwood's comments
(cherry picked from commit 8126ca2)
2017-09-21 20:23:19 -07:00
Arik Sosman
8f9b3443d2 add fixture to verify input type classification
(cherry picked from commit 8f9d8b7)
2017-09-21 20:23:13 -07:00
Daniel Cousens
8f01e4273c match scriptHash types 1 for 1, ignore classify order 2017-09-22 12:15:10 +10:00
Daniel Cousens
deb8b0f7d8 tests: script tests can validate template fixtures too 2017-09-22 11:33:32 +10:00
Daniel Cousens
76a6b17a51 3.2.0 2017-09-17 10:05:15 +10:00
Daniel Cousens
f9700a9af3 Merge pull request #892 from bitcoinjs/320
update CHANGELOG
2017-09-17 10:04:40 +10:00
Daniel Cousens
6cec6a298a update CHANGELOG 2017-09-15 19:19:42 +10:00
Thomas Kerin
da49e389c4 multisig.input.encodestack - replace OP_0 (permitted by partialSignature) with EMPTY_BUFFER 2017-09-15 19:08:55 +10:00
Thomas Kerin
105a82762c buildstack - don't return op_0 2017-09-15 19:08:55 +10:00
dabura667
7563d8f74a Fix absurd fee in fixture 2017-09-15 12:31:35 +10:00
junderw
286dfb3750 Add test case 2017-09-15 12:31:35 +10:00
junderw
6e5742d86d Fix txb.__overMaximumFees for segwit 2017-09-15 12:31:35 +10:00
Daniel Cousens
9503e64bde TransactionBuilder: collect witnessValue as input.value, and match it 2017-09-06 20:59:10 +10:00
junderw
003df6694b Add test for witness = true edge case during multisigning 2017-09-06 20:46:20 +10:00
junderw
1495384862 Add witness is true to signing 2017-09-06 20:46:20 +10:00
Daniel Cousens
f7d33c5357 README: cleanup typescript help 2017-09-05 14:53:30 +10:00
Daniel Lebrecht
4f1b80df52 typescript instructions on README
closes:
https://github.com/bitcoinjs/bitcoinjs-lib/issues/815
2017-09-05 14:49:59 +10:00
Wade Pedersen
f09647bf1c Fixed some README links
Found some more links that were displaced by the Segwit unit tests and fixed them
2017-09-05 05:49:15 +10:00
Wade Pedersen
b0a2dbbda5 Fixed Segwit links
The links were redirecting to 404 - I've modified them so they adhere to the beginning of the respective Segwit unit tests.
2017-09-05 05:49:15 +10:00
Daniel Cousens
56dfb873d3 add bech32 fixture 2017-08-26 11:01:19 +10:00
Hasan Tayyar BEŞİK
ba0393f369 Fix the integration url's to latest version
also some of the urls were broken
2017-08-25 23:26:37 +10:00
Daniel Cousens
e7c59c4b8b script: use asMinimalOP for ASM/decompile 2017-08-24 12:28:50 +10:00
Daniel Cousens
152eed57a0 templates/pubkey: only canonical pubkeys to encode 2017-08-23 17:26:06 +10:00
Daniel Cousens
3ba17a1479 TxBuilder: restrict uncompressed keyPairs for P2WPK and P2WSH 2017-08-23 17:26:06 +10:00
Daniel Cousens
3ffac6cd39 add witnessPubKeyHash compressed policy 2017-08-23 17:26:06 +10:00
Daniel Cousens
5057d8d1ba tests/txb: add P2WSH(multisig), incomplete fixture 2017-08-23 16:07:28 +10:00
Daniel Cousens
0157f18510 txbuilder: refactor branches for readability 2017-08-23 16:07:28 +10:00
Daniel Cousens
9bae30d112 tests: resist txn-mempool-conflicts 2017-08-21 19:13:24 +10:00