Commit Graph

219 Commits

Author SHA1 Message Date
jed
52b7a9e549 windows 2013-03-08 11:35:19 -08:00
jed
0de583c553 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-07 22:50:54 -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
jed
720aea0e55 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-05 11:00:14 -08:00
Stefan Thomas
c0dec2f86f JS: Reapply parsing change for json format with optional issuer. 2013-03-05 13:44:52 +01:00
Arthur Britto
3a3f38927f JS: Backout some of latest amount parsing changes. 2013-03-04 13:50:20 -08:00
Stefan Thomas
efdda7c119 JS: Allow Ripple URI format (25/USD) in parse_json. 2013-03-04 14:44:45 +01:00
Arthur Britto
522d4f642a JS: Rename ADDRESS_ to ACCOUNT_ to be consistent with C++. 2013-03-03 22:35:00 -08: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
Arthur Britto
10c759510a JS: Fix Amount.divide() and remove extra clone()s. 2013-02-26 21:32:44 -08:00
Stefan Thomas
0ad2d77d02 JS: Fix erroneous base58 decoding and add tests for issue. 2013-02-26 13:56:40 +01:00
Stefan Thomas
3932ce95fd JS: Hotfix for sequence issue. 2013-02-23 23:25:55 +01:00
Stefan Thomas
544105e23d JS: Prevent Amount#negate from creating amounts that are negative zero. 2013-02-22 13:47:26 +01:00
Stefan Thomas
50b5644334 JS: Add a way for the test suite to change Amount#equals, so it ignores issuers. 2013-02-22 13:46:50 +01:00
Stefan Thomas
47791fa851 JS: Fix Amount#equals and Amount#not_equals_why to pass all tests. 2013-02-22 12:48:05 +01:00
Stefan Thomas
8cb8b353c3 JS: Amount - handle plain numbers as arguments to ratio_human and product_human. 2013-02-22 12:48:04 +01:00
Stefan Thomas
a38e17beed JS: Added class OrderBook for listening to order books. 2013-02-21 23:06:22 +01:00
Stefan Thomas
594e3d7f3f JS: Correct object reference in Account. 2013-02-18 14:59:45 +01:00
Arthur Britto
68403ae1a2 JS: Fix Add for Amount. 2013-02-18 00:41:57 -08:00
Arthur Britto
4c8d405cc1 JS: Fix add of zero for non-XRP. 2013-02-17 23:19:31 -08:00
Arthur Britto
2ad9ccdc10 JS: Amount set_currency() nows sets _is_native. 2013-02-17 22:57:12 -08:00
Arthur Britto
0d18274a69 JS: Add is_positive() to Amount. 2013-02-17 22:04:44 -08:00
Arthur Britto
fbc619c2e3 Move gateways option to opts instead of config. 2013-02-17 21:07:09 -08:00
Stefan Thomas
efbc62b126 Git fix: Re-add meta.js 2013-02-15 14:51:52 +01:00
JoelKatz
ba198b7806 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/js/meta.js
2013-02-15 05:40:55 -08:00
Stefan Thomas
792fa050ef JS: Correctly calculate affected accounts when routing account events. 2013-02-15 14:44:26 +01:00
Stefan Thomas
dbfce52d53 JS: Correctly calculate affected accounts when routing account events. 2013-02-15 14:43:24 +01:00
Stefan Thomas
c559fd2fb3 JS: Fix Account class realtime event processing. 2013-02-14 07:14:50 +01:00
Stefan Thomas
73f96aa0d5 JS: Account class keeps track of AccountRoot entry. 2013-02-13 18:45:14 +01:00
Stefan Thomas
0c3c79211e JS: Allow an integer factor in Amount#product_human. 2013-02-13 18:45:14 +01:00
Stefan Thomas
8fbfeb082b JS: Typo. 2013-02-13 18:45:14 +01:00
Stefan Thomas
85f9f67865 JS: Fix Transaction#paths. 2013-02-13 13:09:36 +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
6918528d23 JS: Remove broken Seed parse_json string interpretation. 2013-02-08 03:57:32 +01:00
Stefan Thomas
7faea9c1b4 JS: Support for more types in serializedtypes.js. 2013-02-08 03:18:46 +01:00
Stefan Thomas
937f614345 JS: Correctly construct submit request when using local_signing. 2013-02-08 03:18:46 +01:00
Stefan Thomas
1e3fbcb641 JS: Seed from passphrase support. 2013-02-08 03:18:46 +01:00
Stefan Thomas
8e81146f2e JS: Crypto: Fix ECDSA DER signature encoding. 2013-02-08 03:18:46 +01:00
Stefan Thomas
1af930fbd1 JS: Override SJCL ECDSA with a standards-compliant version. 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