Commit Graph

25 Commits

Author SHA1 Message Date
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
8b04a5d68d Revise remote.js and unit tests to use new amount.js. 2013-04-26 08:58:58 +02:00
Arthur Britto
63262c9be7 JS: Add ledger_accept to remote.js 2013-04-26 08:58:57 +02:00
Arthur Britto
1af8c6f7d4 Cosmetic. 2013-04-26 08:58:57 +02:00
Arthur Britto
67293f8e0b JS: Add draft of ripple_line_set. 2013-04-26 08:58:57 +02:00
Arthur Britto
c3ec60f92b JS: Add support for sumbit transactions and send_xns transaction. 2013-04-26 08:58:57 +02:00
Arthur Britto
a91ebe9a1c JS: Fix self and lots of other stuff for remote.js 2013-04-26 08:58:57 +02:00
Arthur Britto
0c5c12aa12 JS: better secret and seq handling. 2013-04-26 08:58:57 +02:00
Andrey Fedorov
5fcc92c66a a few formatting changes 2013-04-26 08:58:57 +02:00
Andrey Fedorov
a23572504b a few formatting changes 2013-04-26 08:58:57 +02:00
Arthur Britto
a240efc38d JS: Rework remote framework. 2013-04-26 08:58:57 +02:00
Arthur Britto
7d7f5f568b WS: Add support for ledger_entry to return an account_root. 2013-04-26 08:58:57 +02:00
Arthur Britto
f6b4f4c171 UT add testing for ledger_closed and update ledger_current. 2013-04-26 08:58:57 +02:00
Arthur Britto
8b896335ea JS: Get request-respons and ledger_current working. 2013-04-26 08:58:57 +02:00
Arthur Britto
8a8658d84a UT: Add timeout to WS connecting. 2013-04-26 08:58:57 +02:00
Arthur Britto
c50fe5881f js: create a websocket connection. 2013-04-26 08:58:57 +02:00