Commit Graph

1126 Commits

Author SHA1 Message Date
jed
c3c2bf25b3 . 2012-06-20 14:01:16 -07:00
jed
1549ef4d9b allow you to send large amounts from RPC 2012-06-20 08:38:36 -07:00
JoelKatz
a022f8304d Mark a FIXME 2012-06-20 06:04:54 -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
2ca0c51722 Assume peers cycle (until told otherwise) when we watch the network accept a new LCL 2012-06-20 04:19:04 -07:00
JoelKatz
582f18eec5 Fix crash bug. 2012-06-20 04:18:48 -07:00
JoelKatz
c7fd34bf9e bugfix. 2012-06-20 04:18:36 -07:00
JoelKatz
687def56f3 Support a 'lost sync' status change. 2012-06-20 04:17:30 -07:00
JoelKatz
f17f4dc305 Halve no-DB startup time. 2012-06-20 02:54:19 -07:00
JoelKatz
2e40ad2da6 Cleanup. 2012-06-20 02:31:24 -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
9f2d363a14 Point out the problem in this code and make it possible to fix it. 2012-06-19 14:41:29 -07:00
Arthur Britto
aa964f645b Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-19 12:48:23 -07:00
Arthur Britto
c9d06c3fb2 Config support for [ips]. 2012-06-19 12:45:01 -07:00
Arthur Britto
d76cc94f0c Cosmetic. 2012-06-19 12:41:31 -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
Arthur Britto
15d00c3789 Merge fix. 2012-06-19 12:32:54 -07:00
Arthur Britto
5456ba5049 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-19 12:32:09 -07:00
JoelKatz
029918ba8e Have to close ledger even when not full. 2012-06-19 12:30:02 -07:00
Arthur Britto
9f9d700ed2 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/ConnectionPool.cpp
	src/Peer.cpp
2012-06-19 12:29:06 -07:00
Arthur Britto
ce16e58c62 Fix peer tracking and scaning model. 2012-06-19 12:26:15 -07:00
Arthur Britto
a7f8cd1a45 Make iScourceScore public. 2012-06-19 12:24:40 -07:00
Arthur Britto
29d29e1c63 For now, make scan interval min 1 minute. 2012-06-19 12:23:42 -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
7467407dfe Cleanups. 2012-06-19 05:30:07 -07:00
JoelKatz
117077a4a5 Change 'eraseInc' to 'erase'. 2012-06-19 04:59:57 -07:00
JoelKatz
12dffac101 Fix some broken traverses. 2012-06-19 04:52:38 -07:00
JoelKatz
b72129f401 Don't relay to peers that are not fully established. 2012-06-19 01:28:05 -07:00
JoelKatz
12076bcb59 Some logging improvements. 2012-06-18 23:06:40 -07:00
JoelKatz
f6f64aac75 Log unknown messages in detail. 2012-06-18 23:00:26 -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
916a6e96f3 Spelling error. 2012-06-18 22:54:51 -07:00
JoelKatz
1b014f098e Remove chatty log. 2012-06-18 22:54:34 -07:00
JoelKatz
a2cde8b462 Change default log level. 2012-06-18 22:54:26 -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
e5249dd585 Relay transactions with supression when not fully validating. 2012-06-18 21:07:49 -07:00
JoelKatz
22302319f4 Supression table. 2012-06-18 21:00:48 -07:00
JoelKatz
4f460736eb to160 was broken, and we don't use it. So remove it. 2012-06-18 20:53:48 -07:00
JoelKatz
95bdb24bd9 For now, don't relay proposals when not in full mode. 2012-06-18 20:24:38 -07:00
JoelKatz
a1523fcb06 Fix log chattiness. Add a new configuration parameter "debug_logfile" 2012-06-18 20:05:12 -07:00
JoelKatz
a3daa061d3 Make sure the ledger hash is up to date when we set the immutable flag. 2012-06-18 19:56:34 -07:00