Commit graph

1338 commits

Author SHA1 Message Date
junderw
c17cdce348
Move all imports to modules where possible 2018-12-29 16:10:36 +09:00
junderw
9955c3c082
Add strictPropertyInitialization 2018-12-29 15:25:54 +09:00
junderw
fdf0006fde
Add strictNullChecks 2018-12-29 15:25:45 +09:00
junderw
4cddc83016
noImplicitAny is now true 2018-12-29 15:25:45 +09:00
junderw
867f4b59f9
Add payments 2018-12-29 15:25:45 +09:00
junderw
5c34b4ce22
Add Witness Commitment 2018-12-29 15:25:44 +09:00
junderw
604072ffad
Add P2SH 2018-12-29 15:25:44 +09:00
junderw
528dff01c1
Add P2WSH 2018-12-29 15:25:44 +09:00
junderw
c488001b82
Add P2WPKH 2018-12-29 15:25:44 +09:00
junderw
3db951fc64
Add p2pkh template 2018-12-29 15:25:44 +09:00
junderw
9da1c95f89
Add P2PK templates 2018-12-29 15:25:44 +09:00
junderw
2f32ea6bc9
OP_RETURN and Multisig templates 2018-12-29 15:25:43 +09:00
junderw
3b77caa4f1
Fixed script, script number and signature 2018-12-29 15:25:27 +09:00
junderw
fce08352f5
Add TransactionBuilder 2018-12-29 15:25:27 +09:00
junderw
58a6b0e545
Convert ECPair 2018-12-29 15:25:27 +09:00
junderw
a652d0492d
Added Transaction 2018-12-29 15:25:11 +09:00
junderw
2eb9534939
Move Block Class from ES6 PR 2018-12-29 15:25:00 +09:00
junderw
91d3037cf3
Fix some exports 2018-12-29 15:24:59 +09:00
junderw
037fbd8984
# This is a combination of 2 commits.
# The first commit's message is:

Add types to Networks and Addresses

# This is the 2nd commit message:

Added types
2018-12-29 15:23:28 +09:00
junderw
b4d54af0fe
Remove AllowJS and get definitions 2018-12-29 15:23:14 +09:00
junderw
d684a6b2ef
Fix compiler errors, tests, and scripts 2018-12-29 15:20:37 +09:00
junderw
bb98289501
Renamed files to ts 2018-12-21 17:55:03 +09:00
junderw
f860d467d6
Revert "Merge pull request #1086 from bitcoinjs/refactorTransaction"
This reverts commit 5e1ae82a5d, reversing
changes made to 96240b636d.
2018-12-19 00:16:48 +09:00
Jonathan Underwood
5e1ae82a5d
Merge pull request #1086 from bitcoinjs/refactorTransaction
Move Transaction to ES6 class syntax
2018-12-18 11:47:37 +09:00
junderw
7c0e02ad48
Fix Block to allow regtest target (easiest possible target) 2018-12-12 21:07:16 +09:00
junderw
44a98c0fa6
Add regtest network 2018-11-15 15:32:03 +09:00
junderw
a88aa33348
Revert function hoisting removal 2018-09-26 16:30:33 +09:00
Jonathan Underwood
582727f6de
Merge pull request #1232 from bitcoinjs/payments
P2SH/P2WSH payments .network should use .redeem.network if undefined
2018-09-26 15:09:39 +09:00
Daniel Cousens
a976fba27b add network derivation from redeem.network 2018-09-26 16:03:45 +10:00
junderw
17c89fdc5e
Move Transaction to ES6 2018-09-26 14:54:53 +09:00
junderw
b4bab427f8
Merge pull request #1201 from bitcoinjs/p2msmore
tests: add extra P2MS testing fixtures
2018-09-26 14:13:16 +09:00
Daniel Cousens
c8ae86b9ce refactor(txb): maxSignatures is optional 2018-09-26 15:02:18 +10:00
Daniel Cousens
7c3d1f292d txb: add inline explanatory comment 2018-09-26 14:57:03 +10:00
Daniel Cousens
1119a449a5 txbuilder: add missing signature P2MS fixture 2018-09-26 14:54:03 +10:00
Daniel Cousens
d232545ac8 rename MULTISIG to P2MS 2018-09-26 14:54:03 +10:00
Daniel Cousens
a58c5b4f5b txb/tests: add solo SIGHASH_ALL fixes 2018-09-26 14:52:05 +10:00
Daniel Cousens
2223e6170e txb/tests: test solo SIGHASH_ALL, support existing SIGHASH_NONE 2018-09-26 14:39:58 +10:00
Daniel Cousens
ed1c1a5661 txb: enforce outputs exist when signing 2018-09-26 14:36:10 +10:00
Daniel Cousens
f89ef93d1e rm empty file 2018-09-17 10:38:18 +10:00
JP Richardson
09b2475117
remove superfluous package.json file in payments/ 2018-09-16 01:17:04 -05:00
junderw
24d541d0ed
Fix default assignment of validate key for payments
Fixes problems with p2ms experienced in issue below.

Related: #1194
2018-08-28 14:21:18 +09:00
Jonathan Underwood
20551fd380
Merge pull request #1153 from bitcoinjs/paybetter
Increased coverage for payments
2018-08-23 13:47:07 +09:00
Daniel Cousens
55207e5742 tests/payments/p2pk*: add signature mismatch tests 2018-07-27 20:48:32 +10:00
Daniel Cousens
3ed77c4820 payments: cleanup 2018-07-27 20:48:28 +10:00
Daniel Cousens
54ec449a75 payments/p2sh: try not to rely on o. in validation 2018-07-27 20:31:30 +10:00
Daniel Cousens
cf9a35f59b payments: more const 2018-07-27 20:31:30 +10:00
Daniel Cousens
85b1b92b6d tests/ECPair: test fromPublic/fromPrivate in isolation 2018-07-26 18:05:39 +10:00
Daniel Cousens
079d83d887 txbuilder: note consensus issue 2018-07-23 10:41:01 +10:00
Daniel Cousens
de0259a820 tests/integration/payments: enable failing P2SH(P2WSH(P2WPKH)) tests 2018-07-20 17:30:29 +10:00
Daniel Cousens
74756ed597 TransactionBuilder: fix P2WPKH not using a P2PKH signScript for P2WPKH 2018-07-17 22:33:32 +10:00