Daniel Cousens
e835f1fe95
TransactionBuilder: add fee safety
2016-11-12 12:53:53 +01:00
Daniel Cousens
a956b8859f
networks: drop dogecoin and dustThreshold
2016-10-20 23:40:46 -05:00
Daniel Cousens
5dcf38c0c5
HDNode: clearer error for bad path type
2016-10-12 13:15:54 +11:00
Daniel Cousens
9f1ebf72a6
types: remove unused UInt2, BIP32 is capitals
2016-10-12 13:15:54 +11:00
Daniel Cousens
45b0e35264
transaction/types: use Satoshi over UInt53
2016-10-07 14:25:44 +11:00
Daniel Cousens
ecc6d45a7e
types: add Satoshi
2016-10-07 14:25:44 +11:00
Daniel Cousens
b91cfcf196
package: update to typeforce 1.8.7
2016-10-06 12:34:11 +11:00
Daniel Cousens
a1d3e33c84
address/crypto/script/types: adhere to no-use-before-define
2016-09-28 15:23:52 +10:00
Karel Bilek
3c56e80fc6
Simplifying path regex
2016-02-14 16:25:55 +01:00
Karel Bilek
6a74eb6993
Renaming Path to Bip32Path, invalid to fixtures
...
Only thing I haven't been able to do is to add "undefined" to fixtures. So I could not properly test
that node.derivePath() properly fails as it should. However, I added "null" there, and "null" and "undefined"
behave in similar way in JavaScript, so that should catch that.
2016-02-14 16:12:16 +01:00
Karel Bilek
d2b43f1dfe
Validating path
...
Again through typeforce
2016-02-13 23:25:30 +01:00
Karel Bilek
4a72001335
Typechecking indexes
...
As a consequence, it will not allow accidentally double-hardened indexes.
It also won't allow strings or forgotten parameters.
2016-02-06 17:57:11 +01:00
Ruben de Vries
7c7537fc57
use typeforce >= 1.6.2 which allows us to use typeforce.TfTypeError
with a custom error message.
2016-02-02 14:04:37 +01:00
Daniel Cousens
b252924517
types: remove ECCurve
2015-09-05 15:42:25 +10:00
Daniel Cousens
e94ec00919
types: restore quacking behaviour
2015-08-25 13:47:11 +10:00
Daniel Cousens
ca4debd92e
types: Expected Buffer, length to follow
2015-08-19 15:27:06 +10:00
Daniel Cousens
97a0008445
types: rm Script type
2015-08-18 14:45:00 +10:00
Daniel Cousens
706f5d7a9c
scripts: adds tests for *HashOutput
2015-08-18 14:44:30 +10:00
Daniel Cousens
33a9dc4cce
dustThreshold is a UInt53
2015-08-14 10:56:31 +10:00
Daniel Cousens
254b670427
add types
2015-08-14 10:56:30 +10:00
Daniel Cousens
e42c497a3c
package: use typeforce
2014-12-23 15:08:20 +11:00
Wei Lu
b55b10c6b6
types: replace Function.name with an IE compatible alternative
2014-10-08 09:26:45 -07:00
Wei Lu
eb4e8884d9
loose instanceof: check constructor function name instead
2014-10-07 00:23:53 -07:00
Daniel Cousens
967e724b47
types: remove JSPerf references
2014-10-07 16:57:49 +11:00
Daniel Cousens
01a96e887c
types: use the idiomatic equivalents
2014-10-07 16:50:37 +11:00
Daniel Cousens
35542e115d
types: enforce consistent type checking
2014-10-05 15:36:25 +11:00