Commit graph

42 commits

Author SHA1 Message Date
junderw
c2d8d19c61
Simplify chunkHasUncompressedPubkey and remove lazy load of output script 2020-05-21 12:54:49 +09:00
junderw
25b5806cf1
Throw errors when p2wsh or p2wpkh contain uncompressed pubkeys.
This will enforce BIP143 compressed pubkey rules on an address generation level.
2020-05-21 11:11:12 +09:00
junderw
c403757ce8
Add name attribute to Payments 2019-07-11 14:49:26 +09:00
junderw
e28e04427e
Use Prettier to make JS easier to read/audit 2019-04-21 21:30:21 +09:00
junderw
f058140ea8
Fix lint payments p2wsh 2019-03-07 13:05:04 +09:00
junderw
3ddb88168d
Fix lint payments p2wpkh 2019-03-07 13:01:40 +09:00
junderw
fe62e13023
Fix lint payments p2sh 2019-03-07 12:59:52 +09:00
junderw
db0e3f1203
Fix lint payments p2pkh 2019-03-07 12:51:22 +09:00
junderw
8d5d78431c
Fix P2PK payment lint 2019-03-07 12:47:26 +09:00
junderw
4054f3ae87
Fix lint for p2ms payment 2019-03-07 12:40:18 +09:00
junderw
db937f8110
Fix lazy.ts in payments lint 2019-03-07 12:33:47 +09:00
junderw
389ec8cb33
Fix embed.ts and index.ts for payments lint 2019-03-07 12:29:24 +09:00
junderw
0729fde36f
Remove eslint comments. 2019-03-05 15:11:20 +09:00
d-yokoi
0ad8fbc6ba
style: add build output after applying prettier 2019-03-04 22:11:54 +09:00
junderw
1732bafbc1
Update TypeScript to use ! instead of casting 2019-01-15 17:47:30 +09:00
junderw
bc28949056
Commit js, ts, and definitions in separate folders 2019-01-04 18:33:02 +09:00
junderw
572fd159b0
Added TypeScript standard linter to tests 2018-12-29 22:49:35 +09:00
junderw
e58d012615
Remove safe-buffer and add type to bitcoin-ops 2018-12-29 21:39:19 +09:00
junderw
c17cdce348
Move all imports to modules where possible 2018-12-29 16:10:36 +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
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
Daniel Cousens
a976fba27b add network derivation from redeem.network 2018-09-26 16:03:45 +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
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
14d9636b6e testing/p2wsh: add missing test case coverage 2018-07-17 15:35:08 +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
0d0f1d0847 payments: rm dependence on address export 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
38efc35fdf payments: dont always require output data 2018-06-27 13:40:20 +10:00
Daniel Cousens
f9a739e1db add payments p2ms, p2pk, p2pkh, p2sh, p2wpkh, p2wsh 2018-06-26 21:24:08 +10:00