Commit Graph

38 Commits

Author SHA1 Message Date
Youssef GHOUBACH
a25d5975ef upgrade bitcoin-js to v4 (#28818) 2018-09-13 13:16:51 -07:00
Ron Buckton
29db44ccae
Merge pull request #25757 from kento1218/fix-bitcoinjs
[bitcoinjs-lib] fix argument/return types of script templates
2018-05-16 23:00:48 -07:00
islishude
47fab38e32 fix: fix typo 2018-05-16 20:25:36 +08:00
islishude
4461c0f211 feat(bitcoinjs-lib): add bech32 field to Network interface 2018-05-16 20:12:20 +08:00
kento1218
0ecc4bfaf6 fix(bitcoinjs-lib): bump. add author 2018-05-14 15:33:25 +09:00
kento1218
b92f5af5a1 fix(bitcoinjs-lib): script templates
* encodeStack should return Buffer[]
* Signatures are assumed as Buffer, not ECSignature
2018-05-14 12:44:52 +09:00
islishude
ed35a5e5f2 fix: fix witness type 2018-05-14 07:47:28 +08:00
Shude Li
6c416c39c3
fix: add witness field to interface In
https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/src/transaction.js#L111
2018-05-13 18:56:18 +08:00
Valentin Sundermann
a99c09f598
Add compressed and network as attributes for ECPair 2018-03-23 23:50:58 +01:00
Joemar Taganna
9768aa9695 Make network argument in ECPair.fromWIF method optional
I corrected the typing for ECPair.fromWIF method so that the network argument is optional as it really should
2018-03-14 09:38:12 +08:00
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Youssef GHOUBACH
f668bd5740 [FIX] Address.fromOutputScript returns string not buffer (#22560) 2018-01-02 12:18:48 -08:00
Mick Charuwichitratana
b201c7e42b [@types/bitcoinjs-lib] Improve bitcoinjs-lib type definition to support version 3.3 2017-12-23 19:32:23 +07:00
dlebrecht
d6a19cdc92
Merge branch 'master' into bitcoinjs 2017-10-30 18:04:37 +01:00
Daniel Lebrecht
702e24c072 according to @DanielRosenwasser 2017-10-30 18:02:07 +01:00
Daniel Lebrecht
1eba1a5d75 builder addOutput now takes Buffer | string
nullData.output.encode Buffer

fixing bugs according to @bobrosoft
2017-10-26 02:06:45 +02:00
dlebrecht
43a6d92869 Bitcoinjs (#20556)
* added inputs to transaction builder

* verify should return boolean, fixed inputs

* added property private key (d) in ECPair class
2017-10-23 12:43:58 -07:00
Andy
097d2acf71 Miscellaneous lint fixes (#20849) 2017-10-22 15:22:50 -07:00
Daniel Lebrecht
5f30e1c83d added property private key (d) in ECPair class 2017-10-13 17:11:27 +02:00
dlebrecht
8682250978 Bitcoinjs-lib small fixes (#20231)
* added inputs to transaction builder

* verify should return boolean, fixed inputs
2017-10-09 16:16:19 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Daniel Lebrecht
aafbcfd90b verify should return boolean, fixed inputs 2017-10-03 13:57:11 +02:00
Daniel Lebrecht
374d649fde added inputs to transaction builder 2017-08-23 16:38:35 +02:00
Daniel Lebrecht
e810a5d679 fixed type of address.toOutputScript 2017-08-22 12:37:01 +02:00
Daniel Lebrecht
f33c73125b fixed tests 2017-08-15 10:56:33 +02:00
Daniel Lebrecht
063ef9dee2 fixed bugs following @dcousens review 2017-08-15 09:18:17 +02:00
dlebrecht
279f799050 bitcoinjs-lib fixed types, added re-exports (#18932)
* fixed small errors, added reexports from templates

* added witness stuff

* change indent to 4 spaces
2017-08-14 11:46:21 -07:00
Daniel Lebrecht
ea83455b89 fixed old tests and they're now passing 2017-07-14 12:00:08 +02:00
Daniel Lebrecht
143dd0ceb6 added and fixed tests 2017-07-14 11:47:30 +02:00
Daniel Lebrecht
47689f36ce small style fixes 2017-07-07 23:09:57 +02:00
Daniel Lebrecht
ca61e7a069 changed [] for Array on complex types 2017-07-07 22:44:31 +02:00
Daniel Lebrecht
1bc2e97c9f fixed header mistakes 2017-07-07 22:30:31 +02:00
Daniel Lebrecht
57973a4618 fixed types
following @rbuckton <https://github.com/rbuckton> instructions.

deleted tests
2017-07-07 20:56:30 +02:00
Daniel Lebrecht
c4d1e13857 updated bitcoinjs-lib to version 3.0.3 2017-07-03 15:01:22 +02:00
Andy
bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Andy
ff0d451b56 Fix various lint errors (#15529) 2017-03-30 15:33:16 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00