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
Daniel Cousens
a4ab75d560
Renames network parameter to netstr
This should make the intent clearer.
This commit also catches the `null` case for the seed parameter.
11 years ago
Daniel Cousens
f047afef2d
Updates network.js constant names
11 years ago
Daniel Cousens
aa8d86e6a4
Hash160 now outputs a buffer
11 years ago
Daniel Cousens
c99a576fbd
Migrates all usage of crypto-js/sha256 to ./crypto
11 years ago
Daniel Cousens
81d9c8e759
Renames util.js to crypto.js
11 years ago
Daniel Cousens
6fa0c07763
Changes existing code to use new base58 API
11 years ago
Daniel Cousens
04684b74f1
Some cosmetic fixes
11 years ago
Wei Lu
93fe1b4c78
cosmetic standardization
[closes #56 ]
11 years ago
lms
98aeb47c6f
cleaned up address.js
11 years ago
Daniel Cousens
b40374e332
Changes to new version-less ECKey API
11 years ago
Wei Lu
44012b47b5
change hd wallet constructor to take bytes
original constructor -> fromSeedString, fromMasterHex -> fromSeedHex
[#60 ]
11 years ago
Wei Lu
142b847968
HD wallet fromMaterHex allows specifying network
[#60 ]
11 years ago
Wei Lu
3d6b66e811
move convert methods from util to convert
11 years ago