Commit Graph

82 Commits

Author SHA1 Message Date
Arthur Britto
cc299d3bb8 UT: More fixes for API changes, remote-test.js works. 2012-11-05 21:41:52 -08:00
Arthur Britto
9194c1f528 JS: Fixes to remote.js for API change. 2012-11-05 16:15:57 -08:00
Arthur Britto
8538e03c23 Fixes and clean up for API change. 2012-11-05 12:25:19 -08:00
Arthur Britto
5de8183814 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-05 10:30:14 -08:00
Andrey Fedorov
b17d8113ca events lib update 2012-11-05 10:08:33 -08:00
Arthur Britto
a7428ff253 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-05 09:42:05 -08:00
Arthur Britto
7baea209ad JS: Add is_native() to Amount. 2012-11-05 09:41:30 -08:00
Andrey Fedorov
c54913f0db . 2012-11-05 02:21:36 -08:00
Andrey Fedorov
51c79f74fa added local events library 2012-11-05 02:18:56 -08:00
Arthur Britto
025193efd1 JS: Fix account sequence caching. 2012-11-03 14:28:31 -07:00
Arthur Britto
41f2f5c0c0 UT: remove mapOr. 2012-11-03 13:14:01 -07:00
Arthur Britto
7b268647a0 UT: Add helper for setting transfer rate. 2012-11-03 13:06:55 -07:00
Arthur Britto
4adb0e07a2 JS: Add support for setting transfer fee. 2012-11-03 04:14:09 -07:00
Arthur Britto
cc072b13c3 JS: Improve error handling. 2012-10-31 20:04:59 -07:00
Arthur Britto
227acf210a JS: Add support for paths to payments. 2012-10-31 16:42:56 -07:00
Arthur Britto
988bc7fe4d JS: Add Currency.json_rewrite(). 2012-10-31 16:42:22 -07:00
Arthur Britto
67c68cb4df UT: Adjust fees for unit tests. 2012-10-27 16:49:15 -07:00
Arthur Britto
3650e6122c JS: Optimize base58 decoding. 2012-10-23 11:56:05 -07:00
Arthur Britto
7811850a52 JS: Fix Remote.request_ripple_balnce(). 2012-10-22 21:30:04 -07:00
Arthur Britto
7bfe509996 JS: Fix Amount.copyTo(). 2012-10-22 21:29:38 -07:00
Arthur Britto
f4d48f56d8 JS: Fix UInt160 comparison. 2012-10-22 16:56:00 -07:00
Arthur Britto
c5dce0e270 JS: Add support for parsing and encoding base58. 2012-10-22 16:15:58 -07:00
Arthur Britto
485f1aab13 JS: Add arraySet() and stringToArray() to utils.js 2012-10-22 16:11:35 -07:00
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
59a61d7b35 JS: Add support for more types of transactions to remote.js. 2012-10-21 14:44:35 -07:00
Arthur Britto
416f62a3f5 JS: Add Date support to offer_create. 2012-10-20 19:11:30 -07:00
Arthur Britto
27ea314f8d UT: Rework server.js and clean up test output. 2012-10-20 17:04:33 -07:00
Arthur Britto
49f1b42d26 Cosmetic. 2012-10-19 23:10:49 -07:00
Arthur Britto
083e78e124 JS: Add offer_cancel. 2012-10-19 21:16:09 -07:00
Arthur Britto
5d9fdae5cf JS: Fix UInt160 to use config. 2012-10-19 21:15:22 -07:00
Arthur Britto
fd1122c673 JS: Fix request_ripple_balance. 2012-10-18 20:00:36 -07:00
Arthur Britto
81cbbc2642 JS: Lots of fix for Amount parsing. 2012-10-18 20:00:02 -07:00
Arthur Britto
52d45d0b04 JS: Make remote.js more flexible. 2012-10-18 18:51:07 -07:00
Arthur Britto
43f7b2654d JS: Make Amount more flexible. 2012-10-18 18:50:35 -07:00
Arthur Britto
32b70e638e WS: Change ledger entry to take 'ledger_closed' instead of 'ledger'. 2012-10-18 12:48:49 -07:00
Arthur Britto
86303472bc JS: Add negate() and parse_issuer() to Amount. 2012-10-18 12:23:17 -07:00
Arthur Britto
ceb2aac937 Clean up. 2012-10-18 00:35:50 -07:00
Arthur Britto
04f369886a JS: Have remote look in the current ledger to get Sequence for new accounts. 2012-10-18 00:12:48 -07:00
Arthur Britto
660c7e3b2b JS: Fix ripple_line_set. 2012-10-17 23:27:57 -07:00
Arthur Britto
4083ca2a8a JS: Add support for config accounts to UInt160.parseJson(). 2012-10-17 23:27:19 -07:00
Arthur Britto
bacfcff48c Improve remote.js and test starts.
- Transactions now emit 'pending' and 'lost'
- Remote now supports once().
- Tests now use 'ledger_closed' to know when to start.
- Fix quick close of remote.
2012-10-17 18:15:04 -07:00
Arthur Britto
2f4867caec JS: report final transaction status. 2012-10-17 15:41:18 -07:00
Arthur Britto
b23f596e3f JS: Automatically subscribe to server. 2012-10-17 15:37:23 -07:00
Arthur Britto
edf47a7a07 JS: Automatically maintain connection. 2012-10-17 13:26:31 -07:00
Arthur Britto
5558505288 JS: Improvements to transaction result handling for remote.js 2012-10-16 15:49:42 -07:00
Arthur Britto
d98e415107 JS: Fix offer_create. 2012-10-14 02:50:34 -07:00
Arthur Britto
d5c9cc78c7 JS: Fix transaction creation. 2012-10-14 02:23:52 -07:00
Arthur Britto
5fc3d98ef5 UT: Clean up and faster tearDown. 2012-10-14 01:33:00 -07:00
Arthur Britto
1c2d16f1ad Rework remote.js to be event oriented. 2012-10-13 19:38:19 -07:00