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
dca284a131
HDWallet: rename derivePrivate to deriveHardened
11 years ago
Daniel Cousens
29fbbaa58d
HDWallet: adds Public -> public tests
11 years ago
Daniel Cousens
99bb69bf20
HDWallet: moves hardened info to test data more explicitly
11 years ago
Daniel Cousens
4cec42a8d8
HDWallet: add to/fromHex tests
11 years ago
Daniel Cousens
533d61380a
HDWallet: improve testing coverage
11 years ago
Daniel Cousens
c0006c299f
HDWallet: use new constructor
11 years ago
Daniel Cousens
58dd86bda1
HDWallet: moves fromBuffer tests to data driven style
11 years ago
Daniel Cousens
799b69eb1e
HDWallet: use assert.throws
11 years ago
Daniel Cousens
749943cb4e
HDWallet: clarify test intention
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
Daniel Cousens
8b3634c866
HDWallet: adds missing exception regex
11 years ago
Kyle Drake
600209b1a6
hdwallet: remove fromHex, add better tests for edge cases
11 years ago
Daniel Cousens
d2e921fce6
HDWallet: move test vectors to fixtures
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
6c0eebe94b
tests: use filepaths directly
After a long IRC discussion, it was decided that the use of direct
filepaths instead of the module is a more pure form of testing ,
although it may provide less overall coverage than the mixed integration
style imports used previously.
This will need to be remedied by further integration testing in
/test/integration.
11 years ago
Daniel Cousens
633b8f28d2
Fixes incorrect PubKey hex constant
11 years ago
Daniel Cousens
02691098de
Stretches test for derive m/0 from xpub
11 years ago
Daniel Cousens
ff08c2eec3
Fixes #167 and adds temporary test
11 years ago
Daniel Cousens
77747241d4
Fixes exception typo
11 years ago
Daniel Cousens
b09dd73cbe
Enforces bytesToWordArray only operates on byte arrays
11 years ago
Daniel Cousens
b4f70dcdde
Migrates ECKey to stricter API
11 years ago
Daniel Cousens
814aa9e552
HDWallet now uses Buffers internally
11 years ago
Daniel Cousens
f047afef2d
Updates network.js constant names
11 years ago
Wei Lu
93fe1b4c78
cosmetic standardization
[closes #56 ]
11 years ago
Wei Lu
9358a40500
tabs -> spaces
11 years ago
Daniel Cousens
48883dd069
Changes expected key output to hex
11 years ago
Daniel Cousens
2e2932c410
Renames variables to better reflect their values
11 years ago
Daniel Cousens
e9fdfecfea
Changes default EC*Key.toString behaviour to Hex
11 years ago
Daniel Cousens
9bab1e96ad
Fixes network tests for proper address types
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
2e97828379
throws exception if specified network is unknown
also move network type tests to hdwallet
11 years ago
Andreas Brekken
5f9e2624f8
Rewrite HD Wallet (BIP0032) with all test vectors
11 years ago