Commit Graph

1967 Commits

Author SHA1 Message Date
JoelKatz
e4e4cf0ed6 Release master lock while getting nodes from a mutable ledger for a peer. 2013-05-20 11:58:49 -07:00
JoelKatz
a5b30524d6 Merge branch 'faster_clientops' 2013-05-17 02:11:48 -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
6bedf6347f Set correct hash in fetch pack. 2013-05-17 01:13:45 -07:00
JoelKatz
fda807bcc0 Merge branch 'fetch_fix' 2013-05-17 01:06: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
fb7e01da41 CondVar::SignalAll was broken, leading to deadlocks on Windows builds.
http://code.google.com/p/leveldb/issues/detail?id=149
2013-05-16 23:01:24 -07:00
JoelKatz
fee53cd0cf Make sure to check the signature, even in this odd edge case. 2013-05-16 21:09:15 -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
8830b47fe9 Must wrap non-const references passed to make_shared. 2013-05-16 11:23:40 -07:00
JoelKatz
eddccf0cb6 Merge branch 'cache_snapshot' 2013-05-16 01:06:46 -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
1f3314f8f7 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:27:08 -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
8ee6d2381f Upgrade LevelDB to 1.10.0, mostly for better write stall logging. 2013-05-15 19:53:14 -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
4d1b45906d Update the signature check flags if needed. 2013-05-15 16:04:29 -07:00
JoelKatz
28a88b57ac Bypass signature check if it has already been done. 2013-05-15 16:04:19 -07:00
JoelKatz
e94802bc2a Don't stash the key when we don't need it. 2013-05-15 16:04:14 -07:00
JoelKatz
2b39f6a618 Cache signature state inside SerializedTransaction. 2013-05-15 16:04:10 -07:00
Vinnie Falco
7c0fc8c155 Normalize line endings 2013-05-15 16:04:02 -07:00
JoelKatz
8d23509f5b Operation to extract transaction ID from CanonicalTXSet entries. 2013-05-15 15:58:29 -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
8c17e8ba7d Merge branch 'faster_clientops'
Conflicts:
	src/cpp/ripple/RippleCalc.cpp
	src/cpp/ripple/TransactionCheck.cpp
2013-05-15 11:23:36 -07: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