Commit Graph

24 Commits

Author SHA1 Message Date
Arthur Britto
5e083eb32f JS: Improve error handling. 2013-04-26 08:58:59 +02:00
Arthur Britto
1a1f4db2c2 JS: Add Currency.json_rewrite(). 2013-04-26 08:58:59 +02:00
Arthur Britto
1db7da9f63 UT: Adjust fees for unit tests. 2013-04-26 08:58:59 +02:00
Arthur Britto
f6d1e2d40b JS: Optimize base58 decoding. 2013-04-26 08:58:59 +02:00
Arthur Britto
bbfc348b85 JS: Fix Amount.copyTo(). 2013-04-26 08:58:59 +02:00
Arthur Britto
45c54b6484 JS: Fix UInt160 comparison. 2013-04-26 08:58:59 +02:00
Arthur Britto
c0eec780de JS: Add support for parsing and encoding base58. 2013-04-26 08:58:59 +02:00
Arthur Britto
02805651cf JS: More fixes and tests for Amount.negate(). 2013-04-26 08:58:58 +02:00
Arthur Britto
1aac962116 UT: Lots of improvements and fixes.
- Parse negative amounts.
- Make Amount.negate() return a new value.
- Add Amount.equals().
- Rename Remote.trace() to set_trace().
- Fix request_ripple_balnce.
- Add more tests to send-test.js.
- Add more tests to amount-test.js.
- Add helper functions create_accounts and credit_limits to
  testutils.js.
2013-04-26 08:58:58 +02:00
Arthur Britto
a6a8b0b29a UT: Rework server.js and clean up test output. 2013-04-26 08:58:58 +02:00
Arthur Britto
8c3c33e638 JS: Fix UInt160 to use config. 2013-04-26 08:58:58 +02:00
Arthur Britto
c020f14c19 JS: Lots of fix for Amount parsing. 2013-04-26 08:58:58 +02:00
Arthur Britto
19c887e64f JS: Make Amount more flexible. 2013-04-26 08:58:58 +02:00
Arthur Britto
a033980b66 JS: Add negate() and parse_issuer() to Amount. 2013-04-26 08:58:58 +02:00
Arthur Britto
9f9ad852a1 JS: Add support for config accounts to UInt160.parseJson(). 2013-04-26 08:58:58 +02:00
Arthur Britto
43b7b5f2ff JS: Automatically maintain connection. 2013-04-26 08:58:58 +02:00
Arthur Britto
c29c903c07 JS: Adjust to new address encoding. 2013-04-26 08:58:58 +02:00
Arthur Britto
926d6bb03e JS: rename BigInteger consts to start bi_. 2013-04-26 08:58:58 +02:00
Arthur Britto
f40dd0fa83 JS: Add clone() and copyTo() to Amount and friends. 2013-04-26 08:58:58 +02:00
Arthur Britto
38ee4bf3c4 JS: fixes and tests from amounts. 2013-04-26 08:58:57 +02:00
Arthur Britto
566833f702 UT: Initial check in unit tests for amount.js. 2013-04-26 08:58:57 +02:00
Arthur Britto
5425ac4bfb JS: Add BigInteger support to Amount. 2013-04-26 08:58:57 +02:00
Arthur Britto
1af8c6f7d4 Cosmetic. 2013-04-26 08:58:57 +02:00
Arthur Britto
831767b1bd JS: Initial check in of Amount. 2013-04-26 08:58:57 +02:00