Commit Graph

73 Commits

Author SHA1 Message Date
Andrey Fedorov
59f87b7ea9 added local events library 2013-04-26 08:58:59 +02:00
Arthur Britto
cbc244c1cb JS: Fix account sequence caching. 2013-04-26 08:58:59 +02:00
Arthur Britto
aac7f698ee UT: remove mapOr. 2013-04-26 08:58:59 +02:00
Arthur Britto
9e36297c0e UT: Add helper for setting transfer rate. 2013-04-26 08:58:59 +02:00
Arthur Britto
f5988fd66e JS: Add support for setting transfer fee. 2013-04-26 08:58:59 +02:00
Arthur Britto
5e083eb32f JS: Improve error handling. 2013-04-26 08:58:59 +02:00
Arthur Britto
d7dffc2041 JS: Add support for paths to payments. 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
d4fad4fcf9 JS: Fix Remote.request_ripple_balnce(). 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
114ec072c4 JS: Add arraySet() and stringToArray() to utils.js 2013-04-26 08:58:58 +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
b4fbf076b4 JS: Add support for more types of transactions to remote.js. 2013-04-26 08:58:58 +02:00
Arthur Britto
a5eed197d2 JS: Add Date support to offer_create. 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
d658f0b685 Cosmetic. 2013-04-26 08:58:58 +02:00
Arthur Britto
70f950cba0 JS: Add offer_cancel. 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
b54bac5add JS: Fix request_ripple_balance. 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
09b29f7ab3 JS: Make remote.js more flexible. 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
234272a0bf WS: Change ledger entry to take 'ledger_closed' instead of 'ledger'. 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
84d0057c91 Clean up. 2013-04-26 08:58:58 +02:00
Arthur Britto
eca2631491 JS: Have remote look in the current ledger to get Sequence for new accounts. 2013-04-26 08:58:58 +02:00
Arthur Britto
0f80fa79e2 JS: Fix ripple_line_set. 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
8792871e48 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.
2013-04-26 08:58:58 +02:00
Arthur Britto
a4481dc4d1 JS: report final transaction status. 2013-04-26 08:58:58 +02:00
Arthur Britto
8b57357231 JS: Automatically subscribe to server. 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
7a579f3d51 JS: Improvements to transaction result handling for remote.js 2013-04-26 08:58:58 +02:00
Arthur Britto
a989f8b599 JS: Fix offer_create. 2013-04-26 08:58:58 +02:00
Arthur Britto
a23155836b JS: Fix transaction creation. 2013-04-26 08:58:58 +02:00
Arthur Britto
ad227c344b UT: Clean up and faster tearDown. 2013-04-26 08:58:58 +02:00
Arthur Britto
7b4e77dd21 Rework remote.js to be event oriented. 2013-04-26 08:58:58 +02:00
Arthur Britto
a6a0c85c7d JS: Better flag handling for send. 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
8b04a5d68d Revise remote.js and unit tests to use new amount.js. 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