Commit graph

2879 commits

Author SHA1 Message Date
junderw b1ff3cee49
Use ES2020, add dev dep for randombytes 2021-10-20 23:55:57 +09:00
junderw 32cc25dad8
Remove randombytes and create-hmac 2021-10-20 20:36:21 +09:00
junderw e5a77304fa
Refactor: Remove all require statements, remove ECPair, remove tiny-secp256k1 dep 2021-10-20 19:18:01 +09:00
Jonathan Underwood f209b0e410
Merge pull request #1672 from bitcoinjs/addAuditTest
Add npm audit CI job
2021-10-20 12:46:08 +09:00
Jonathan Underwood 793bf5a720
Merge pull request #1657 from bitcoincoretech/issue_1477
#1477 - Remove TransactionBuilder
2021-10-20 12:44:34 +09:00
Jonathan Underwood 33f36f3fb3
Merge pull request #1723 from bitcoinjs/dependabot/npm_and_yarn/path-parse-1.0.7
Bump path-parse from 1.0.6 to 1.0.7
2021-09-07 16:30:26 +09:00
Jonathan Underwood a5b64a7b02
Merge pull request #1722 from bitcoinjs/dependabot/npm_and_yarn/glob-parent-5.1.2
Bump glob-parent from 5.1.0 to 5.1.2
2021-09-07 16:30:06 +09:00
Jonathan Underwood c50290706d
Merge pull request #1721 from bitcoinjs/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2021-09-07 16:29:45 +09:00
dependabot[bot] f08fa4810e
Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-07 02:08:16 +00:00
dependabot[bot] 4ee4226558
Bump glob-parent from 5.1.0 to 5.1.2
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.0 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.0...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-07 02:08:16 +00:00
dependabot[bot] 58698e33da
Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

