Commit graph

1175 commits

Author SHA1 Message Date
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
Daniel Cousens
14d9636b6e testing/p2wsh: add missing test case coverage 2018-07-17 15:35:08 +10:00
Daniel Cousens
5481bde49c templates: rm unused nulldata code 2018-07-14 20:49:01 +10:00
Daniel Cousens
de90fea0ac payments: rename p2data to embed 2018-07-14 20:49:01 +10:00
Daniel Cousens
44c13665c8 payments: add p2data 2018-07-14 20:49:01 +10:00
Daniel Cousens
7104bb412e tests/payments: add missing tests 2018-07-14 20:45:30 +10:00
Daniel Cousens
0d9619aeed payments/p2wpkh: fix exception messages 2018-07-14 20:14:15 +10:00
Daniel Cousens
35e0956ed9 payments/p2ms: add const to p2ms 2018-07-14 20:14:13 +10:00
Daniel Cousens
a9090dc0cc templates: rm dead code 2018-07-03 23:00:00 +10:00
Daniel Cousens
0d0f1d0847 payments: rm dependence on address export 2018-07-03 22:07:08 +10:00
Daniel Cousens
6cacea6f31 rm templates export, rename to classify 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
1fba0c62a5 tests: add missing context information to Sighash V1 description 2018-06-27 17:38:27 +10:00
Daniel Cousens
47e5a0e179 witnessScriptHash: fix null decompile leading to errors -- TODO: add test 2018-06-27 17:38:27 +10:00