Luke Childs
|
e7345d5446
|
{in,out}puts => tx{In,Out}puts
|
5 years ago |
Luke Childs
|
c68986231c
|
Improve property names
|
5 years ago |
Luke Childs
|
5d81b94362
|
Update tests to use Psbt getters
|
5 years ago |
junderw
|
5679a4b455
|
Check write/read Slice out of bounds
|
5 years ago |
junderw
|
c8fdfae955
|
Add BufferReader tests
|
5 years ago |
junderw
|
06674b19fe
|
Add BufferReader to Transaction and fix tests
|
5 years ago |
Otto Allmendinger
|
cec5fb5357
|
Extract BufferWriter class
Move various write methods to a class `BufferWriter`.
This allows increased code reuse for libraries that want to implement
different serialization formats.
Also de-duplicates some code paths and increases test coverage.
Original concept by idea by https://github.com/argjv:
https://github.com/BitGo/bitgo-utxo-lib/blob/master/src/bufferWriter.js
|
5 years ago |
junderw
|
e10324f850
|
PSBT Bugfix for multiple of same pubkey in p2ms
|
5 years ago |
junderw
|
48bf08c0d3
|
Add weight and ability to get strippedsize
|
5 years ago |
junderw
|
f222447323
|
Add CSV example for custom finalizer
|
6 years ago |
junderw
|
7ef3fe4996
|
Add sanity check for arguments
|
6 years ago |
d-yokoi
|
e104a73e73
|
chore: update type assertion
|
6 years ago |
junderw
|
9810049f4c
|
Add tslint to tests
|
6 years ago |
junderw
|
34b0b525fc
|
Update @types/node and fix problems with types
|
6 years ago |
junderw
|
f376913a4c
|
Remove TransactionBuilder from tests (besides transaction_builder.spec.ts)
|
6 years ago |
junderw
|
6c08a0be40
|
Move tests to TypeScript (coverage is still JS based)
|
6 years ago |
junderw
|
11e4a12caf
|
Change filenames for easy diff
|
6 years ago |
junderw
|
14d10c74a5
|
Remove VSize, can get from Transaction
|
6 years ago |
junderw
|
139197e545
|
Add getFee and getVSize
|
6 years ago |
junderw
|
a395af47fd
|
Simplify nonWitnessUtxo integration tests to not confuse learners
|
6 years ago |
junderw
|
bf45f3638b
|
WIP: Allow nonWitnessUtxo with segwit
|
6 years ago |
junderw
|
4e8aecb5e0
|
Use output for faucetComplex
|
6 years ago |
junderw
|
a3b6cdabb9
|
Update regtest-client
|
6 years ago |
junderw
|
e4844828de
|
Check signatures for finalized inputs too
|
6 years ago |
junderw
|
a3bfee75b0
|
Fix method names for PSBT
|
6 years ago |
junderw
|
d05806fe69
|
Update README, add deprecation warning
|
6 years ago |
junderw
|
e19bc58b30
|
Rename methods
|
6 years ago |
junderw
|
1c5b0025c8
|
Update integration test with HD example
|
6 years ago |
junderw
|
4366b621d7
|
Add HD signer methods
|
6 years ago |
junderw
|
def2182eaf
|
Fix: integration test comments
|
6 years ago |
junderw
|
19a33f7da8
|
Add comments and remove fromTransaction
|
6 years ago |
junderw
|
71ddd656a3
|
Modify for new BIP174 interface system
|
6 years ago |
Luke Childs
|
d790288048
|
Test the sighashtype is checked when signing
|
6 years ago |
Luke Childs
|
f25938d3ca
|
Test signing a non-whitelisted sighashtype
|
6 years ago |
junderw
|
1feef9569c
|
Composition over inheritance
|
6 years ago |
junderw
|
c403757ce8
|
Add name attribute to Payments
|
6 years ago |
junderw
|
2f1609b918
|
Fix: P2WPKH was signing with nonWitnessUtxo
|
6 years ago |
junderw
|
8a5104c333
|
Add tests
|
6 years ago |
junderw
|
266302a3ae
|
Add P2WSH-P2PK finalize vector
|
6 years ago |
junderw
|
9ee115b030
|
assert the fee calculation is correct
|
6 years ago |
Luke Childs
|
876a241e0c
|
Test finalizeAllInputs against P2WPKH input
|
6 years ago |
Luke Childs
|
7377566f98
|
Test finalizeAllInputs against P2SH-P2WPKH input
|
6 years ago |
Luke Childs
|
f55ee32386
|
Test finalizeAllInputs against P2PKH input
|
6 years ago |
Luke Childs
|
bc56ca0fa1
|
Test finalizeAllInputs against P2PK input
|
6 years ago |
Luke Childs
|
ec2c14b81f
|
Extract finalizeAllInputs test out of BIP174 test cases
|
6 years ago |
Luke Childs
|
f6ab5b796f
|
Move all BIP174 test cases into BIP14 describe block
|
6 years ago |
Luke Childs
|
d051446275
|
Add P2MS test case to finalizer tests
|
6 years ago |
Luke Childs
|
47b42e72f4
|
Refactor and cleanup getFeeRate tests
|
6 years ago |
Luke Childs
|
da5adcf88f
|
Refactor and cleanup validateSignatures tests
|
6 years ago |
Luke Childs
|
0d9fa87943
|
Move nonWitnessUtxo cache tests out into own test
|
6 years ago |