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
Daniel Cousens
e27c97a791
ECPubKey/ECKey: separate to two files
11 years ago
Daniel Cousens
276a339d60
crypto: HMACSHA512 into crypto and add tests
11 years ago
Daniel Cousens
063643b4a1
HDWallet: show clearer BIP32 adherence for Master key
11 years ago
Daniel Cousens
3ed7d78e59
HDWallet: adhere to BIP32 for CKD
11 years ago
Daniel Cousens
25514d6ac1
HDWallet: remove HmacBytesToBytes
11 years ago
Daniel Cousens
57b8afbdab
Network: rename Network to Networks
This change removes the most common ambiguities.
As the network module is not representative of a class, the lower case
has been used.
11 years ago
Daniel Cousens
02013beda9
Renames variables to be more verbose
11 years ago
Daniel Cousens
4716eb29bf
Removes redundant convert functions
11 years ago
Daniel Cousens
ff08c2eec3
Fixes #167 and adds temporary test
11 years ago
Daniel Cousens
e6a9186af3
Removes unnecessary new Buffer
11 years ago
Daniel Cousens
e2e190c766
Variables names made consistent with constructor
11 years ago
Wei Lu
af1f121fd4
upgrade bigi & remove monkey patching
11 years ago
Daniel Cousens
ae60e6eb95
Replacse JSBN with bigi
11 years ago
Daniel Cousens
de59f6d3ac
Adds assertion error messages for HDWallet
11 years ago
Daniel Cousens
b4f70dcdde
Migrates ECKey to stricter API
11 years ago
Daniel Cousens
505e33c942
Changes netstr to networkString
11 years ago
Daniel Cousens
ddea4b176b
Moves derivation math out into the open
11 years ago
Daniel Cousens
bacf7e7ae2
Removes format dependency
11 years ago
Daniel Cousens
814aa9e552
HDWallet now uses Buffers internally
11 years ago