Vinnie Falco
92bdcba096
Split DH from utils, remove utils from project
2013-05-27 13:16:08 -07:00
Vinnie Falco
4e8d4c28c2
Remove legacy upTime() function
2013-05-27 13:16:01 -07:00
Vinnie Falco
d762abfc85
Move Log to ripple_basics and split websocket logging to ripple_net
2013-05-27 13:16:00 -07:00
Vinnie Falco
ce66f950cf
Put json in its own module with header
2013-05-27 13:15:58 -07:00
Vinnie Falco
e227637e34
Factor upTime() out of KeyCache, fix warnings
2013-05-27 13:15:58 -07:00
Vinnie Falco
794b84c473
Fix missing file names for new Log partition code
2013-05-27 13:15:57 -07:00
Vinnie Falco
f4cb47fed6
Add ripple_net module
2013-05-27 13:14:09 -07:00
JoelKatz
68c8162a87
Release the master lock sooner.
2013-05-23 11:32:14 -07:00
JoelKatz
7dc3335147
Deadlock fix.
2013-05-23 02:03:43 -07:00
JoelKatz
b6b455ab37
Release master lock while getting nodes from a mutable ledger for a peer.
2013-05-17 03:16:04 -07:00
JoelKatz
968618a50c
More verbose logging of invalid node requests.
2013-05-17 02:04:12 -07:00
JoelKatz
a71225f9a3
Don't service stale/superceded fetch pack requests.
2013-05-17 01:05:29 -07:00
JoelKatz
fe30c9593a
Don't log a transaction receipt for each peer we get it from.
2013-05-14 11:00:41 -07:00
JoelKatz
4812d30c16
Be smarter about when we grab fetch packs.
2013-04-25 19:11:18 -07:00
JoelKatz
494202fbcf
Ledger acquire improvements and I/O reductions.
2013-04-25 11:09:57 -07:00
JoelKatz
84087e62cb
Smarter peer selection for acquires.
2013-04-23 06:48:42 -07:00
JoelKatz
df32873321
Cleanups.
2013-04-22 15:17:23 -07:00
JoelKatz
905bc84c94
Small fix.
2013-04-22 11:15:07 -07:00
JoelKatz
aeccecb578
ech pack stuff.
2013-04-22 11:09:07 -07:00
JoelKatz
d339e1c789
Protocol version check was busted.
2013-04-22 07:34:30 -07:00
JoelKatz
8a368204c1
Last part of the fetch pack code.
2013-04-22 06:56:11 -07:00
JoelKatz
0c7066944e
Fetch pack scheme. Phase two.
2013-04-21 20:37:46 -07:00
JoelKatz
79ec8e6070
First part of fetch acceleration changes. Includes a bugfix that I'll push to master.
2013-04-21 12:44:21 -07:00
JoelKatz
8ed0d107fd
Allow administrators to submit transactions that don't meet the local load fee.
2013-04-15 17:14:20 -07:00
JoelKatz
f96df4d84f
Add the IP address to a log message.
2013-03-29 15:48:54 -07:00
JoelKatz
85afb49058
Time fetches better.
2013-03-29 08:22:52 -07:00
JoelKatz
cd14be1afb
Better logging of untrusted validations. (To make sure there's no bug.)
2013-03-21 06:03:47 -07:00
JoelKatz
9ff59c93f8
Fix bogus comment and race condition in ledger fetch code.
2013-03-20 09:31:03 -07:00
JoelKatz
72f291edd1
Better logging of connections to cluster peers.
2013-03-20 08:54:39 -07:00
JoelKatz
8dc9b7bc64
Log IP address on peer disconnection.
2013-03-20 02:00:40 -07:00
JoelKatz
125c5273a6
Dispatch transaction from job queue, not I/O service. Mark a FIXME where we don't do this.
2013-03-18 03:10:20 -07:00
JoelKatz
b9456c8fd7
Except when interacting with boost, use std::function and std::bind
...
when C++11 is available. See: http://stackoverflow.com/questions/14617835
2013-03-16 03:27:43 -07:00
JoelKatz
e392366c63
Get ledger acquire work off the main thread and out of the master lock.
...
Prioritize ledger acquire work appripriately. This should help prevent the
server from becoming overly sluggish while acquiring ledgers. Still todo:
Finish all pending receive operations before sending out any data requests.
2013-03-15 22:34:55 -07:00
JoelKatz
2248d92a33
Wrap all peer socket accesses in a strand. This is needed to prevent a fatal
...
race condition in composed intermediary functions.
A few ledger acquire cleanups.
2013-03-12 16:53:30 -07:00
JoelKatz
01655f4fe1
Remove abort.
2013-03-11 22:20:05 -07:00
JoelKatz
39d85b7b9e
Missing lock.
2013-03-11 22:14:55 -07:00
JoelKatz
7c3d732a08
Name load source. Hook up load sources through WSConnection->RPCHandler.
2013-03-07 18:07:34 -08:00
JoelKatz
32ca30c2e9
Log peer IP if possible.
2013-03-06 19:57:56 -08:00
JoelKatz
eaec5cb206
Log peer IP on bad sign
2013-03-06 19:32:04 -08:00
JoelKatz
0007d76923
Job queue simplificaiton
2013-03-06 19:30:08 -08:00
JoelKatz
0ce965948e
Identify peer commands by name.
2013-03-06 18:37:35 -08:00
JoelKatz
d1169ee86d
Make sure all load sources are named.
2013-03-04 16:22:09 -08:00
JoelKatz
f0c029ef0d
Rework the way load is accounted to be more accurate and more specific.
2013-03-03 16:24:47 -08:00
JoelKatz
44f9106556
Complete the peer ping/pong logic. Disconnect idle/broken peers.
2013-02-20 21:42:27 -08:00
JoelKatz
c375d2d96b
Logging reduction.
2013-02-19 15:44:12 -08:00
JoelKatz
9ed6779af9
Trivial changes.
2013-02-10 01:23:52 -08:00
JoelKatz
79cbb0eea0
Cleanups.
2013-02-09 15:34:43 -08:00
JoelKatz
00fd3d5a49
Demote some logging.
2013-02-08 16:33:35 -08:00
JoelKatz
3d3304ff1b
Assign friendly names to trusted nodes.
2013-01-31 16:10:27 -08:00
JoelKatz
0cb1a1d84b
Cleanups and timing adjustments.
2013-01-28 02:32:57 -08:00