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
JoelKatz
78f415f386
Allow a 20 second clock offset.
2012-08-03 07:02:18 -07:00
JoelKatz
127391b345
Remove assert.
2012-08-03 06:51:32 -07:00
JoelKatz
d98a931b8e
Compute our clock offset. (We don't actually set it yet though.)
2012-08-03 04:40:16 -07:00
JoelKatz
97c1dc73f6
Use the offset.
2012-08-03 04:40:10 -07:00
JoelKatz
0f4800f6bb
Support for a local time to network time offset
2012-08-03 04:39:52 -07:00
JoelKatz
1892e7e00a
Some extra debug.
2012-08-03 04:11:52 -07:00
JoelKatz
5778cb1183
Keep one validation back to avoid a split case when some nodes have sent new validations and some haven't
2012-08-03 04:07:01 -07:00
JoelKatz
6815c7ef98
Cleanups.
2012-08-03 04:06:53 -07:00
JoelKatz
d251a67d17
Fix typos.
2012-08-03 03:47:27 -07:00
JoelKatz
debcea79f0
Don't switch to our own previous ledger.
2012-08-03 03:46:31 -07:00
JoelKatz
9eaf052ee8
Make this compile temporarily.
2012-08-03 03:22:32 -07:00
JoelKatz
7b44fffb27
Make this compile.
2012-08-03 03:22:00 -07:00
JoelKatz
a202eb50d7
Cleanups.
2012-08-03 02:57:55 -07:00
JoelKatz
c5f7656137
Better logging of ledger jumps.
2012-08-03 02:57:36 -07:00
JoelKatz
a089dd5460
Fix a bug in how we count validations.
2012-08-03 02:57:14 -07:00
Arthur Britto
42bd29c212
Work towards ripple.
2012-08-02 19:16:24 -07:00
JoelKatz
0f44af556e
Better reporting of ledger jumps.
2012-08-02 11:51:24 -07:00
JoelKatz
e373a58f5c
Avoid duplicate completion of acquired ledgers.
2012-08-02 11:50:59 -07:00
JoelKatz
67ee822948
Fix the other half of the acquire timeout bug.
2012-08-02 11:36:48 -07:00
JoelKatz
befd7aa108
Fix an infinite timeout scenario with ledger acquisition.
2012-08-02 11:34:11 -07:00
JoelKatz
63576f0709
Fix the crash bug Jed reported.
2012-08-02 11:33:58 -07:00
JoelKatz
a902134133
Don't be blind to validations during the idle time.
2012-08-01 15:00:39 -07:00
JoelKatz
68677270bf
Revert inadvertant commit.
2012-08-01 14:43:19 -07:00
JoelKatz
8772f7ca90
Bump versions to 4 just in case it's a version mismatch.
2012-08-01 14:39:00 -07:00
JoelKatz
ee3562a9a9
Cleanup resynch logic.
2012-08-01 14:38:29 -07:00
JoelKatz
d25fc9c593
Fix endless recursion.
2012-08-01 14:36:39 -07:00
Arthur Britto
db8775729f
Merge branch 'master' into ripple
2012-08-01 14:34:24 -07:00
JoelKatz
a17ca0cd4a
Fix the crash bug.
2012-08-01 14:19:13 -07:00
Arthur Britto
794fe66008
Work towards ripple.
2012-08-01 12:44:22 -07:00
JoelKatz
1213f34d75
More pieces.
2012-07-31 01:01:50 -07:00
JoelKatz
7971151c3b
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-07-30 23:44:31 -07:00
JoelKatz
6e1ffd752d
Well, that was painful. Can't use vectors because they slice. Can't use sets
...
because their contents are immutable. Can't use maps because there's no type
that corresponds to the sort order. Can't use a vector of pointers because
they won't snapshot/copy correctly. No real choice but to use
boost::ptr_vector and create the necessary helper functions for it to work.
2012-07-30 23:42:57 -07:00
jed
935588a208
compile on windows
2012-07-30 09:20:02 -07:00
JoelKatz
a01909fa4b
Some transaction metadata fixes.
2012-07-30 00:29:42 -07:00
Arthur Britto
4f8ada17c7
Work towards ripple.
2012-07-28 17:38:37 -07:00
Arthur Britto
fde853d388
Revise STPathSet.
2012-07-28 17:35:51 -07:00