Daniel Cousens
5e0d38ba54
Address: add Address.*ScriptPubKey and tests
The introduction of these two functions allow for the all the network
related code to be eventually removed from Transaction and Script.
Previously the result for non-standard transactions was undefined
behaviour. This change mandates that an exception is thrown if a
non-standard transaction is input.
11 years ago
Daniel Cousens
231ccdd721
Now shares base58 data with Address base58 tests
11 years ago
Daniel Cousens
12a5b75cbe
Address now properly checks malformed base58
11 years ago
Daniel Cousens
1d1306b054
Removes Address.fromPubKey and improves test vectors
11 years ago
Daniel Cousens
682ec133bb
Migrates Address to stricter API subset
11 years ago
Daniel Cousens
f047afef2d
Updates network.js constant names
11 years ago
Daniel Cousens
6fa0c07763
Changes existing code to use new base58 API
11 years ago
Wei Lu
93fe1b4c78
cosmetic standardization
[closes #56 ]
11 years ago
Kyle Drake
a6706ea8be
fix spacing
11 years ago
Kyle Drake
09925cff5a
cleanup throw tests, add case for bad input
11 years ago
Kyle Drake
fdc78dad2e
merge weilu's changes
11 years ago
Wei Lu
2f3e597596
reorganize address tests #50
11 years ago
xnova
786198f130
* Fixes address.js to be able to deal with testnet P2SH addresses
* Enhanced address.js testsuite...now also verifies address versions
* Enhances README to show how to run test suite
11 years ago
Wei Lu
02b3a2b564
HDWallet prod -> mainnet
11 years ago
Andreas Brekken
f591cc0111
Reformat all tests for more modern mocha syntax (describe, it)
11 years ago
Roman Shtylman
e94636ef25
fix test require so browserify works for testling
12 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