Daniel Cousens
8d3686d046
remove deprecated functionality
10 years ago
Daniel Cousens
0bba21546f
various: more standard-format artifact fixes
10 years ago
Daniel Cousens
399803affa
use standardjs formatting
10 years ago
Daniel Cousens
9daf937e93
tests: add API consistency and tests for #366
10 years ago
Sjors Provoost
8a38a24b9f
Allow constructing HDNode from an ECPubKey.
10 years ago
Daniel Cousens
e42c497a3c
package: use typeforce
10 years ago
Daniel Cousens
a66773b5f5
tests/integration: add HDNode private key recovery example
10 years ago
Daniel Cousens
7ef134436e
ecdsa/HDNode: use node crypto for Hmacs
10 years ago
Daniel Cousens
b6017b0fae
HDNode: move isPrivate logic
10 years ago
Daniel Cousens
311df7e406
HDNode: add optional network flag to import functions
10 years ago
Daniel Cousens
a8459818e3
HDNode: avoid walking bip32 object
10 years ago
Daniel Cousens
307ceb9026
HDNode: use === over ==
10 years ago
Daniel Cousens
ef1eb04905
HDNode: move var declaration out of branches
10 years ago
Daniel Cousens
35542e115d
types: enforce consistent type checking
10 years ago
Daniel Cousens
a58088795f
HDNode: indicate 2.x.y removal of Buffer interop
10 years ago
Daniel Cousens
6b429493f8
hdnode: add deprecation message for isPrivate
11 years ago
Daniel Cousens
9d92b6a1a8
HDNode: add neuter functionality
11 years ago
Daniel Cousens
e69ba7ce76
HDNode: assert chain code length
11 years ago
Daniel Cousens
d168bbda43
HDNode: missing space in assertion message
11 years ago
Daniel Cousens
56d9ea6618
HDNode: fix error spelling
11 years ago
Daniel Cousens
ddcde038d0
HDNode: enforces sane seed lengths
11 years ago
Daniel Cousens
13c2d377e7
package: use bs58check
11 years ago
Daniel Cousens
f42993297c
ecurve: upgrade to 0.9.0
11 years ago
Daniel Cousens
4ce9015f3b
use ecurve instead of custom ec
11 years ago
Daniel Cousens
eb3a6bcb31
all: rename D to d as per SEC convention
11 years ago
Daniel Cousens
28dc390377
EC/Key: use network object consistently
11 years ago
Daniel Cousens
d39662e375
Base58check: no longer encodes version separately
11 years ago
Daniel Cousens
ee04826464
HDNode: clearer branch comments
11 years ago
Daniel Cousens
56a88b8a70
HDNode: shorten comment for Q validation
11 years ago
Daniel Cousens
22f1dee65b
HDNode: remove unnecessary slice operation
11 years ago
Daniel Cousens
15cc03a57f
HDNode: removed unused variable
11 years ago
Daniel Cousens
9f798ef2c3
HDWallet: adds missing hd declaration
Only a problem if "use strict" is enforced
11 years ago
Daniel Cousens
6a73bc02f5
HDNode: rename priv/pub to privKey/pubKey
11 years ago
Daniel Cousens
64e307b13f
HDWallet: rename to HDNode
11 years ago
Daniel Cousens
c340f5cf83
HDWallet: now export all information by default
11 years ago
Daniel Cousens
48503f252c
HDWallet: move toBase58
11 years ago
Daniel Cousens
dca284a131
HDWallet: rename derivePrivate to deriveHardened
11 years ago
Daniel Cousens
91b8833e52
HDWallet: rename local priv to isPrivate
11 years ago
Daniel Cousens
4cec42a8d8
HDWallet: add to/fromHex tests
11 years ago
Daniel Cousens
3f24e87c54
HDWallet: more explicit branch for parentFingerprint
11 years ago
Daniel Cousens
e8e862f632
HDWallet: adds PubKey validation
11 years ago
Daniel Cousens
708e27aa2d
HDWallet: extract BIP32 params search function
11 years ago
Daniel Cousens
759aeb9abc
HDWallet: remove repeated assertion
11 years ago
Daniel Cousens
c0006c299f
HDWallet: use new constructor
11 years ago
Daniel Cousens
ac9e259fcd
HDWallet: remove getKeyVersion
11 years ago
Daniel Cousens
02f5fceda7
HDWallet: remove unused imports
11 years ago
Daniel Cousens
80da2ed2d5
HDWallet: add fromBase58 exception checks
11 years ago
Daniel Cousens
4952c5f4e7
HD/Wallet: use network objects, not strings
11 years ago
Kyle Drake
600209b1a6
hdwallet: remove fromHex, add better tests for edge cases
11 years ago
Daniel Cousens
10fe4474d1
ECKey: remove *Buffer/*Hex functions
An ECKey is a composition of a private key (D), a public key (Q) and its
compression flag.
These functions gave the impression of serialization of this
composition, when really they only serialized `D`.
They have therefore been removed in favour of always using a sane
serialization format (WIF) that matches the needed behaviour.
If a user needs the previous functionality, simply use `privKey.D.*`
instead of `privKey.*`, as BigInteger supports `*Buffer/*Hex` functions
as expected.
11 years ago