Commit Graph

2235 Commits

Author SHA1 Message Date
JoelKatz
7f5a81fee5 Fix some operating mode state transition rules. 2013-05-23 18:56:16 -07:00
JoelKatz
576ee472bf Add "syncing" state. 2013-05-23 18:46:39 -07:00
Arthur Britto
4be234518f Merge branch 'feature-strict-account_info' into develop
Conflicts:
	src/cpp/ripple/LedgerMaster.cpp
2013-05-23 16:02:49 -07:00
Arthur Britto
68510178c2 Add support for strict to CLI for account_info. 2013-05-23 16:01:15 -07:00
JoelKatz
68c8162a87 Release the master lock sooner. 2013-05-23 11:32:14 -07:00
JoelKatz
c3d1951c56 Ledgers fetched by SQL are immutable. 2013-05-23 11:08:17 -07:00
JoelKatz
7f593328c2 Assert on incorrect closed/immutable states. 2013-05-23 11:06:44 -07:00
JoelKatz
e958972c10 Cleanup. 2013-05-23 04:28:47 -07:00
JoelKatz
c6594bfd28 Mark closed ledgers immutable. 2013-05-23 04:12:40 -07:00
JoelKatz
7dc3335147 Deadlock fix. 2013-05-23 02:03:43 -07:00
JoelKatz
62751f8eef Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop 2013-05-22 14:37:11 -07:00
JoelKatz
aaf93be9ed Remove unneeded code that was implicated in a deadlock path. 2013-05-22 14:36:21 -07:00
Vinnie Falco
03725e463b Fix misspelled multiple inclusion supression macro 2013-05-22 10:00:19 -07:00
Vinnie Falco
365c113b43 Fix double to float conversion warning 2013-05-22 07:51:12 -07:00
JoelKatz
72f6d51015 wrong return type. 2013-05-22 00:10:02 -07:00
JoelKatz
6b2a6ea03e Report cache hit rates. 2013-05-21 16:10:51 -07:00
JoelKatz
51ec5787d5 Track TaggedCache hit rates. 2013-05-21 16:10:23 -07:00
JoelKatz
23eafaab85 doAccountLines micro-optimization. 2013-05-21 15:40:44 -07:00
JoelKatz
a6bbef4718 Let 'isValid' inline. 2013-05-21 15:39:35 -07:00
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
588ef7df86 Speed up ledger acquiring. 2013-05-16 23:32:50 -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