JoelKatz
ae127674ec
Remove extraneous log.
2012-06-23 20:43:39 -07:00
JoelKatz
14795c55f4
Remove a FIXME or two.
2012-06-23 19:34:25 -07:00
JoelKatz
31ad073f8a
Track timeouts in ledgers and transaction sets we're acquiring.
2012-06-22 17:57:02 -07:00
JoelKatz
4568302182
Fix a bug where a non-validating node couldn't recognize consensus if there
...
was only one vaalidating node.
2012-06-22 03:01:13 -07:00
JoelKatz
64a1d14fdc
Mark an urgent FIXME.#
...
TODO
2012-06-22 01:57:54 -07:00
JoelKatz
6182c4bb51
Make the dirty node save logic work during consensus ledger close.
2012-06-22 00:42:03 -07:00
JoelKatz
3162c022eb
Spelling error.
2012-06-21 20:47:26 -07:00
JoelKatz
dda06d989d
Begin fixing consensus without having the full consensus LCL.
2012-06-21 17:37:27 -07:00
JoelKatz
9cb6130f7f
If we've lost synch, still report the ledger we're running on.
2012-06-21 12:07:44 -07:00
JoelKatz
43425f39eb
Bugfixes.
2012-06-20 18:38:28 -07:00
JoelKatz
94bc059f87
Fix some mishandling of genesis block close timing.
2012-06-20 13:40:10 -07:00
JoelKatz
58dcc8b9c1
Don't use stale validiations.
2012-06-20 13:26:32 -07:00
JoelKatz
7e35a793aa
Fix.
2012-06-20 04:51:45 -07:00
JoelKatz
0af5d379c2
Fix set:
...
1) Create validation structure even if not proposing (but if validating)
2) Fix hashes in status change messages, do it only one way
3) Don't spin right at wobble time.
4) Report accept status change on new last-closed ledger, not new open ledger.
5) Make sure validation count is correct even if we first encounter a ledger on ourselves (not a peer)
6) At end of consensus, assume nodes cycled (until they report otherwise). By doing nothing,
we effectively assumed they didn't.
7) Miscellaneous cleanups and fixes.
2012-06-20 04:23:29 -07:00
JoelKatz
171b5420d0
Fix some bugs in previous commit.
2012-06-20 02:20:31 -07:00
JoelKatz
da3720baa9
Bugfixes.
2012-06-20 02:18:03 -07:00
JoelKatz
75f85ae519
Begin the code to allow a node to enter the consensus process even if it's not proposing and
...
even if it's not validating. This also fixes the bug Arthur reported.
2012-06-19 16:55:04 -07:00
JoelKatz
117077a4a5
Change 'eraseInc' to 'erase'.
2012-06-19 04:59:57 -07:00
JoelKatz
409340e921
Cleanup.
2012-06-18 22:56:02 -07:00
JoelKatz
718d078d48
Fix the timing of adding accepted ledgers.
2012-06-18 22:55:07 -07:00
JoelKatz
4afa11a6a6
Reduce log chattiness.
2012-06-18 22:22:47 -07:00
JoelKatz
ea837ff819
Clean up some logging that was confusing.
2012-06-18 21:12:35 -07:00
JoelKatz
149ad2a9ec
Add our own validation as a trusted validation.
2012-06-18 16:58:50 -07:00
JoelKatz
3ed23d6e20
Fix.
2012-06-18 15:34:46 -07:00
JoelKatz
6f5feeccdc
Suppress a meaningless warning.
2012-06-18 15:31:59 -07:00
JoelKatz
599fc228af
Redundant log.
2012-06-18 13:12:04 -07:00
JoelKatz
1b7d400c0e
Remove bogus assert.
2012-06-18 13:10:36 -07:00
JoelKatz
62481b8bb5
Spelling.
2012-06-18 13:08:07 -07:00
JoelKatz
bca7975c35
We have a bug in doPasswordSet.
2012-06-18 13:00:09 -07:00
JoelKatz
74ea434435
Bugfixes to consensus:
...
1) Don't apply to new open ledger in final mode.
2) Re-apply any NO transactions to the new open ledger.
2012-06-18 12:57:43 -07:00
JoelKatz
a0970e705f
Consensus bugfixing.
2012-06-18 12:24:15 -07:00
JoelKatz
b3bba6b2b0
Fix chatty debug.
2012-06-18 11:44:40 -07:00
JoelKatz
0e47edbdfe
Fix some consensus bugs.
2012-06-18 11:43:34 -07:00
JoelKatz
afd3d39d67
Prettify.
2012-06-18 11:20:21 -07:00
JoelKatz
0dd5e0776d
Extra logging.
2012-06-18 11:18:52 -07:00
JoelKatz
95ea30085c
Remove chatty debug.
2012-06-18 10:56:55 -07:00
JoelKatz
8f88030219
Log whether we processed a peer ledger proposal or not.
2012-06-18 09:23:01 -07:00
JoelKatz
562d0a658e
Tiny bugfix.
2012-06-18 00:44:27 -07:00
Arthur Britto
368e5a0acc
Have consensus use the config for validation and use uint160 for peerIDs.
2012-06-13 15:51:30 -07:00
JoelKatz
a37d203d9b
Dead line.
2012-06-10 01:05:48 -07:00
JoelKatz
2d49cacd29
Move all SQL operations on ledger close into the ledger code so we can
...
accept ledgers without having to participate in the consensus process. We'll
need this when we implement "catch up".
Move AcctTx into the same connection as Txn so they can be part of a single
transaction.
Dispatch ledger accept synchronization functions into a detached thread so it
doesn't stall our I/O engine.
2012-06-09 22:01:31 -07:00
JoelKatz
d888cc2da8
Bugfixes.
2012-06-09 18:28:34 -07:00
JoelKatz
8d8d2c6691
Bugfixes.
2012-06-09 18:14:32 -07:00
JoelKatz
40748df505
Store completed transactions in the SQL database, indexed by accounts
...
affected and ledger seq.
2012-06-09 01:33:13 -07:00
JoelKatz
4b79e7dca8
New canonical transaction order code. Tested and working.
...
CanonicalTXSet acts much like a map, but sorts the transactions in a simple
order that makes them take fewer passed.
2012-06-08 05:09:23 -07:00
JoelKatz
bda64fac2a
Tx set exchange improvements.
2012-06-07 12:25:44 -07:00
JoelKatz
b4e238a2e4
With luck, a fix for the crash.
2012-06-05 15:41:44 -07:00
JoelKatz
79cc39f902
Tweak.
2012-06-05 04:00:25 -07:00
JoelKatz
1c854f9c73
Typo.
2012-06-04 21:52:04 -07:00
JoelKatz
e84c7924a4
Extra debug
2012-06-04 21:37:04 -07:00