Vinnie Falco
00a7cbf610
Update copyright notice and 80 column separators
2013-06-15 18:20:59 -07:00
Vinnie Falco
521e812fc4
Reformatting using AStyle
2013-06-14 08:45:13 -07:00
Vinnie Falco
c23b088755
Rename to PathRequest, begin include dependency analysis in ripple_client
2013-06-11 09:45:11 -07:00
JoelKatz
b757d9fd72
Spread fetch pack requests correctly.
2013-06-10 22:28:36 -07:00
Vinnie Falco
cf3593b01b
Tidy up and annotate
2013-06-09 19:25:24 -07:00
Vinnie Falco
3273625f61
Split up InfoSub and tidy up various files
2013-06-09 11:26:18 -07:00
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