Commit Graph

3863 Commits

Author SHA1 Message Date
Arthur Britto
5934f77b60 Add simple-jsonrpc to npm dependancies. 2012-12-30 17:00:49 -08:00
JoelKatz
5009d4c3b8 Cleanups. 2012-12-30 13:19:42 -08:00
Arthur Britto
eaaeaaba15 Allow seeds to be specified as hex. 2012-12-29 17:37:56 -08:00
Arthur Britto
0339aa9669 Have SetHex return validity and add strict option. 2012-12-29 17:37:39 -08:00
Arthur Britto
ab0da033c3 Add support for JSON-RPC subscriptions. 2012-12-29 16:07:29 -08:00
Arthur Britto
e91ce698f6 Add support for parsing port in urls. 2012-12-29 14:59:44 -08:00
Arthur Britto
824a79da85 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-29 14:43:07 -08:00
Arthur Britto
192dae3b74 Stub subscribe for JSON-RPC. 2012-12-29 14:42:38 -08:00
Arthur Britto
86d7781255 Fix user agent for JSON-RPC to use SYSTEM_NAME. 2012-12-29 14:41:07 -08:00
Arthur Britto
f6010b639a Rename --test to --unittest. 2012-12-29 14:40:20 -08:00
Arthur Britto
dc2d87480f Abstract parseUrl. 2012-12-29 14:39:41 -08:00
JoelKatz
b4004c4676 Fix a bug that, under rare circumstances, could lead to SHAMap corruption 2012-12-29 13:04:17 -08:00
JoelKatz
3ff4dc99ad Function to retrieve previous ledger hashes from the ledger. 2012-12-28 20:40:30 -08:00
JoelKatz
3c9be6f549 Remove FirstLedgerSequence and mark it deprecated 2012-12-28 19:46:01 -08:00
JoelKatz
76213bc985 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-28 16:59:56 -08:00
JoelKatz
a83e00610a Clarify the direction requests go 2012-12-28 16:52:12 -08:00
Arthur Britto
eaa1ce55ba Remove bad doc from ripple-example.txt. 2012-12-28 14:16:28 -08:00
Arthur Britto
77a55090d9 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-28 11:08:47 -08:00
JoelKatz
a169167030 Fix a bug where a node doesn't get a chance to finish acquiring a TX set
before all nodes forget it because they're done with it, leaving a node
behind the consensus.
2012-12-27 20:25:12 -08:00
Arthur Britto
e4318d266b JS: Add some place holders for the fee stuff. 2012-12-27 17:48:55 -08:00
JoelKatz
9f072fcac6 Fixes. 2012-12-27 16:55:49 -08:00
JoelKatz
3a673654b6 Make sure clients get the initial load information. 2012-12-27 16:54:11 -08:00
JoelKatz
33aee3705a Pass fee information to client. 2012-12-27 10:42:58 -08:00
JoelKatz
57f2b6d1bc Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-27 10:41:45 -08:00
JoelKatz
36f89edb74 Avoid a reference increment where it's not needed. 2012-12-27 10:41:32 -08:00
JoelKatz
c09133fb6d Function to get load factors in machine understandable form. 2012-12-27 10:41:10 -08:00
JoelKatz
22973c1e5b Function to get reserve increment. 2012-12-27 10:40:53 -08:00
Arthur Britto
54e4fcca4f Fix error code for bad fee. 2012-12-27 01:55:17 -08:00
JoelKatz
7c04eded0f Improve some consensus logging. 2012-12-26 22:30:18 -08:00
JoelKatz
829e359567 Disallow non-native transaction fees, rather than throwing on a non-comparable compare. 2012-12-26 14:26:34 -08:00
JoelKatz
dcd2fc9fab Begin to sanitize the fee structure. Implement load scaling. 2012-12-26 14:05:58 -08:00
JoelKatz
fa109a1aee Don't use a shared_ptr where an auto_ptr will do. 2012-12-26 13:54:51 -08:00
JoelKatz
79d139e2ce Don't let a tranasction set acquire stall. 2012-12-25 23:00:39 -08:00
JoelKatz
fa1db60011 Correctly check for acquire doneness. 2012-12-25 21:07:53 -08:00
JoelKatz
be2e55d49c Fix some cases where the acquire engine can stall. 2012-12-25 21:05:12 -08:00
Arthur Britto
f685e9e9ee Get rid of assert that prevented all of the extra mile. 2012-12-25 18:28:57 -08:00
Arthur Britto
dc578a8085 Push clean up code for bad ripple nodes. 2012-12-25 18:08:13 -08:00
Arthur Britto
e1330badda Raise number of entries in directory nodes. 2012-12-25 17:20:04 -08:00
Arthur Britto
14380311a1 Clean up aborted offers support going into debt. 2012-12-25 16:50:10 -08:00
Arthur Britto
f3b216b39f Handle errors from ripple state creating. 2012-12-25 16:42:33 -08:00
Arthur Britto
3ccf163fb3 Do not allow negative fees. 2012-12-25 16:21:17 -08:00
Arthur Britto
77d92e1767 Fix ripple state creating and deleting. 2012-12-25 16:14:10 -08:00
Arthur Britto
359e8cce0d Allow maximum send to use reserve for fees. 2012-12-25 16:11:21 -08:00
JoelKatz
49e6372a4e Forgot to send the actual ping. 2012-12-25 10:40:58 -08:00
JoelKatz
9124c91884 Ping websocket connections every two minutes.
Detect and close non-responsive connections.
UNTESTED
2012-12-25 10:19:24 -08:00
JoelKatz
7c13c57638 Make sure we clean up on a failed acquire. 2012-12-24 20:48:54 -08:00
JoelKatz
2897bd00c2 Make 'getNodeFat' throw an exception if a node that's not in the map is requested.
Log the context when this exception is thrown.
2012-12-24 19:08:57 -08:00
JoelKatz
7ffb9201c5 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-12-24 18:51:35 -08:00
JoelKatz
ebf3342773 Remove an assert. 2012-12-24 18:51:12 -08:00
Arthur Britto
7636e5f388 Remove obsolete TERs in prep for ledger wipe. 2012-12-24 16:06:50 -08:00