Arthur Britto
d3e787307d
JS: Adjust request_ripple_balance results.
2013-03-14 16:40:15 -07:00
Arthur Britto
b53cbe6dca
JS: Enhance request_ripple_balance.
2013-03-14 15:34:19 -07:00
Stefan Thomas
1a7d542396
JS: Factored server-related logic out into separate Server class.
2013-03-13 17:40:55 +01:00
Stefan Thomas
0d5b2eb469
JS: state_now -> snapshot, both_sides -> both
2013-03-13 09:36:01 +01:00
Stefan Thomas
51f47a8974
JS: Realtime orderbooks.
2013-03-12 13:09:55 +01:00
Stefan Thomas
b31c2ea601
JS: Orderbook: Get current state when subscribing.
2013-03-11 09:29:05 +01:00
Arthur Britto
1479590af1
Rework RPC ledger.
2013-03-10 15:18:35 -07:00
Arthur Britto
dc69a41979
Renumber special ledger_indexes and move RPC ledger to new format.
2013-03-09 21:40:26 -08:00
Stefan Thomas
3a7491c6d9
JS: Feed server entropy into SJCL's entropy pool.
2013-03-07 16:07:15 +01:00
Arthur Britto
9121cfd567
Change RPCs to use account instead of ident.
2013-03-07 03:39:17 -08:00
Stefan Thomas
3fff14cdd2
JS: Fix for multiple Account instances (which caused multiple subscriptions.)
2013-03-07 11:39:03 +01:00
Stefan Thomas
a413818989
JS: Don't trigger global subscribe for remote.on('transaction').
...
Now that all transactions we're subscribed to for any reason come in via
`type: transaction"`, users may need to subscribe to these events without
triggering a subscription to all transactions network-wide.
So if you were subscribing to the network-wide transaction firehose via:
remote.on('transaction', ...);
Please change this to:
remote.on('transaction_all', ...);
2013-03-06 21:53:23 +01:00
Stefan Thomas
b4514b5225
JS: Add Remote#request_book_offers.
2013-03-06 16:46:30 +01:00
Stefan Thomas
41b1e86439
JS: Correctly route account events after change from account -> transaction.
2013-03-06 16:45:20 +01:00
Arthur Britto
edce4a83ce
JS: Add temporary support for RPC tx.
2013-03-03 20:04:32 -08:00
Arthur Britto
a2efb1e21c
JS: Clean up ledger selection.
2013-03-01 00:42:25 -08:00
Stefan Thomas
3932ce95fd
JS: Hotfix for sequence issue.
2013-02-23 23:25:55 +01:00
Stefan Thomas
a38e17beed
JS: Added class OrderBook for listening to order books.
2013-02-21 23:06:22 +01:00
Stefan Thomas
dbfce52d53
JS: Correctly calculate affected accounts when routing account events.
2013-02-15 14:43:24 +01:00
Stefan Thomas
8fbfeb082b
JS: Typo.
2013-02-13 18:45:14 +01:00
Stefan Thomas
1bac4cb1f2
JS: Prevent duplicate WebSocket objects.
2013-02-13 09:53:09 +01:00
Stefan Thomas
8a4820cf34
JS: Add some more canonical event names as alternatives.
...
Most JS events are infinitive, not past tense, e.g. DOM events "click",
"mouseover", "load" and Node.js events "connect", "close".
2013-02-12 18:55:02 +01:00
Stefan Thomas
5942f2dd9f
JS: Handle account events through Account class.
2013-02-12 18:55:02 +01:00
Arthur Britto
ef4e75318f
JS: Fixes for load.
2013-02-10 23:55:12 -08:00
Arthur Britto
20f7a9ae6b
JS: Fixes for load and add announcing load.
2013-02-10 17:13:41 -08:00
Stefan Thomas
937f614345
JS: Correctly construct submit request when using local_signing.
2013-02-08 03:18:46 +01:00
Stefan Thomas
e07fffc834
JS: Move transaction preparation logic to Transaction class.
2013-02-07 18:35:20 +01:00
Stefan Thomas
55526c378c
JS: Local signing bugfixes.
2013-02-07 18:35:20 +01:00
Stefan Thomas
6820c6823d
Add transaction signing basics.
...
Most fields aren't supported yet and there aren't any nice external APIs, but my
test script successfully serializes and signs an XRP Payment, so this seems like
a good time to make a commit.
2013-02-01 22:44:04 +01:00
Stefan Thomas
24dac24d29
Refactor JavaScript library.
...
- Separate classes in separate modules (files)
- Constants should be associated with a class
- Replace exports.config scheme with a config singleton
- Refactor base58 functions as a static class
2013-02-01 22:44:04 +01:00
Arthur Britto
bfbb7633ec
JS: Make transaction subscription robust.
2013-02-01 13:28:27 -08:00
Arthur Britto
c57ae2ee1a
JS: Add automatic support to subscribe to transactions.
2013-01-30 01:27:07 -08:00
Stefan Thomas
851db1ce23
Split Transaction class off into separate file.
2013-01-24 20:40:48 +01:00
Stefan Thomas
c34a1e8f34
Load WebSocket module later.
...
This one change allows us to load the IE polyfills after the Ripple library.
Otherwise we would have to split up our dependencies into two groups, which
would add a bunch of complexity to the build system that I'd rather avoid.
2013-01-22 20:12:57 +01:00
Stefan Thomas
0e917c76e4
Update names of states the client considers "online".
2013-01-21 20:17:38 +01:00
Stefan Thomas
87c661f778
JS: Add account_info RPC method.
2013-01-19 10:57:33 +01:00
Arthur Britto
a8b1b205d5
JS: Forward account and transaction publishes.
2013-01-17 13:02:24 -08:00
Arthur Britto
8c5f08ad9b
UT: More work on detecting standalone server exit.
2013-01-12 12:48:18 -08:00
Arthur Britto
9b6ee7fc88
JS Add support for SourceTag and Destination tag.
2013-01-09 16:21:57 -08:00
Arthur Britto
04c17ac1f3
Work toward subscribe accounts by ledger index.
2013-01-05 16:51:45 -08:00
Arthur Britto
53f900fbe1
JS: Fix saving fee info.
2013-01-04 22:29:46 -08:00
Arthur Britto
75d935e0df
Merge tepPARTIAL into tecCLAIMED.
2013-01-03 13:04:07 -08:00
Arthur Britto
12b4273a74
JS: Add support for client knowing about connecting to testnet server.
2013-01-02 21:42:27 -08:00
Arthur Britto
e4318d266b
JS: Add some place holders for the fee stuff.
2012-12-27 17:48:55 -08:00
Arthur Britto
c05d4fb559
Clean up - Ledger breaking changes.
2012-12-21 17:05:31 -08:00
Arthur Britto
fd0bd1433f
UT: Test offer counts.
2012-12-14 21:21:27 -08:00
Arthur Britto
f93dc7a7b4
Fix network state reporting in server and client.
2012-12-14 16:34:11 -08:00
Arthur Britto
f1735c5cdf
Move from account create fee to reserve XRP.
2012-12-12 21:54:56 -08:00
Arthur Britto
bc376f7645
JS: Do not retry as much to connect.
2012-12-12 16:20:13 -08:00
Arthur Britto
4752c9ff4e
UT: Fix payment test.
2012-12-11 21:23:56 -08:00