Arthur Britto
f4a598c249
Rework RPC ledger.
2013-04-26 09:00:22 +02:00
Arthur Britto
f97f4ed26f
Renumber special ledger_indexes and move RPC ledger to new format.
2013-04-26 09:00:22 +02:00
Stefan Thomas
71b12fa978
JS: Feed server entropy into SJCL's entropy pool.
2013-04-26 09:00:22 +02:00
Arthur Britto
b1c7bba2e7
Change RPCs to use account instead of ident.
2013-04-26 09:00:22 +02:00
Stefan Thomas
93459dfcba
JS: Fix for multiple Account instances (which caused multiple subscriptions.)
2013-04-26 09:00:22 +02:00
Stefan Thomas
8e8a10d90d
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-04-26 09:00:22 +02:00
Stefan Thomas
e194560de2
JS: Add Remote#request_book_offers.
2013-04-26 09:00:22 +02:00
Stefan Thomas
042dc3d1ce
JS: Correctly route account events after change from account -> transaction.
2013-04-26 09:00:22 +02:00
Arthur Britto
6efc7344d5
JS: Add temporary support for RPC tx.
2013-04-26 09:00:22 +02:00
Arthur Britto
3a1832107d
JS: Clean up ledger selection.
2013-04-26 09:00:22 +02:00
Stefan Thomas
7882786b1e
JS: Hotfix for sequence issue.
2013-04-26 09:00:21 +02:00
Stefan Thomas
f7a26468d7
JS: Added class OrderBook for listening to order books.
2013-04-26 09:00:21 +02:00
Stefan Thomas
82f14395fb
JS: Correctly calculate affected accounts when routing account events.
2013-04-26 08:59:49 +02:00
Stefan Thomas
cd0a70565a
JS: Typo.
2013-04-26 08:59:49 +02:00
Stefan Thomas
a86584652f
JS: Prevent duplicate WebSocket objects.
2013-04-26 08:59:49 +02:00
Stefan Thomas
5596427e30
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-04-26 08:59:49 +02:00
Stefan Thomas
cfe76ef92e
JS: Handle account events through Account class.
2013-04-26 08:59:49 +02:00
newcoin
540b52081e
JS: Fixes for load.
2013-04-26 08:59:49 +02:00
Arthur Britto
2604670cc2
JS: Fixes for load and add announcing load.
2013-04-26 08:59:49 +02:00
Stefan Thomas
3fff761a1e
JS: Correctly construct submit request when using local_signing.
2013-04-26 08:59:49 +02:00
Stefan Thomas
194d6a293a
JS: Move transaction preparation logic to Transaction class.
2013-04-26 08:59:49 +02:00
Stefan Thomas
d110cd74fc
JS: Local signing bugfixes.
2013-04-26 08:59:49 +02:00
Stefan Thomas
72448737d6
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-04-26 08:59:49 +02:00
Stefan Thomas
6f34cfa369
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-04-26 08:59:48 +02:00
Arthur Britto
9e1741123c
JS: Make transaction subscription robust.
2013-04-26 08:59:48 +02:00
Arthur Britto
ca57b3ffe1
JS: Add automatic support to subscribe to transactions.
2013-04-26 08:59:48 +02:00
Stefan Thomas
957b8eb1a8
Split Transaction class off into separate file.
2013-04-26 08:59:48 +02:00
Stefan Thomas
88032c6717
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-04-26 08:59:48 +02:00
Stefan Thomas
9ca44e7e6f
Update names of states the client considers "online".
2013-04-26 08:59:48 +02:00
Stefan Thomas
81483f47e5
JS: Add account_info RPC method.
2013-04-26 08:59:48 +02:00
Arthur Britto
d76e85bf78
JS: Forward account and transaction publishes.
2013-04-26 08:59:48 +02:00
Arthur Britto
385cae7ca3
UT: More work on detecting standalone server exit.
2013-04-26 08:59:48 +02:00
Arthur Britto
e15c739977
JS Add support for SourceTag and Destination tag.
2013-04-26 08:59:48 +02:00
Arthur Britto
c3a3bc82b5
Work toward subscribe accounts by ledger index.
2013-04-26 08:59:48 +02:00
Arthur Britto
cd87582d19
JS: Fix saving fee info.
2013-04-26 08:59:48 +02:00
Arthur Britto
d38fd1847d
Merge tepPARTIAL into tecCLAIMED.
2013-04-26 08:59:47 +02:00
Arthur Britto
88a92e6205
JS: Add support for client knowing about connecting to testnet server.
2013-04-26 08:59:47 +02:00
Arthur Britto
bbd3c80ee9
JS: Add some place holders for the fee stuff.
2013-04-26 08:59:47 +02:00
Arthur Britto
c7258c36bb
Clean up - Ledger breaking changes.
2013-04-26 08:59:47 +02:00
Arthur Britto
96c93247e6
UT: Test offer counts.
2013-04-26 08:59:47 +02:00
Arthur Britto
8196a1e15a
Fix network state reporting in server and client.
2013-04-26 08:59:47 +02:00
Arthur Britto
c56b7662df
Move from account create fee to reserve XRP.
2013-04-26 08:59:47 +02:00
Arthur Britto
a67a686e43
JS: Do not retry as much to connect.
2013-04-26 08:59:46 +02:00
Arthur Britto
854904c51d
UT: Fix payment test.
2013-04-26 08:59:46 +02:00
Stefan Thomas
d24271a740
Add WebSocket Secure (SSL) support to client library.
2013-04-26 08:59:46 +02:00
Stefan Thomas
a50661752c
Only consider a server connection with server_status == 'ok' as being 'online'.
2013-04-26 08:59:46 +02:00
Arthur Britto
06dd0ce26c
JS: Add support for getting random from server subscribe.
2013-04-26 08:59:46 +02:00
Arthur Britto
e6c1cf98fd
Refactor NetworkOps and RPC to specify account_index and ledgers better.
2013-04-26 08:59:46 +02:00
Arthur Britto
70c7dfc3b2
JS: Fix offline reporting.
2013-04-26 08:59:46 +02:00
jed
029c0a3ee9
add account_offers and refactor
2013-04-26 08:59:46 +02:00