Commit Graph

84 Commits

Author SHA1 Message Date
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
Stefan Thomas
10e53b7562 Add WebSocket Secure (SSL) support to client library. 2012-12-06 14:33:28 -08:00
Stefan Thomas
73db82ac56 Only consider a server connection with server_status == 'ok' as being 'online'. 2012-12-06 12:33:47 -08:00
Arthur Britto
10ba85a493 JS: Add support for getting random from server subscribe. 2012-12-06 00:01:05 -08:00
Arthur Britto
5b68f2a15d Refactor NetworkOps and RPC to specify account_index and ledgers better. 2012-12-05 18:02:41 -08:00
Arthur Britto
d6b0dca146 JS: Fix offline reporting. 2012-12-04 19:27:44 -08:00
jed
50953ff6d5 add account_offers and refactor 2012-12-04 12:12:11 -08:00
jed
4ef15c5536 windows 2012-12-04 00:05:40 -08:00
Stefan Thomas
7bda03745e Use custom assert in JS library.
The assert was previously provided by Buster.JS which is not available outside
of the test suite.
2012-12-03 19:45:31 -08:00
Arthur Britto
f7c90810fc Merge branch 'broken_emit_ledger_closed' 2012-12-03 16:46:53 -08:00
Arthur Britto
2791f43b1d Fixes for emit ledger_closed. 2012-12-03 16:46:27 -08:00
Arthur Britto
5d3684b9b9 Merge branch 'rpc_refactor' 2012-12-03 16:14:28 -08:00
Arthur Britto
f8a906ce9a Refactor RPC wallet_accounts. 2012-12-03 16:12:32 -08:00
Arthur Britto
dc977d1bfd Update remote.js for RPC account_tx. 2012-12-03 16:05:45 -08:00
Arthur Britto
81e69c038c Update remote.js for RPC unl_delete. 2012-12-03 16:03:41 -08:00
Arthur Britto
1696263bcf Update remote.js for RPC connect. 2012-12-03 16:01:03 -08:00
Arthur Britto
125a1ae5d3 Refactor RPC ripple_lines_get. 2012-12-03 15:58:48 -08:00
Arthur Britto
e8f2efab93 Refactor RPC ledger. 2012-12-03 15:40:11 -08:00
jed
0db2d312bb pass whole message in serverClosed 2012-12-03 13:55:35 -08:00
Arthur Britto
65175b8e54 Refactor RPC submit and submit_json. 2012-12-02 19:46:32 -08:00
Arthur Britto
643d4e1c7e JS: Hide _secret and clean up transaction submiting. 2012-11-30 16:02:59 -08:00
Arthur Britto
6a3e9a7d24 JS: default build_path is now false and is actually passed. 2012-11-30 15:50:54 -08:00
jed
9ce31adc28 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-29 17:32:27 -08:00
jed
07cbb4a4f4 change emit 2012-11-29 17:31:19 -08:00
Arthur Britto
007f241040 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-11-29 16:05:48 -08:00
Arthur Britto
7e8d13b554 JS: More fixes for caching. 2012-11-29 16:05:38 -08:00
jed
1f0aa8f56c have remote.js emit all messages 2012-11-29 15:54:59 -08:00