flocore/lib
Esteban Ordano ea17a6ace1 Add a preconditions module, and refactor errors
100% code coverage for the preconditions module.

Usage:
```
$.checkState(something === anotherthing, 'Expected something to be
anotherthing');
$.checkArgument(something < 100, 'something', 'must be less than 100');
$.checkArgumentType(something, PrivateKey, 'something'); // The third
argument is a helper to mention the name of the argument
$.checkArgumentType(something, PrivateKey); // but it's optional (will
show up as "(unknown argument)")
```
2014-12-10 11:56:38 -03:00
..
crypto ECDSA: Remove console.log 2014-12-09 13:51:10 -05:00
encoding Fixes interfaces 2014-11-30 09:47:44 -03:00
errors Add a preconditions module, and refactor errors 2014-12-10 11:56:38 -03:00
paymentprotocol Payment Protocol: Restore and reorganize files for payment protocol. 2014-12-04 10:43:40 -05:00
util Add a preconditions module, and refactor errors 2014-12-10 11:56:38 -03:00
address.js add Script#prepend() 2014-12-02 14:20:57 -03:00
block.js Block: Added validation of proof of work, merkle tree and other interface changes. Closes #601 2014-12-08 14:51:43 -05:00
blockheader.js Block: Added validation of proof of work, merkle tree and other interface changes. Closes #601 2014-12-08 14:51:43 -05:00
hdkeycache.js add testing for key cache 2014-12-01 10:00:46 -03:00
hdprivatekey.js Add a preconditions module, and refactor errors 2014-12-10 11:56:38 -03:00
hdpublickey.js Add a preconditions module, and refactor errors 2014-12-10 11:56:38 -03:00
networks.js Networks: Add mainnet alias 2014-12-02 10:55:25 -05:00
opcode.js add Opcode.smallInt() 2014-12-04 15:06:56 -03:00
privatekey.js Add option to create private key from hex 2014-12-09 11:40:30 -03:00
publickey.js PublicKey: Remove compressed boolean from validation, not nessassary. 2014-12-04 13:06:10 -05:00
script.js add docs 2014-12-04 18:39:13 -03:00
transaction.js fix references to encoding 2014-11-21 12:54:56 -03:00
txin.js make tests pass with Script refactor 2014-12-02 14:20:02 -03:00
txout.js make tests pass with Script refactor 2014-12-02 14:20:02 -03:00
unit.js refactor double quote 2014-12-01 16:02:28 -03:00
uri.js convert amout to satoshis 2014-12-01 17:36:52 -03:00