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
Stefan Thomas
aecabb8c7f
JS: Transaction: Fix multiple "final" events due to race condition.
2013-02-07 18:35:20 +01:00
Stefan Thomas
ee59e37383
JS: Re-upgrade SJCL.
2013-02-07 18:35:20 +01:00
Stefan Thomas
55526c378c
JS: Local signing bugfixes.
2013-02-07 18:35:20 +01:00
jed
e8b17ef082
Merge branch 'book'
...
Conflicts:
src/cpp/ripple/OrderBookDB.cpp
src/cpp/ripple/OrderBookDB.h
src/cpp/ripple/Pathfinder.cpp
2013-02-05 13:47:25 -08:00
Arthur Britto
4fa726f2d3
Add no_gateway option to UInt160's to_json().
2013-02-02 13:11:54 -08:00
Stefan Thomas
39ba2613d9
JS: Added ripple.config.load convenience function.
2013-02-02 14:05:49 +01:00
Arthur Britto
4e526c78e6
JS: Pass opts in to_human_full().
2013-02-02 02:46:42 -08:00
Arthur Britto
cec8b12a49
JS: Add to_human_full and support for gateways to addresses.
2013-02-02 01:32:00 -08: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
54f4edf5ef
Create abstract UInt class for UInt160, UInt256, ...
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
Stefan Thomas
37cc88ccf2
Move custom SJCL extensions from client over to Ripple library.
2013-02-01 22:44:04 +01:00
Arthur Britto
bfbb7633ec
JS: Make transaction subscription robust.
2013-02-01 13:28:27 -08:00
jed
62f6d030c6
still working
2013-01-31 10:59:19 -08:00