Commit Graph

1575 Commits

Author SHA1 Message Date
Arthur Britto
ff36f551e9 Initial checking of websocket server. 2012-06-22 00:28:11 -07:00
Arthur Britto
913261c0bb Merge branch 'master' into websocket
Conflicts:
	src/Config.h
2012-06-20 20:52:30 -07:00
JoelKatz
a2dc2dbf5f Make it compile. 2012-06-20 19:34:48 -07:00
Arthur Britto
adccf1d88e Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-20 18:43:20 -07:00
Arthur Britto
818231ec95 Fix delay reporting. 2012-06-20 18:43:11 -07:00
JoelKatz
0d176a3d4e Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-20 18:42:10 -07:00
JoelKatz
fb7de2e8b1 Fix. 2012-06-20 18:41:56 -07:00
JoelKatz
43425f39eb Bugfixes. 2012-06-20 18:38:28 -07:00
Arthur Britto
a3a95e6a54 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-20 18:29:00 -07:00
Arthur Britto
0a5d67240b Back off connecting to ourselves. 2012-06-20 18:28:51 -07:00
JoelKatz
e63b68182d Don't count unconnected peers. Remove a FIXME. 2012-06-20 18:25:29 -07:00
JoelKatz
b6d4750848 Don't consider the last closed consensus ledger as the next LCL. 2012-06-20 18:13:28 -07:00
Arthur Britto
891e37aab9 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-20 18:08:41 -07:00
Arthur Britto
afa128f45b Clean up peer isConnected() and shutting down. 2012-06-20 18:08:36 -07:00
JoelKatz
93a05d55ca Sanitize validation handling. 2012-06-20 18:01:38 -07:00
Arthur Britto
b47f76a21f Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-20 16:40:16 -07:00
Arthur Britto
340df2225a Fix scan delay logging. 2012-06-20 16:32:18 -07:00
Arthur Britto
9010430a1b Merge branch 'master' into ripple 2012-06-20 16:26:44 -07:00
jed
356868e741 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-20 15:54:24 -07:00
jed
49449ff41b .cfg changes 2012-06-20 15:54:08 -07:00
Arthur Britto
5bedc7d534 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-20 15:53:08 -07:00
Arthur Britto
efa38ea72b More clean up of connection logic. 2012-06-20 15:52:59 -07:00
jed
c3c2bf25b3 . 2012-06-20 14:01:16 -07:00
JoelKatz
40912499c7 Properly set validations to trusted. 2012-06-20 13:52:29 -07:00
Arthur Britto
89d8b74547 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-20 13:43:18 -07:00
Arthur Britto
58b6ca5cc0 Merge branch 'master' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/Peer.cpp
2012-06-20 13:41:14 -07:00
JoelKatz
94bc059f87 Fix some mishandling of genesis block close timing. 2012-06-20 13:40:10 -07:00
Arthur Britto
a2c5b90fe9 Fixes and clean up for peer management. 2012-06-20 13:40:03 -07:00
Arthur Britto
71e6921a61 Bootstrap [ips] from newcoind.cfg. 2012-06-20 13:39:14 -07:00
Arthur Britto
411d056377 Add a default score to PeerIps. 2012-06-20 13:38:10 -07:00
Arthur Britto
f0be92f4f0 Make NewcoinAddress::setSeedGeneric more stringent. 2012-06-20 13:37:28 -07:00
Arthur Britto
3ccf91ffe0 Add parseIpPort, ADDRESS, & ADDRESS_SHARED to utils. 2012-06-20 13:37:01 -07:00
JoelKatz
796e1443c6 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-20 13:26:56 -07:00
JoelKatz
58dcc8b9c1 Don't use stale validiations. 2012-06-20 13:26:32 -07:00
jed
3bc3e83b42 windows installer 2012-06-20 09:37:19 -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
2c8d99ceb5 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2012-06-19 12:51:20 -07:00