JoelKatz
73c795a4b2
I guess I couldn't get away with this.
2013-02-21 02:52:22 -08:00
JoelKatz
25c52b1a4d
Use getSLEi to get an immutable SLE. This lets us cache them.
2013-02-20 12:00:38 -08:00
JoelKatz
84a2af37f9
Add 'getValidatedSeq'.
2013-02-17 16:49:24 -08:00
JoelKatz
862dbd7234
Add NetworkOPs::isValidate functions to check if a ledger is fully validated.
2013-02-15 19:01:48 -08:00
JoelKatz
73fe72bfa3
Track whether a message is a broadcast. If a broadcast, log at a lower level.
2013-02-12 22:05:46 -08:00
JoelKatz
7d8624d0e7
Fix two minor bugs with reporting load fees.
2013-02-11 23:30:35 -08:00
JoelKatz
d0e85ff4b4
Make sure all fee schedule changes are reported to clients.
2013-02-11 14:50:15 -08:00
Arthur Britto
a62c72d79b
More verbose logging about publishing.
2013-02-10 21:48:42 -08:00
JoelKatz
4abdb34c20
Trivial cleanups.
2013-02-09 16:17:12 -08:00
JoelKatz
18167be5e3
Add new 'consensus_info' RPC command to help troubleshoot consensus convergence issues.
2013-02-09 14:21:57 -08:00
jed
1a4e0d6868
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-06 09:05:43 -08:00
JoelKatz
4f40042090
Remove an extraneous cast.
2013-02-06 02:20:54 -08: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
jed
eb27240610
first draft
2013-02-05 13:04:38 -08:00
JoelKatz
9781c10736
Fix some cases where ledger flags are incorrectly set.
2013-02-01 16:11:32 -08:00
jed
62f6d030c6
still working
2013-01-31 10:59:19 -08:00
JoelKatz
aea0f42cb0
Mark a seriouse FIXME.
2013-01-21 17:12:05 -08:00
JoelKatz
80d98e55a9
Clean up JSON reporting of booleans and network state.
2013-01-18 17:38:11 -08:00
JoelKatz
809868c6fc
This is not optimal, but this should at least make the logic for when we
...
publish transactions to which accounts sensible.
2013-01-17 11:33:42 -08:00
JoelKatz
40e508540f
load_fee -> load_factor
2013-01-15 19:26:52 -08:00
JoelKatz
1c48f6948d
Fix "age".
2013-01-15 19:21:24 -08:00
JoelKatz
8191153dce
Split into server_info (for humans) and server_state (for machines).
...
Allow either without admin privileges, filter information out from non-admins.
Cleanup and improve data in all cases.
2013-01-15 19:16:20 -08:00
JoelKatz
d398c5bb02
Don't show our validation key in non-admin server_info.
2013-01-15 17:03:00 -08:00
JoelKatz
343d9edb51
make server_info more friendly.
2013-01-15 02:01:24 -08:00
Arthur Britto
88c702a957
Make actual submitting optional for submitTransactionSync
2013-01-14 16:59:06 -08:00
Arthur Britto
2b70d3f750
Output fee information in server_info.
2013-01-14 14:28:23 -08:00
Arthur Britto
04c17ac1f3
Work toward subscribe accounts by ledger index.
2013-01-05 16:51:45 -08:00
JoelKatz
dfbd640f6c
Complete the fetch by hash logic, including tracking the hashes we want.
2013-01-04 22:14:53 -08:00
JoelKatz
7859dceb32
Small cleanup.
2013-01-03 23:09:17 -08:00
JoelKatz
6783f80034
Remove a FIXME, it has been fixed.
2013-01-03 18:17:08 -08:00
Arthur Britto
da456d0107
Merge branch 'testnet'
2013-01-02 23:03:06 -08:00
Arthur Britto
e7e16e5c75
Provide --testnet status to API.
2013-01-02 22:57:11 -08:00
JoelKatz
1127ae560e
Defer publishing a ledger to clients until it accumulates sufficient
...
validations. We now have an open ledger, a last closed ledger, and a last
validated ledger. Normally, a ledger will be validated right after it
closes, but in edge cases, we might see a ledger close that then doesn't get
validated. This makes the code do the right thing.
2013-01-02 12:04:16 -08:00
JoelKatz
40b87e9157
Fix a bug that would cause the server to exit the "need network ledger" state prematurely.
2012-12-30 23:48:53 -08:00
Arthur Britto
ab0da033c3
Add support for JSON-RPC subscriptions.
2012-12-29 16:07:29 -08:00
Arthur Britto
192dae3b74
Stub subscribe for JSON-RPC.
2012-12-29 14:42:38 -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
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
9124c91884
Ping websocket connections every two minutes.
...
Detect and close non-responsive connections.
UNTESTED
2012-12-25 10:19:24 -08:00
JoelKatz
cc7b1434c7
Begin tying in the new transaction queue code.
2012-12-19 11:31:33 -08:00
JoelKatz
8a1033caad
Second round of removing extraneous copy constructor and destructor calls.
2012-12-17 20:31:26 -08:00
JoelKatz
2a06686b7c
Round one of fixes to avoid ridiculous numbers of spurious copy constructor and destructor calls.
...
Most of these fixes involve calls to BOOST_FOREACH to iterate over a map or unordered_map where the
iterator type didn't perfectly match the internal type, so a reference into the map couldn't be created
and a new value/content pair had to be created for each iteration.
2012-12-17 20:20:24 -08:00
Arthur Britto
f93dc7a7b4
Fix network state reporting in server and client.
2012-12-14 16:34:11 -08:00
Stefan Thomas
cbb1e50222
Add event allowing client to track server's network connectivity.
2012-12-06 12:33:41 -08:00
JoelKatz
1d2bb868b6
Remove RAND_bytes calls.
2012-12-06 10:55:56 -08:00
Arthur Britto
de9cffe5c5
Emit 256 bits of random on RPC server subscribe.
2012-12-06 00:02:02 -08:00
Arthur Britto
5b68f2a15d
Refactor NetworkOps and RPC to specify account_index and ledgers better.
2012-12-05 18:02:41 -08:00
JoelKatz
d046730223
Latency targets.
2012-12-03 04:40:26 -08:00