Commit Graph

1922 Commits

Author SHA1 Message Date
JoelKatz
dedb8ff945 Merge branch 'cache_snapshot' into develop 2013-05-20 11:56:36 -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
1139ac5ab4 Make fetch packs less generous. 2013-05-17 02:04:04 -07:00
JoelKatz
327f20710c Fix. 2013-05-17 01:56:34 -07:00
JoelKatz
ff6e035e6e Bugfix. 2013-05-17 01:52:39 -07:00
JoelKatz
c2bea03886 Bug in previous commit. 2013-05-17 01:50:19 -07:00
JoelKatz
c0e046a721 Don't put a leaf node in a fetch pack just because it moved. 2013-05-17 01:46:39 -07:00
JoelKatz
249d5575cd Avoid an allocate/copy/free 2013-05-17 01:46:22 -07:00
JoelKatz
c377562e7f Cleanups. 2013-05-17 01:44:49 -07:00
JoelKatz
141c2dce11 Avoid needless allocate/copy/free 2013-05-17 01:44:37 -07:00
JoelKatz
d22c11be1c Return references. 2013-05-17 01:40:55 -07:00
JoelKatz
5b68834e3b Set correct hash in fetch pack. 2013-05-17 01:14:03 -07:00
JoelKatz
a71225f9a3 Don't service stale/superceded fetch pack requests. 2013-05-17 01:05:29 -07:00
JoelKatz
5e1dddd1c7 Second check if fetch pack should be skipped. 2013-05-17 01:02:01 -07:00
JoelKatz
4d0f02a46a CondVar::SignalAll was broken, leading to deadlocks on Windows builds.
http://code.google.com/p/leveldb/issues/detail?id=149
2013-05-16 23:02:11 -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
6d020177ca Log the sequence in the close time message. 2013-05-16 12:01:55 -07:00
JoelKatz
33b318c5bc Improve backfill in validation gate. 2013-05-16 11:59:28 -07:00
JoelKatz
c98a3e3895 Must wrap non-const references passed to make_shared. 2013-05-16 11:24:20 -07:00
JoelKatz
28f54176f3 Use the current snapshot to get immutable ledger optimizations. 2013-05-16 00:58:44 -07:00
JoelKatz
eecc9017b1 Wrapper to get current snapshot. 2013-05-16 00:58:34 -07:00
JoelKatz
6556719547 LedgerMaster keeps cached snapshot of the current ledger. 2013-05-16 00:58:20 -07:00
JoelKatz
379875ae47 Hash is not valid if transaction is added to ledger. 2013-05-16 00:57:56 -07:00
JoelKatz
9c55b3b92a Allow servers to explcitly vouch for correct signatures on
transactions, proposals, and validations. This will allow cluster
members to more safely distribute crypto work.
2013-05-15 20:26:12 -07:00
JoelKatz
afbaa46924 Upgrade LevelDB to 1.10.0, mostly for better write stall logging. 2013-05-15 17:32:44 -07:00
JoelKatz
b00ac64941 Update the signature check flags if needed. 2013-05-15 15:55:35 -07:00
JoelKatz
586c6aee31 Bypass signature check if it has already been done. 2013-05-15 15:55:23 -07:00
JoelKatz
285ef764d3 Don't stash the key when we don't need it. 2013-05-15 15:54:52 -07:00
JoelKatz
a690ca658d Cache signature state inside SerializedTransaction. 2013-05-15 15:54:30 -07:00
JoelKatz
1bef09b0ef Operation to extract transaction ID from CanonicalTXSet entries. 2013-05-15 15:53:49 -07:00
Vinnie Falco
5df387017b Normalize line endings 2013-05-15 21:07:01 +00:00
JoelKatz
794469fddb Report the number of "backed up" node writes in get_counts. 2013-05-15 11:11:19 -07:00
JoelKatz
7855c4d642 Merge branch 'faster_clientops' into develop 2013-05-14 18:44:42 -07:00
JoelKatz
c4345768e7 Fix an assert. 2013-05-14 18:44:27 -07:00
JoelKatz
05b9004966 Missed a constructor. 2013-05-14 18:41:21 -07:00
JoelKatz
9be7b9cc3f doBookOffers optimizations. 2013-05-14 18:38:36 -07:00
JoelKatz
417143a25e Okay to put immutable SLE in immutable LES. 2013-05-14 18:38:07 -07:00
JoelKatz
696ffe4b87 Use the immutable LES. 2013-05-14 18:36:26 -07:00
JoelKatz
29d86eba55 Cache for immutable LES's. 2013-05-14 18:36:14 -07:00
JoelKatz
423635d2ef Faster publishing of order book changes to book listeners 2013-05-14 18:25:47 -07:00
JoelKatz
9489bd8da0 Merge branch 'faster_clientops' into develop 2013-05-14 16:24:54 -07:00
JoelKatz
e04ca79778 Bugfix. 2013-05-14 16:24:46 -07:00
JoelKatz
232e93f214 Merge branch 'faster_clientops' into develop
Conflicts:
	src/cpp/ripple/LedgerEntrySet.cpp
2013-05-14 16:02:10 -07:00
JoelKatz
6a84a95979 Accept ledgers more efficiently by avoiding allocate/allocate/copy/copy/free cycles. 2013-05-14 11:49:33 -07:00
JoelKatz
d87c602c8c Log reduction. 2013-05-14 11:04:32 -07:00
JoelKatz
471d4e0505 Prevent crashing when we try to delete a non-existent offer. 2013-05-14 11:01:58 -07:00
JoelKatz
098145bd51 Reduce logging. 2013-05-14 11:01:52 -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
baf2841873 Bugfix. 2013-05-14 09:30:00 -07:00