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
Arthur Britto
28268bbaed
JS: Fix transparent caching of ledger entries.
2012-11-29 15:33:23 -08:00
Stefan Thomas
5c3ffb4fd3
If you need override a method, do it straight up, don't abuse events.
...
Events are meant for managing asynchronous activity. Don't replace normal method
calls with events.
Look at the implementation for request() in the removed code. We can see that an
event is being emitted, but the code catching it could be anywhere in this file
or a different file or even in multiple places. Code containing too many events
quickly becomes unmaintainable.
Events are the most complex tool we have, callbacks are less complex and
synchronous calls are the least complex. Use the least complex tool that can
solve your problem.
2012-11-26 18:49:29 -08:00
Arthur Britto
2bffd0d699
JS: Fix local_fee for remote.js.
2012-11-26 16:28:52 -08:00
Stefan Thomas
49ac818e28
Added different logging style when running in browser.
2012-11-26 15:12:15 -08:00
Stefan Thomas
1c09b9ceaa
Make local fee determination configurable.
2012-11-26 13:10:53 -08:00
Arthur Britto
49e6ca70ba
JS & UT: add et to vim setting.
2012-11-24 14:07:41 -08:00
Stefan Thomas
c311206c4c
Remote trailing whitespace and convert tabs-spaces mixture to spaces.
2012-11-23 18:59:20 -08:00
Stefan Thomas
4065106592
Basic handling for account events - as in: Don't throw an error.
2012-11-23 10:47:02 -08:00
Stefan Thomas
e64526c0da
Make local sequence number tracking optional.
2012-11-23 10:45:02 -08:00
Stefan Thomas
ffa923daf5
Added interface for rt_accounts.
2012-11-23 10:14:09 -08:00
Arthur Britto
4e713c58ad
Work toward ripple_path_find.
2012-11-22 11:51:40 -08:00
Arthur Britto
f0970174f3
JS: Add missing require.
2012-11-19 14:07:54 -08:00
Arthur Britto
ad17519dc0
JS: Return account_balance as an amoutn instead of json.
2012-11-19 12:54:08 -08:00
jed
c502bfad99
Merge branch 'master' of github.com:jedmccaleb/NewCoin into api2
...
Conflicts:
test/config.js
2012-11-16 09:08:37 -08:00
jed
7c69c45a2f
.
2012-11-15 13:17:36 -08:00
Arthur Britto
acbc5bac59
JS: Allow transaction submit to a callback.
2012-11-15 12:35:51 -08:00
Arthur Britto
e56e96484b
JS: Remote.from_config now takes an obj or a name.
2012-11-15 11:55:34 -08:00
jed
58e5e07823
.
2012-11-14 16:10:10 -08:00
Arthur Britto
f2dcc4cdd0
Add support for getting ledger_header.
2012-11-13 14:06:59 -08:00
Arthur Britto
496fd33481
JS: Clean up setting command rpc.
2012-11-13 14:06:07 -08:00
Arthur Britto
ad8c942370
JS: Rename CreditSet to TrustSet.
2012-11-13 13:42:47 -08:00
Arthur Britto
5df0109273
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-11-10 16:57:15 -08:00
Arthur Britto
c59c9f91b2
JS: Make ledger_hash and friends private in Remote.
2012-11-10 16:13:57 -08:00
Stefan Thomas
a92202c7e4
Added RPC methods for ripple-client.
2012-11-10 15:17:28 -08:00
Stefan Thomas
0b9971d0d0
More consistent trace logs. Remove redundant trace.
...
The trace on transaction submit is always immediately followed by a trace showing the request, which contains the same information anyway.
2012-11-10 15:17:28 -08:00
Stefan Thomas
00bb9d99a7
Refactored WSConnection and RPCHandler to have one layer of commands.
...
Evented RPC commands are now on the same level as all other RPC
commands and are handled by the RPCHandler class.
2012-11-10 15:17:28 -08:00
Arthur Britto
8d32892609
JS: Make currency and issuer private in Amount.
2012-11-09 17:33:37 -08:00
Arthur Britto
155854be23
UT: Add support for verifying offers & fix amount checking.
2012-11-08 18:09:18 -08:00
Stefan Thomas
79f352efde
Change from ws.on('message') to ws.onmessage for browser compat.
2012-11-08 14:03:35 -08:00
Stefan Thomas
b96f9bacdd
Store secrets on the remote object, rather than accessing the config directly.
2012-11-07 17:38:42 -08:00
Arthur Britto
b271192547
Rework config.js to not be add to web pack.
2012-11-07 16:03:39 -08:00
Stefan Thomas
c04b94f781
Custom events.js not actually needed anymore.
2012-11-07 14:01:43 -08:00
Stefan Thomas
f4d951cd67
Added JS build script.
2012-11-07 12:49:52 -08:00
Stefan Thomas
fa3fab5816
Moved cpp code to src/cpp and js code to src/js.
2012-11-07 12:49:50 -08:00