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
e27c97a791
ECPubKey/ECKey: separate to two files
11 years ago
Daniel Cousens
7a740c2e7b
tests: forces consistent import syntax
11 years ago
Daniel Cousens
c3e9d568c5
Adds RFC6979 test vectors and fixes ecdsa.sign/detGenK
11 years ago
Daniel Cousens
bc37e65014
Enforces Array input for deterministicGenerateK
11 years ago
Daniel Cousens
7f8dcd58cb
Removes unused imports
11 years ago
Daniel Cousens
b4f70dcdde
Migrates ECKey to stricter API
11 years ago
GreenAddress.it
9d876198f5
Moves 'low S value' test from eckey.js to ecdsa.js
11 years ago
GreenAddress.it
d7c2e4d5a5
Uses low 's' values for signatures
11 years ago
Daniel Cousens
f047afef2d
Updates network.js constant names
11 years ago
Wei Lu
93fe1b4c78
cosmetic standardization
[closes #56 ]
11 years ago
Daniel Cousens
a1944fdc77
Adds some ECKey tests
11 years ago
Daniel Cousens
a96dfea1f4
Adds compression flag to toHex/toBin and tests
11 years ago
Wei Lu
9358a40500
tabs -> spaces
11 years ago
Daniel Cousens
fcf67a87cc
Restructures test/eckey.js
11 years ago
Daniel Cousens
74ee2f90d0
Adds failing test for #78
11 years ago
Wei Lu
eaf84c4283
move address versions into network
Also change address type name:
address_types -> addressVersion
p2sh_types -> p2shVersion
prod -> mainnet
11 years ago
Michael Gooden
b8215dea60
Add testnet support to Address and ECKey, more tests.
Signed-off-by: Michael Gooden <me@michaelgooden.net>
11 years ago
Andreas Brekken
f591cc0111
Reformat all tests for more modern mocha syntax (describe, it)
11 years ago
Andreas Brekken
d6290ef5df
Rename test files to match what they test
11 years ago
Roman Shtylman
0faac29134
start to split into node commonjs style modules
- no longer is the global Bitcoin used for modules
- cleaner and more maintainable code
- add more tests
12 years ago