JoelKatz
88e938ec50
Change TXS acquire timeout.
2012-08-13 17:10:51 -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
JoelKatz
71b5b19198
Bugfix.
2012-08-06 02:25:59 -07:00
JoelKatz
39b28e1f50
Don't switch to a dead ledger. Without this, we can even get out of sync with ourselves!
2012-08-06 02:21:17 -07:00
JoelKatz
b14b2f5dab
Separate close times and network times.
2012-08-06 02:12:27 -07:00
JoelKatz
05e193f370
Use a median filter to protect against bad timeservers.
2012-08-05 20:07:08 -07:00
JoelKatz
65cbd319c1
Cleanups.
2012-08-05 03:56:17 -07:00
JoelKatz
ad0650b7fa
Suppress small offsets. They are likely just due to rounding.
2012-08-05 03:47:15 -07:00
JoelKatz
ed8635c98d
Use the OpenSSL RNG for randomness that needs to be secure.
2012-08-05 00:54:28 -07:00
JoelKatz
3e3d367c98
Finalizations, cleanup, and security improvements.
2012-08-05 00:39:06 -07:00
JoelKatz
6bd7738303
Make time errors a thing of the past.
2012-08-05 00:19:41 -07:00
JoelKatz
ee01b55874
An SNTP client implementation. About 95% complete right now.
2012-08-04 21:33:05 -07:00
Arthur Britto
1a6a6231cc
Add path expansion to transaction engine.
2012-08-03 14:57:52 -07:00