JoelKatz
22237e58ab
Check for network condition during idle time. Switch LCL if needed.
2012-08-13 22:27:29 -07:00
JoelKatz
8068e5fbb9
Remove chatty debug.
2012-08-13 22:27:20 -07:00
JoelKatz
ba6e65214b
Log whether a ledger is alive or dead when considering it as LCL.
2012-08-13 19:23:49 -07:00
JoelKatz
d1547998d7
Change LEDGER_MAX_INTERVAL to LEDGER_VAL_INTERVAL to more accurately reflect what it now does.
...
Turn this interval way up to ensure we can't lose synch (due to validations seeming too old)
if time resolution drops drastically.
2012-08-13 17:55:55 -07:00
JoelKatz
524e89f4e1
Timing cleanups.
2012-08-13 17:35:20 -07:00
JoelKatz
e3b6ec5080
Don't call newLCL more than once.
2012-08-13 17:18:58 -07:00
JoelKatz
4aea8c8dfb
Use fat root semantics when acquire transaction sets. This might save a pass.
2012-08-13 17:11:15 -07:00
JoelKatz
a7f192c989
Cleanups.
2012-08-13 17:11:00 -07:00
JoelKatz
ae6c724f54
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-08-13 17:10:59 -07:00
JoelKatz
88e938ec50
Change TXS acquire timeout.
2012-08-13 17:10:51 -07:00
Arthur Britto
02adbfc953
Merge branch 'ripple'
2012-08-13 17:06:43 -07:00
Arthur Britto
9e41cac0da
Add RPC ripple command and improve wallet_propose.
2012-08-13 17:05:35 -07:00
JoelKatz
0f51774f58
Some paranoid extra checks.
2012-08-13 15:10:38 -07:00
JoelKatz
99a3d83330
Indent fix.
2012-08-13 14:56:08 -07:00
JoelKatz
d554950efe
One more drop of extra debug.
2012-08-13 14:35:47 -07:00
JoelKatz
d3daa2fc00
Extra debug to help rule out the possibility that our ledgers are diverging after we are in sync.
2012-08-13 04:53:50 -07:00
JoelKatz
c5acd0f630
Cleanups.
2012-08-13 03:10:43 -07:00
JoelKatz
eaf0ffa08f
Possible fix for a bug Jed reported.
2012-08-13 03:10:29 -07:00
JoelKatz
3e72880c2f
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-08-13 02:19:42 -07:00
JoelKatz
e0aa5f287f
Some asserts to help track down a bug (that seems impossible) that Jed reported.
2012-08-13 02:19:18 -07:00
Arthur Britto
05304cc1fc
More work towards ripple backend.
2012-08-11 14:39:58 -07:00
Arthur Britto
2f3f51b0ee
Merge branch 'master' into ripple
...
Conflicts:
src/LedgerEntrySet.cpp
2012-08-10 13:15:34 -07:00
Arthur Britto
622066f7e3
Work towards ripple backend.
2012-08-10 12:58:59 -07:00
JoelKatz
5b431ea4f6
Fix the bug Jed reported where our second closed ledger has a close time in the past which
...
crashes the CLC timing code.
2012-08-10 10:51:35 -07:00
JoelKatz
e3c77d2c0c
More LedgerEntrySet code. Retrieve as Json. Finalize before serializing.
2012-08-09 19:21:08 -07:00
JoelKatz
d477172f65
Cleanups and whitespace fixes.
2012-08-09 19:20:53 -07:00
JoelKatz
1aa15c62e1
Implement STAmount::getRate.
2012-08-09 16:03:00 -07:00
JoelKatz
4e99d8d7bd
Cleanups.
2012-08-08 23:08:24 -07:00
JoelKatz
be17a3866f
Fix the race condition bug Jed reported. A time jump on startup could cause
...
an apparently overly-long (or even negative) ledger interval. The fix is to
start up time synch earlier and to tolerate slight negative ledger intervals.
2012-08-08 14:22:03 -07:00
JoelKatz
28bddfb538
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-08-08 13:56:52 -07:00
JoelKatz
9991c9532f
Not sure why I put this in, but it's wrong.
2012-08-08 13:56:31 -07:00
jed
7fd327ee38
compile on windows
2012-08-08 10:22:54 -07:00
JoelKatz
3a4762c609
Don't try to calculate close time offsets if a ledger closed due to being idle.
2012-08-08 01:35:44 -07:00
JoelKatz
9fc4f469b8
Add STAmount::isNonZero
2012-08-08 01:35:34 -07:00
JoelKatz
8e89335e2b
Cleanups to the sha map node format code.
2012-08-07 19:52:09 -07:00
JoelKatz
b4e63c3025
Fix a few cases where we reset the acquire timer when we should not.
2012-08-07 04:11:20 -07:00
JoelKatz
86b9597ddd
Reduce log chattiness.
...
Acquire transaction and state trees in parallel.
2012-08-07 03:32:58 -07:00
JoelKatz
03e8104f62
Small close time consensus fix.
2012-08-07 01:39:34 -07:00
JoelKatz
f80b884e81
Fix a consensus close time bug.
2012-08-07 01:30:39 -07:00
JoelKatz
5c01dc7338
We can lose time consensus.
2012-08-06 04:28:20 -07:00
JoelKatz
7186d45f45
Some extra debug to try to find the close time consensus buglet.
2012-08-06 04:22:35 -07:00
JoelKatz
241393410a
More json information about consensus process.
...
Fix a bug where swithing ledgers during the consensus window caused us to use the wrong close resolution.
2012-08-06 03:57:01 -07:00
JoelKatz
7a5db15041
Add more consensus information to the "server_info" RPC call.
2012-08-06 03:51:44 -07:00
JoelKatz
efa3653b80
Bugfix for moving from connected to tracking state.
...
Skeleting for getting Json info from consensus engine.
2012-08-06 03:40:52 -07:00
JoelKatz
85c0293673
Report peer close times.
2012-08-06 03:39:45 -07:00
JoelKatz
e491922058
Simplify.
2012-08-06 03:06:16 -07:00
JoelKatz
573ef488f2
Fix dead ledger logic.
...
Improve some logging.
Fix how we handle close time consensus based on whether we're validating.
2012-08-06 03:05:44 -07:00
JoelKatz
6553b21318
Fix some dead ledger logic.
2012-08-06 03:05:35 -07:00
JoelKatz
3ae8ec6168
Remove some old debug.
2012-08-06 03:05:17 -07:00
JoelKatz
3e2ecc88cc
Check that we don't already have a dead ledger.
2012-08-06 02:32:53 -07:00