Luke Childs
|
ca7e9310cd
|
Test PSBT conversion doesn't lose data
|
6 years ago |
Luke Childs
|
f925477820
|
Test txb.inputCount getter
|
6 years ago |
Luke Childs
|
cd84ab90e4
|
Move toPsbtString() to TransactionBuilderV2 not Transaction
|
6 years ago |
Luke Childs
|
cb42000841
|
Move new method over to TransactionBuilderV2
|
6 years ago |
Luke Childs
|
d5d0f63083
|
Use Base64 strings for PSBT serialisation
|
6 years ago |
Luke Childs
|
0626fc3d34
|
Fix test formatting
|
6 years ago |
Luke Childs
|
de46b941b6
|
Comment out fromPsbt() => toPsbt() tests for now. They won't work until we get sigs working
|
6 years ago |
Luke Childs
|
2a482bdbf4
|
Test there is no data loss when going from fromPsbt() => toPsbt()
|
6 years ago |
Luke Childs
|
59415cd4f3
|
Add basic test for fromPsbt
|
6 years ago |
junderw
|
352e9ef0a3
|
Add low R signing to TransactionBuilder
|
6 years ago |
junderw
|
dc1ef5958b
|
Tests to arrow functions, use strict asserts, travis uses docker instead of regtest server
|
6 years ago |
junderw
|
512b03e284
|
Fix lint transaction_builder.ts
|
6 years ago |
junderw
|
bc28949056
|
Commit js, ts, and definitions in separate folders
|
6 years ago |
junderw
|
fce08352f5
|
Add TransactionBuilder
|
6 years ago |
junderw
|
a652d0492d
|
Added Transaction
|
6 years ago |
junderw
|
d684a6b2ef
|
Fix compiler errors, tests, and scripts
|
6 years ago |
Daniel Cousens
|
a58c5b4f5b
|
txb/tests: add solo SIGHASH_ALL fixes
|
7 years ago |
Daniel Cousens
|
ed1c1a5661
|
txb: enforce outputs exist when signing
|
7 years ago |
Daniel Cousens
|
43f52c452b
|
tests: enforce something threw for invalid cases
|
7 years ago |
Daniel Cousens
|
4616d24016
|
tests/txb: remove getAddress
|
7 years ago |
Daniel Cousens
|
07fcbe5890
|
rm unused imports
|
7 years ago |
Daniel Cousens
|
d06c149ec3
|
avoid special code path, add explicit fixture overwrite
|
7 years ago |
junderw
|
f84a5d18a3
|
Fix test cases to make sure that validate: true is being set to default
|
7 years ago |
Daniel Cousens
|
89eb6fac03
|
break test/transaction_builder contruct stages, add sequential example
|
7 years ago |
Daniel Cousens
|
16195cc6ce
|
explicitly import mocha variables
|
7 years ago |
Daniel Cousens
|
eb01d35aa4
|
tests: rm last use of templates for txbuilder
|
7 years ago |
Daniel Cousens
|
400be7114b
|
use payments in TxBuilder
|
7 years ago |
Daniel Cousens
|
a5db0a4e44
|
sed -i 's/ var / const /', with const->let fixes
|
7 years ago |
Daniel Cousens
|
93b1ae4303
|
sed -i 's/^let /const /'
|
7 years ago |
Daniel Cousens
|
58f50e9f1c
|
tests: fix invalid pubKey used in testing
|
7 years ago |
Daniel Cousens
|
2fe220517f
|
transition ECPair to properties over getters
|
7 years ago |
Daniel Cousens
|
fba0699dd3
|
rm ecdsa, add new ECPair using secp256k1
|
7 years ago |
Daniel Cousens
|
c2a5d9dc1a
|
rm getAddress
|
7 years ago |
Daniel Cousens
|
a463c41fb0
|
tests/txb: fix bad BIP66 encoding (R = 0)
|
7 years ago |
Daniel Cousens
|
647f06e629
|
amend test fixtures and add default test case
|
7 years ago |
Daniel Cousens
|
5af87c0c49
|
privatise internals for TxBuilder
|
7 years ago |
Daniel Cousens
|
39a681d2d3
|
tests: add failing test for #981
|
7 years ago |
Daniel Cousens
|
5e500910df
|
tests: use P2* acronyms, not full-length text
|
7 years ago |
Daniel Cousens
|
34df503421
|
tests: fix should warn fee fail
|
8 years ago |
Daniel Cousens
|
a868d27407
|
TxBuilder: add support for RSBuffer type keyPairs and .publicKey
|
8 years ago |
Daniel Cousens
|
c729d322c2
|
tests: add failing staged transaction building example #901
|
8 years ago |
Daniel Cousens
|
f4a83f8aed
|
address/txbuilder: require templates to prevent undefined exports
|
8 years ago |
Arik Sosman
|
5508e26469
|
respond to Jonathan Underwood's comments
(cherry picked from commit 8126ca2)
|
8 years ago |
Arik Sosman
|
8f9b3443d2
|
add fixture to verify input type classification
(cherry picked from commit 8f9d8b7)
|
8 years ago |
junderw
|
286dfb3750
|
Add test case
|
8 years ago |
Daniel Cousens
|
9503e64bde
|
TransactionBuilder: collect witnessValue as input.value, and match it
|
8 years ago |
junderw
|
003df6694b
|
Add test for witness = true edge case during multisigning
|
8 years ago |
Daniel Cousens
|
5057d8d1ba
|
tests/txb: add P2WSH(multisig), incomplete fixture
|
8 years ago |
Thomas Kerin
|
912f5d4d03
|
remove redundant baddress.toOutputScript call from tests
|
8 years ago |
Thomas Kerin
|
0b1c3bfbd9
|
Should be able to deal with incomplete P2SH/P2WSH inputs when allowIncomplete is set
|
8 years ago |