Commit Graph

90 Commits

Author SHA1 Message Date
Vinnie Falco
4d1bf35236 Move PackedMessage to ripple_data 2013-06-06 21:43:44 -07:00
Vinnie Falco
3f3c76ab7e Split LoadEvent to a new file 2013-06-06 21:42:21 -07:00
Vinnie Falco
32a3024ce4 Refactor FeatureTable into IFeatures
Conflicts:
	src/cpp/ripple/FeatureTable.h
	src/cpp/ripple/ripple_Features.cpp
2013-06-06 21:38:01 -07:00
Vinnie Falco
594c47f16b Refactor SuppressionTable into IHashRouter
Conflicts:
	src/cpp/ripple/Application.h
2013-06-06 20:43:33 -07:00
Vinnie Falco
794b84c473 Fix missing file names for new Log partition code 2013-05-27 13:15:57 -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
319baa9d02 Mark closed ledgers immutable. 2013-05-23 04:29:01 -07:00
JoelKatz
6d020177ca Log the sequence in the close time message. 2013-05-16 12:01:55 -07:00
JoelKatz
586c6aee31 Bypass signature check if it has already been done. 2013-05-15 15:55:23 -07:00
JoelKatz
09c37874a2 More change process work. 2013-04-26 23:14:40 -07:00
JoelKatz
31a8099aa0 Remove obsolete code. 2013-04-26 00:33:51 -07:00
JoelKatz
7f4d76808b Fixes and simplifications. 2013-04-26 00:11:44 -07:00
JoelKatz
93c4e5aa5f We log the wrong ledger hash 2013-04-24 09:40:34 -07:00
JoelKatz
b906cebf12 Fee change bugfixes. 2013-04-23 11:48:51 -07:00
JoelKatz
9c9fb267d9 Finish fee change logic. 2013-04-23 09:57:08 -07:00
JoelKatz
84087e62cb Smarter peer selection for acquires. 2013-04-23 06:48:42 -07:00
JoelKatz
8a368204c1 Last part of the fetch pack code. 2013-04-22 06:56:11 -07:00
JoelKatz
f07e6d82f6 Fix a bug that can cause us to fail to realize we're in sync. 2013-04-21 16:34:10 -07:00
JoelKatz
0bc9c0b737 Timing change to avoid allowing a server to race ahead of the
majority of validators. Enforce minimum ledger open time which
is extended if there are too few validations.
2013-04-15 09:50:23 -07:00
JoelKatz
632ce3d8bd Use isSet rather than isValid to avoid needless crypto operations. 2013-04-14 03:16:42 -07:00
JoelKatz
fd769cdca1 Merge branch 'master' of github.com:jedmccaleb/NewCoin into develop 2013-04-05 09:58:08 -07:00
JoelKatz
04d48a6d21 Emergency fix: Sanely handle taking a position we previously failed to acquire. 2013-04-05 09:57:24 -07:00
JoelKatz
bc5a81efc3 Report which acquires failed in 'consensus_info'. 2013-04-05 09:50:37 -07:00
JoelKatz
7131564eb1 Emergency patch to fix ledger not closing.
Do not timeout on acquiring a transaction set if a trusted peer
still proposes it. Instead, fetch more aggressively.
2013-04-05 09:41:43 -07:00
JoelKatz
cd14be1afb Better logging of untrusted validations. (To make sure there's no bug.) 2013-03-21 06:03:47 -07:00
JoelKatz
371d52cc9e Move LCT code to the right file.
Be smarter in the consensus set filter code.
2013-03-20 09:22:30 -07:00
JoelKatz
6e9a1f09b5 Break TransacionAcquire into its own implementation file. 2013-03-20 08:54:17 -07:00
JoelKatz
d4323f2ef2 Fix a case where a node that closed slightly ahead of other ledgers can
think it's out of sync with the network and cause it to jump backwards one
ledger, causing it to be out of sync because the network was about to catch
up to it.
2013-03-14 11:48:29 -07:00
JoelKatz
e56f7a8689 Fix a rare race condition. 2013-03-14 09:48:43 -07:00
JoelKatz
774c38f99c Fix tie breaking in ledger validation during preClose consensus phase. 2013-03-11 15:30:55 -07:00
JoelKatz
d1169ee86d Make sure all load sources are named. 2013-03-04 16:22:09 -08:00
JoelKatz
a3dcc36e05 Typo and some extra debug. 2013-03-03 14:07:46 -08:00
JoelKatz
4b97f422f3 Rework how we declare a close time consensus to prevent stalls. 2013-03-01 13:46:13 -08:00
JoelKatz
92c1766f49 Ack! A delayed consensus causes the close time threshold to ratchet the wrong way. 2013-03-01 13:20:08 -08:00
JoelKatz
5089db1518 Add some extra debug logging to track absence of CT consensus. 2013-03-01 13:17:14 -08:00
JoelKatz
85cd5bc47f Fix the bug that crashed ec2. Must hold a TransactionAcquire::pointer
to call a function that calls erase.
2013-02-28 19:41:03 -08:00
JoelKatz
7b14d2d44a Fig a bug in the way we traverse TaggedCaches and a similar bug in mPeerPositions. 2013-02-25 20:28:20 -08:00
JoelKatz
076add0e73 Be more aggressive about relaying disputed transactions. 2013-02-24 14:13:20 -08:00
JoelKatz
92be1c70f5 Hopefully prevent a jump forward at the end of the consensus process.
If not, at least figure out exactly where in the consensus state machine that's happening.
2013-02-24 13:47:21 -08:00
JoelKatz
b512ed3df2 Correctly handle local failures in the consensus transaction application process.
Local failures are not retriable.
2013-02-11 16:43:29 -08:00
JoelKatz
8653d679b3 Change rule slightly if consensus seems stuck. 2013-02-10 13:23:11 -08:00
JoelKatz
b39a977282 Cleanups. 2013-02-10 01:09:37 -08:00
JoelKatz
f8f56b96e0 Tiny cleanups. 2013-02-09 20:07:53 -08:00
JoelKatz
4ef325e8a9 More logging improvements. 2013-02-09 16:16:46 -08:00
JoelKatz
7ea9ad9de7 Improve consensus logging. 2013-02-09 15:41:21 -08:00
JoelKatz
79cbb0eea0 Cleanups. 2013-02-09 15:34:43 -08:00
JoelKatz
18167be5e3 Add new 'consensus_info' RPC command to help troubleshoot consensus convergence issues. 2013-02-09 14:21:57 -08:00
JoelKatz
517c1c48ff Clean up pass counts. 2013-01-21 18:26:24 -08:00
JoelKatz
18001a0058 Fix retry bug. 2013-01-21 17:55:39 -08:00