Vinnie Falco
eb57573f9a
Refactor ConnectionPool into IPeers and hide the implementation
...
Conflicts:
src/cpp/ripple/Application.h
2013-06-06 21:50:49 -07:00
Vinnie Falco
4d1bf35236
Move PackedMessage to ripple_data
2013-06-06 21:43:44 -07:00
Vinnie Falco
794b84c473
Fix missing file names for new Log partition code
2013-05-27 13:15:57 -07:00
Vinnie Falco
082a48b70c
Fix LedgerMaster for new log routines
2013-05-27 13:15:54 -07:00
Vinnie Falco
5615bd230d
Strip includes from module sources and move them into unity .cpp file
2013-05-27 13:14:06 -07:00
Vinnie Falco
a5ab694e48
Switch over more files to use the new Log functions
2013-05-27 13:14:04 -07:00
JoelKatz
3d4d6068ab
Reduce debug.
2013-05-23 20:15:13 -07:00
JoelKatz
576ee472bf
Add "syncing" state.
2013-05-23 18:46:39 -07:00
JoelKatz
dedb8ff945
Merge branch 'cache_snapshot' into develop
2013-05-20 11:56:36 -07:00
JoelKatz
7f25ccec49
Make sure to check the signature, even in this odd edge case.
2013-05-16 19:31:52 -07:00
JoelKatz
33b318c5bc
Improve backfill in validation gate.
2013-05-16 11:59:28 -07:00
JoelKatz
6556719547
LedgerMaster keeps cached snapshot of the current ledger.
2013-05-16 00:58:20 -07:00
JoelKatz
586c6aee31
Bypass signature check if it has already been done.
2013-05-15 15:55:23 -07:00
JoelKatz
60d40d19b7
Need ref wrapper.
2013-05-04 11:36:57 -07:00
JoelKatz
9e47107255
Rework dispatch of new API PF requests.
2013-05-03 09:33:58 -07:00
JoelKatz
b6871cba8d
Dispatch new pathfinding requests.
2013-05-02 16:13:36 -07:00
JoelKatz
4812d30c16
Be smarter about when we grab fetch packs.
2013-04-25 19:11:18 -07:00
JoelKatz
c785bb3673
More fetch fixes.
2013-04-25 13:28:55 -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
d5535dbdfd
More fetch pack work.
2013-04-22 12:45:37 -07:00
JoelKatz
aeccecb578
ech pack stuff.
2013-04-22 11:09:07 -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
5d4e7db788
Fix the fix.
2013-04-03 14:20:20 -07:00
JoelKatz
88dba87fa9
Fix the deadlock. Can't hold the LedgerMaster lock when calling a pub* function.
2013-04-03 14:17:06 -07:00
JoelKatz
00e2ac8298
Fix a race applying connections to the open ledger.
2013-04-02 13:41:42 -07:00
JoelKatz
5cc9314d03
Add a framework for detecting databases that need updating.
...
Put transaction from account_tx command in transaction application sequence.
CAUTION: This modifies your databases and will cause a delay on your next startup.
2013-04-01 19:03:28 -07:00
JoelKatz
e40b7b9f0b
Stop the acquire engine in cases where it shouldn't run.
2013-03-29 10:16:25 -07:00
JoelKatz
3ec1865ce5
Range of validated ledgers.
2013-03-27 14:46:31 -07:00
JoelKatz
84d6210f4f
Don't spin up acquire engine if we still need the network ledger.
2013-03-22 10:28:40 -07:00
JoelKatz
9edfd51430
Reduce some log severities.
2013-03-17 21:24:56 -07:00
JoelKatz
1994ed96dd
Try to catch the acquire ledger bug earlier.
2013-03-17 16:51:44 -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
e9a02882f1
Don't let ledger fetching go too fast.
2013-03-12 15:17:26 -07:00
JoelKatz
566b36715d
Simplify the ledger acquire logic. This fixes a few bugs related to it including
...
the issue if you remove the ledger DB.
2013-03-11 17:57:12 -07:00
JoelKatz
c26726eff3
Bugfix for ledger acquired but not written to database with txns.
2013-03-11 09:19:54 -07:00
JoelKatz
6f811f1e96
Back out some Ledger::ref uses that scare me.
2013-03-10 16:03:23 -07:00
JoelKatz
ff8dbcf5ff
Remove pending save logic. Replace with job count logic.
...
Prioritize newer ledgers over clients.
2013-03-06 20:57:11 -08:00
JoelKatz
1c9b4840d6
Bugfix.
2013-03-05 23:37:41 -08:00
JoelKatz
50b97386cd
Under a certain rare combination of circumstances a ledger may not get added
...
to our chain of fully-validated ledgers. Essentially, if we have the ledger
for some other reason, we won't "acquire" it, so behavior triggered only by
acquiring the ledger will not happen. This issue would be persistent.
2013-03-05 10:17:17 -08:00
JoelKatz
7f6305a6ab
Fix a race condition.
2013-03-05 06:46:30 -08:00
JoelKatz
81c359594e
Tweaks.
2013-03-04 21:51:04 -08:00
JoelKatz
51db2d2cd7
Reprocess accepted ledgers once. Track metadata, transaction data, and affected accounts.
...
Process to SQL database and publish from this structure.
Include number of transactions in ledger publish info.
Publish transactions in applied order.
2013-03-04 13:59:53 -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
51a85504a8
Startup and shutdown improvements. Performance improvements.
2013-03-03 02:09:19 -08:00
JoelKatz
167d13cf40
I think this is the underlying issue. In some cases where the tx return value wasn't
...
full success, we applied to our open ledger but didn't relay. This caused disputes
resolved only by dispute relaying.
2013-02-24 16:48:54 -08:00
JoelKatz
1e2aba6b38
Ledger acquire timing changes. Better logging of acquire stalls.
2013-02-21 02:47:19 -08:00
JoelKatz
52c378411d
If we start seeing acquire timeouts, don't start new acquires.
...
The link could be overloaded.
2013-02-20 13:30:57 -08:00
JoelKatz
4d6bf6fd43
Logging reductions.
2013-02-19 15:41:03 -08:00