Commit graph

2696 commits

Author SHA1 Message Date
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
e855bde3b3
Add tsconfig.json and types for node as well as typescript 2018-12-21 18:17:54 +09:00
junderw
bb98289501
Renamed files to ts 2018-12-21 17:55:03 +09:00
Jonathan Underwood
293116b20f
Merge pull request #1293 from bitcoinjs/revertTxES6
Revert "Merge pull request #1086 from bitcoinjs/refactorTransaction"
2018-12-19 10:30:53 +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
Jonathan Underwood
96240b636d
Merge pull request #1228 from bitcoinjs/readme
README: add usage notes
2018-12-17 13:00:13 +09:00
Jonathan Underwood
2823cd6ccb
Merge pull request #1285 from bitcoinjs/fixBlock
Fix Block to allow regtest target (easiest possible target)
2018-12-15 18:46:45 +09:00
junderw
7c0e02ad48
Fix Block to allow regtest target (easiest possible target) 2018-12-12 21:07:16 +09:00
Daniel Cousens
f57a73496d
Merge pull request #1283 from bitcoinjs/junderw-patch-1
Add notes for learners about nSequence + LockTime
2018-12-09 22:20:01 +00:00
Jonathan Underwood
15289fe0cf
Add notes for learners about nSequence + LockTime 2018-12-10 01:01:55 +09:00
Daniel Cousens
959ba5ae96 add P2SH(P2WPKH) signature verification example 2018-12-06 13:21:22 +11:00
Daniel Cousens
e1049c1090 README: fix emphasis 2018-11-29 15:31:45 +11:00
Daniel Cousens
aac228011f README: rm bad sha256 hash example 2018-11-29 15:31:45 +11:00
Daniel Cousens
a908e909d1 README: rm stealth address examples 2018-11-29 15:31:45 +11:00
Daniel Cousens
5fc673a8d6 README: link to external explanations 2018-11-29 15:31:45 +11:00
Daniel Cousens
e514bc7364 README: add extra suggestions for best practice 2018-11-29 15:31:45 +11:00
Daniel Cousens
b273deb265 README: add crypto is hard disclaimer 2018-11-29 15:31:45 +11:00
Daniel Cousens
1b5d1fadba README: use https 2018-11-29 15:31:45 +11:00
Jonathan Underwood
9a8552acda
Merge pull request #1268 from bitcoinjs/dcousens-patch-1
README: upgrade iOS warning
2018-11-27 13:37:27 +09:00
Daniel Cousens
47b5dfb468
README: add warning to flow type bindings 2018-11-27 03:51:08 +00:00
Daniel Cousens
06342a830f
README: upgrade iOS warning 2018-11-27 03:48:57 +00:00
Dabura667
5416fafe06
Merge pull request #1267 from bitcoinjs/dcousens-patch-1
README: emphasis dependencies review
2018-11-27 11:25:04 +09:00
Daniel Cousens
661ec6b918
README: more emphasis 2018-11-27 01:21:01 +00:00
Daniel Cousens
1e05fa085e
README: emphasis dependencies 2018-11-27 01:20:08 +00:00
Daniel Cousens
ee694a3de1
Merge pull request #1262 from bitcoinjs/fixErrorText
Switch Regtest Server over to bitbank.cc subdomain and make adjustments
2018-11-21 03:53:39 +00:00
junderw
9c409b1274
Change regtest server over to regtest.bitbank.cc 2018-11-20 16:28:35 +09:00
junderw
bd0be2f343
Fix errors for bitcoin core 0.17.0 2018-11-15 18:52:42 +09:00
Jonathan Underwood
489e96ca91
Merge pull request #1261 from bitcoinjs/addRegtest
Add regtest network
2018-11-15 18:25:29 +09:00
junderw
28bfb71b54
Add tests for regtest bech32 address 2018-11-15 15:44:03 +09:00
junderw
44a98c0fa6
Add regtest network 2018-11-15 15:32:03 +09:00
Apichan Chaiyutthasat
b93d9d99cc
Update addresses.js 2018-10-06 13:13:40 +07: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
Daniel Cousens
1b4dc48d75 add failing tests for redeem.network derivation 2018-09-26 16:03:42 +10:00
Daniel Cousens
6927f74b7a add inverted Network mismatch tests 2018-09-26 16:03:42 +10:00
Daniel Cousens
df2a66c852 tests/payments: fix redeem fixture mutation 2018-09-26 16:03:42 +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
junderw
3c8e8fb4ae
Merge branch 'stricttxb' into 'master' 2018-09-26 14:10:07 +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