Commit Graph

17 Commits

Author SHA1 Message Date
Arthur Britto
bd0dc68a22 JS: More fixes and tests for Amount.negate(). 2012-10-21 21:45:04 -07:00
Arthur Britto
fff39797c0 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.
2012-10-21 20:33:11 -07:00
Arthur Britto
27ea314f8d UT: Rework server.js and clean up test output. 2012-10-20 17:04:33 -07:00
Arthur Britto
5d9fdae5cf JS: Fix UInt160 to use config. 2012-10-19 21:15:22 -07:00
Arthur Britto
81cbbc2642 JS: Lots of fix for Amount parsing. 2012-10-18 20:00:02 -07:00
Arthur Britto
43f7b2654d JS: Make Amount more flexible. 2012-10-18 18:50:35 -07:00
Arthur Britto
86303472bc JS: Add negate() and parse_issuer() to Amount. 2012-10-18 12:23:17 -07:00
Arthur Britto
4083ca2a8a JS: Add support for config accounts to UInt160.parseJson(). 2012-10-17 23:27:19 -07:00
Arthur Britto
edf47a7a07 JS: Automatically maintain connection. 2012-10-17 13:26:31 -07:00
Arthur Britto
90543550d2 JS: Adjust to new address encoding. 2012-10-12 15:10:09 -07:00
Arthur Britto
d7cd404c12 JS: rename BigInteger consts to start bi_. 2012-10-12 14:24:22 -07:00
Arthur Britto
c4eaeb6340 JS: Add clone() and copyTo() to Amount and friends. 2012-10-12 12:56:51 -07:00
Arthur Britto
f419dcc77b JS: fixes and tests from amounts. 2012-10-11 20:08:08 -07:00
Arthur Britto
8ebceaa53e UT: Initial check in unit tests for amount.js. 2012-10-11 16:25:01 -07:00
Arthur Britto
773f9263dc JS: Add BigInteger support to Amount. 2012-10-11 16:22:07 -07:00
Arthur Britto
b7c2eb65f2 Cosmetic. 2012-10-08 17:27:00 -07:00
Arthur Britto
9ea500a2ab JS: Initial check in of Amount. 2012-10-08 16:15:25 -07:00