Commit graph

136 commits

Author SHA1 Message Date
junderw
11e4a12caf
Change filenames for easy diff 2019-09-04 18:52:33 +09:00
junderw
d05806fe69
Update README, add deprecation warning 2019-07-19 15:10:58 +09:00
junderw
1b39d9caf4
Make errors clearer and increase coverage 2019-06-17 13:34:20 +09:00
junderw
071e201a75
Silence console.warn during old arg tests 2019-06-17 13:02:09 +09:00
junderw
4bed585f6a
Test old args as well 2019-06-14 11:55:34 +09:00
junderw
969b3a5e18
Fix tests to use new sign method 2019-06-13 13:07:00 +09:00
junderw
352e9ef0a3
Add low R signing to TransactionBuilder 2019-04-15 17:27:28 +09:00
junderw
dc1ef5958b
Tests to arrow functions, use strict asserts, travis uses docker instead of regtest server 2019-04-09 15:09:50 +09:00
junderw
512b03e284
Fix lint transaction_builder.ts 2019-03-07 14:03:04 +09:00
junderw
bc28949056
Commit js, ts, and definitions in separate folders 2019-01-04 18:33:02 +09:00
junderw
fce08352f5
Add TransactionBuilder 2018-12-29 15:25:27 +09:00
junderw
a652d0492d
Added Transaction 2018-12-29 15:25:11 +09:00
junderw
d684a6b2ef
Fix compiler errors, tests, and scripts 2018-12-29 15:20:37 +09:00
Daniel Cousens
a58c5b4f5b txb/tests: add solo SIGHASH_ALL fixes 2018-09-26 14:52:05 +10:00
Daniel Cousens
ed1c1a5661 txb: enforce outputs exist when signing 2018-09-26 14:36:10 +10:00
Daniel Cousens
43f52c452b tests: enforce something threw for invalid cases 2018-09-26 14:36:09 +10:00
Daniel Cousens
4616d24016 tests/txb: remove getAddress 2018-09-26 14:36:09 +10:00
Daniel Cousens
a6f2cc2924
Merge pull request #1229 from bitcoinjs/brows
explicitly import mocha variables
2018-09-26 13:25:07 +10:00
Daniel Cousens
07fcbe5890 rm unused imports 2018-09-13 17:34:42 +10:00
Daniel Cousens
3588d1100f
Merge pull request #1195 from bitcoinjs/fixP2MS
Fix default assignment of validate key for payments
2018-09-03 14:24:56 +10:00
Daniel Cousens
d06c149ec3 avoid special code path, add explicit fixture overwrite 2018-09-03 14:23:29 +10:00
junderw
f84a5d18a3
Fix test cases to make sure that validate: true is being set to default 2018-09-03 12:05:06 +09:00
Daniel Cousens
89eb6fac03 break test/transaction_builder contruct stages, add sequential example 2018-08-23 12:43:31 +10:00
Daniel Cousens
16195cc6ce explicitly import mocha variables 2018-07-23 17:45:01 +10:00
Daniel Cousens
eb01d35aa4 tests: rm last use of templates for txbuilder 2018-07-03 22:07:08 +10:00
Daniel Cousens
400be7114b use payments in TxBuilder 2018-06-27 17:39:55 +10:00
Daniel Cousens
a5db0a4e44 sed -i 's/ var / const /', with const->let fixes 2018-06-25 18:26:23 +10:00
Daniel Cousens
93b1ae4303 sed -i 's/^let /const /' 2018-06-25 16:24:37 +10:00
Daniel Cousens
58f50e9f1c tests: fix invalid pubKey used in testing 2018-06-05 18:27:33 +10:00
Daniel Cousens
2fe220517f transition ECPair to properties over getters 2018-05-30 15:52:03 +10:00
Daniel Cousens
fba0699dd3 rm ecdsa, add new ECPair using secp256k1 2018-05-30 15:52:03 +10:00
Daniel Cousens
c2a5d9dc1a rm getAddress 2018-05-30 11:09:07 +10:00
Daniel Cousens
a463c41fb0 tests/txb: fix bad BIP66 encoding (R = 0) 2018-05-22 16:59:05 +10:00
Daniel Cousens
024c541d7e
Merge branch 'master' into __tx 2018-04-30 10:43:44 +10:00
Daniel Cousens
647f06e629 amend test fixtures and add default test case 2018-04-16 11:33:04 +10:00
Daniel Cousens
5af87c0c49 privatise internals for TxBuilder 2018-04-14 01:31:02 +10:00
Daniel Cousens
39a681d2d3 tests: add failing test for #981 2018-01-17 14:48:56 +11:00
Daniel Cousens
5e500910df tests: use P2* acronyms, not full-length text 2018-01-17 14:20:04 +11:00
Daniel Cousens
34df503421 tests: fix should warn fee fail 2017-12-01 13:06:35 +11:00
Daniel Cousens
a868d27407 TxBuilder: add support for RSBuffer type keyPairs and .publicKey 2017-10-19 13:41:57 +11:00
Daniel Cousens
c729d322c2 tests: add failing staged transaction building example #901 2017-09-27 10:00:36 +10:00
Daniel Cousens
f4a83f8aed address/txbuilder: require templates to prevent undefined exports 2017-09-27 07:08:19 +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
junderw
286dfb3750 Add test case 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
Daniel Cousens
5057d8d1ba tests/txb: add P2WSH(multisig), incomplete fixture 2017-08-23 16:07:28 +10:00
Thomas Kerin
912f5d4d03 remove redundant baddress.toOutputScript call from tests 2017-08-09 15:11:05 +10:00
Thomas Kerin
0b1c3bfbd9 Should be able to deal with incomplete P2SH/P2WSH inputs when allowIncomplete is set 2017-08-09 15:11:05 +10:00