Commit Graph

89 Commits

Author SHA1 Message Date
JoelKatz
dda06d989d Begin fixing consensus without having the full consensus LCL. 2012-06-21 17:37:27 -07:00
JoelKatz
69bbe599a2 Mark a FIXME 2012-06-21 12:09:48 -07:00
jed
c62cbeadf0 partial fix for joining the network 2012-06-21 10:20:11 -07:00
JoelKatz
a2dc2dbf5f Make it compile. 2012-06-20 19:34:48 -07:00
JoelKatz
fb7de2e8b1 Fix. 2012-06-20 18:41:56 -07:00
JoelKatz
43425f39eb Bugfixes. 2012-06-20 18:38:28 -07:00
JoelKatz
e63b68182d Don't count unconnected peers. Remove a FIXME. 2012-06-20 18:25:29 -07:00
JoelKatz
93a05d55ca Sanitize validation handling. 2012-06-20 18:01:38 -07:00
JoelKatz
58dcc8b9c1 Don't use stale validiations. 2012-06-20 13:26:32 -07:00
JoelKatz
a022f8304d Mark a FIXME 2012-06-20 06:04:54 -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
2e40ad2da6 Cleanup. 2012-06-20 02:31:24 -07:00
JoelKatz
da3720baa9 Bugfixes. 2012-06-20 02:18:03 -07:00
JoelKatz
9f2d363a14 Point out the problem in this code and make it possible to fix it. 2012-06-19 14:41:29 -07:00
jed
d28852cc9e Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-19 12:35:12 -07:00
jed
00e8a930ff changed server_info RPC 2012-06-19 12:34:57 -07:00
JoelKatz
029918ba8e Have to close ledger even when not full. 2012-06-19 12:30:02 -07:00
JoelKatz
cc0d1f60ab Fix some timing and logic problems with sequencing to full mode. 2012-06-19 06:33:21 -07:00
JoelKatz
e793381c16 Missing status change broadcast. 2012-06-19 06:15:58 -07:00
JoelKatz
5c12b29e17 server_info bug 2012-06-19 06:01:15 -07:00
JoelKatz
64f99820a8 server_info command. 2012-06-19 05:50:30 -07:00
JoelKatz
ea837ff819 Clean up some logging that was confusing. 2012-06-18 21:12:35 -07:00
JoelKatz
e5249dd585 Relay transactions with supression when not fully validating. 2012-06-18 21:07:49 -07:00
JoelKatz
95bdb24bd9 For now, don't relay proposals when not in full mode. 2012-06-18 20:24:38 -07:00
JoelKatz
87324c828d typo. 2012-06-18 19:21:29 -07:00
JoelKatz
07d16749ae Make sure we aren't validating when not in full. 2012-06-18 19:19:21 -07:00
JoelKatz
e458a2e3c7 Use validations. 2012-06-18 17:01:54 -07:00
JoelKatz
2ff19d65e8 Don't go to full (validating) if we don't have a validation seed. 2012-06-18 09:52:06 -07:00
JoelKatz
8f88030219 Log whether we processed a peer ledger proposal or not. 2012-06-18 09:23:01 -07:00
Arthur Britto
f9637e36bf Get rid of redunant SQL_FOREACH declarations. 2012-06-14 18:42:46 -07:00
Arthur Britto
70970d8042 Fix SQL_FOREACH. 2012-06-14 18:33:31 -07:00
Arthur Britto
ab9cc7f70c Check UNL before processing validation. 2012-06-13 16:53:09 -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
20499106f0 Bugfixes. 2012-06-09 18:04:44 -07:00
JoelKatz
e2288acfd1 More work on account_tx command. 2012-06-09 17:59:24 -07:00
JoelKatz
380902536f Framework for account_tx command. 2012-06-09 16:58:04 -07:00
JoelKatz
2f7beb970f Updates to support the new HaveTXSet message. 2012-06-07 12:26:12 -07:00
Arthur Britto
3945749b64 Implement NetworkOPs stubs for nickname_set. 2012-06-05 13:06:46 -07:00
JoelKatz
2206ff3be6 Get rid of hash_SMN and instead extend boost::hash.
This makes the TaggedCache code cleaner.
2012-06-04 06:01:11 -07:00
JoelKatz
833f402064 Use new ledger constructors. Go back to tracking if we don't have the LCL. 2012-06-03 19:42:13 -07:00
JoelKatz
75ad545916 Finish the wobble rework. 2012-06-03 15:30:39 -07:00
JoelKatz
8701337af7 Work on the wobble logic. 2012-06-02 16:19:37 -07:00
JoelKatz
c32e18d2ff use add, not getTransaction 2012-06-01 15:41:13 -07:00
JoelKatz
a6e738ccfd Add detailed comments to explain a missing bit of code. 2012-06-01 13:55:45 -07:00
JoelKatz
4d2e5acf47 For now, ratchet up network states quickly 2012-06-01 13:54:16 -07:00
JoelKatz
ba6a14b97e Udpates. 2012-06-01 13:51:14 -07:00
Arthur Britto
545ede1823 Merge branch 'pay'
Conflicts:
	src/NetworkOPs.cpp
	src/SHAMap.cpp
2012-06-01 01:23:19 -07:00
JoelKatz
2ec46c0dbf Bugfixes. 2012-05-31 20:55:30 -07:00
JoelKatz
7ce4e28dac Track network state changes. 2012-05-31 20:34:40 -07:00