Commit graph

2478 commits

Author SHA1 Message Date
Daniel Cousens
7d8dd860d1 testing: use NODE_ENV instead of mocha constants 2019-01-01 11:32:27 +11:00
Jonathan Underwood
0cfc88d670
Merge pull request #1309 from rlaace423/patch-1
Update transactions.js
2018-12-31 15:54:07 +09:00
Jonathan Underwood
1d73823a84
Merge pull request #1239 from ak1103dev/patch-1
Add example for using in production
2018-12-31 15:53:49 +09:00
Jonathan Underwood
f8490b6c0d
Update rng function
In case someone copy pastes, instead of getting a dangerous key, they will get a random key, and a console error.
2018-12-31 15:17:00 +09:00
Sam (Sangho Kim)
53b8f966e7
Update transactions.js
I think this is typo.
2018-12-31 12:24:27 +09:00
junderw
e7ac2b9a4e
pull in bip32 typescript 2018-12-30 15:08:29 +09:00
junderw
63d51d1da7
Export some types and interfaces 2018-12-30 13:34:40 +09:00
junderw
b8c2e9e339
Change ECPair to be compatible with payment({pubkey:ecpair.publicKey}) 2018-12-30 11:23:28 +09:00
Jonathan Underwood
5037183f59
Merge pull request #1279 from bitcoinjs/ver
add P2SH(P2WPKH) signature verification example
2018-12-30 09:21:09 +09:00
junderw
35adaa8471
Add test from bugfix, also remove unnecessary arg 2018-12-29 23:27:57 +09:00
junderw
f8427274cc
Add a few type aliases to TransactionBuilder 2018-12-29 23:00:32 +09:00
junderw
572fd159b0
Added TypeScript standard linter to tests 2018-12-29 22:49:35 +09:00
Jonathan Underwood
46c1991efa
Merge pull request #1307 from bitcoinjs/bugFixes
Fix some small bugs
2018-12-29 21:42:12 +09:00
junderw
e58d012615
Remove safe-buffer and add type to bitcoin-ops 2018-12-29 21:39:19 +09:00
junderw
912d6d41be
Fix some small bugs 2018-12-29 17:02:32 +09:00
junderw
3124e50e52
TypeScript hates Buffer.prototype.reverse, so fixed it. 2018-12-29 16:36:36 +09:00
junderw
c17cdce348
Move all imports to modules where possible 2018-12-29 16:10:36 +09:00
junderw
44d88fcfb3
Clean up scripts and add postinstall for installing via git 2018-12-29 15:25:55 +09:00
junderw
1aaba64acc
esModuleInterop was causing low coverage 2018-12-29 15:25:54 +09:00
junderw
a7735ce077
Match coverage targets with current level 2018-12-29 15:25:54 +09:00
junderw
180f9ec958
Enable strict (HUZZAH\!) 2018-12-29 15:25:54 +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
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