---
updated-dependencies:
- dependency-name: lodash
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-07 02:08:06 +00:00
Jonathan Underwood 7b753caad6
Merge pull request #1717 from OttoAllmendinger/use-writeInt32
fix(transaction): use writeInt32 to write version in hashForWitnessV0
2021-08-18 16:08:35 +09:00
Otto Allmendinger 6b71eb0c65
fix(transaction): use writeInt32 to write version
We are reading `version` as `int32` so we should write it as that as
well.
2021-08-17 14:57:28 +02:00
Jonathan Underwood 27a840aac4
Merge pull request #1694 from bitcoinjs/dependabot/npm_and_yarn/y18n-4.0.3
Bump y18n from 4.0.0 to 4.0.3
2021-04-29 17:43:18 +09:00
dependabot[bot] 397ef6d23a
Bump y18n from 4.0.0 to 4.0.3
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/y18n-v4.0.3/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/compare/v4.0.0...y18n-v4.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-29 07:41:11 +00:00
Jonathan Underwood 239711bf4e
Merge pull request #1676 from andrewtoth/bech32m
Support BIP350 bech32m address serialization and future segwit versions
2021-02-19 21:05:28 +09:00
Jonathan Underwood ef9f80906c
Update main_ci.yml 2021-02-19 21:03:58 +09:00
Jonathan Underwood 576e4e2ac9
Merge pull request #1679 from bitcoinjs/fixActions-1
Update main_ci.yml
2021-02-19 21:02:43 +09:00
Jonathan Underwood c7b3506f48
Update main_ci.yml 2021-02-19 21:00:57 +09:00
Andrew Toth a75f32f7f9 Update test fixtures for bech32m address de/serialization 2021-02-16 16:48:18 -05:00
Andrew Toth 2f7c83b286 Support address de/serialization from/to future bech32m outputs 2021-02-16 16:48:05 -05:00
Andrew Toth 40e73b4898 Bump bech32 to v2.0.0 2021-02-15 14:47:17 -05:00
junderw 79e65eeb39
Add npm audit CI job 2021-02-05 14:16:17 +09:00
Vlad Stan 16303115ac Merge branch 'master' into issue_1477 2021-02-04 09:34:51 +02:00
Jonathan Underwood 9267387206
Merge pull request #1656 from bitcoincoretech/issue_1470b
#1470 Bring over TransactionInput & TransactionOutputfrom BIP174; update tiny-secp256k1 to v1.1.5
2021-02-04 14:10:28 +09:00
Jonathan Underwood 1368b82be2
Merge pull request #1669 from bitcoincoretech/issue_1654
#1654 add link to Web UI in README
2021-02-04 14:09:03 +09:00
Jonathan Underwood 950e4717a0
Merge pull request #1671 from bitcoinjs/feature/githubActions
Use Github Actions for CI
2021-02-04 12:03:02 +09:00
junderw f5217e3acb
Use Github Actions for CI 2021-02-04 11:52:49 +09:00
Vlad Stan 34412d3e62 #1654 add link to Web UI in README 2021-02-01 12:28:54 +02:00
Vlad Stan ec61b996ad #1477 do not remove comments refering TransactionBuilder, but instead mention that TransactionBuilder was removed 2020-12-02 11:54:32 +02:00
Vlad Stan 14cfb55884 #1470 update tiny-secp256k1 to v1.1.6 2020-12-02 11:40:29 +02:00
Vlad Stan b56273a391 #1477 move script.ts test data from templates.json to script.json; remove templates.json 2020-11-27 12:09:04 +02:00
Vlad Stan c217551884 #1477 remove non-public dependecies of TransactionBuilder (classify & templates)) 2020-11-27 12:02:07 +02:00
Vlad Stan 5c6243f4e4 #1477 remove TransactionBuilder and all references to it 2020-11-27 11:39:10 +02:00
Vlad Stan c0c9760ed2 #1470 update tiny-secp256k1 from 1.1.1 to 1.1.5; 2020-11-27 10:00:51 +02:00
Vlad Stan 6661e3d5c4 #1470 Bring over TransactionInput & TransactionOutputfrom BIP174 2020-11-26 19:23:01 +02:00
Jonathan Underwood 533d6c2e6d
Merge pull request #1627 from bitcoincoretech/issue_4d
Issue 4d
2020-10-01 22:23:08 +09:00
Vlad Stan 7d3bc8ffbc #5 remove redeem script name 2020-10-01 15:12:54 +03:00
Vlad Stan e80dc8d347 #4 check name field for equate() 2020-10-01 15:12:06 +03:00
Vlad Stan 09a0eb9779 #4 do not add empty redeem script name 2020-10-01 15:10:49 +03:00
Jonathan Underwood f1d04cec00
Merge pull request #1563 from bitcoinjs/addPsbtMethods
Add PSBT methods
2020-09-12 00:53:13 +09:00
junderw 7aaef308e0
5.2.0 2020-09-12 00:49:05 +09:00
junderw 5e3442b74b
Fix txOutputs 2020-09-12 00:35:57 +09:00
junderw 3a54c73817
Update bip174 dep 2020-09-12 00:19:21 +09:00
junderw 17c47e9102
Merge branch 'master' into addPsbtMethods 2020-09-12 00:18:37 +09:00
Jonathan Underwood cd4577432f
Merge pull request #1617 from bitcoincoretech/issue_1
Add more unit tests, improve test coverage
2020-09-09 07:23:14 +09:00
Vlad Stan bae1d36244 add test for "Signature mismatch" 2020-09-07 13:49:10 +03:00
Vlad Stan c63721ca8f Add tests for the exceptions: 'Input and witness provided' and 'Non push-only scriptSig' 2020-09-07 10:56:06 +03:00
Vlad Stan b77b1a0653 add unit tests for three uncovered cases 2020-09-02 11:16:43 +03:00
Vlad Stan 970b554896 improve test name - show actual value for UINT31_MAX 2020-09-02 11:15:11 +03:00