Commit Graph

42 Commits

Author SHA1 Message Date
JoelKatz
02bd898e51 Some const-correctness.
const SLE::pointer & -> SLE::ref
2012-08-31 18:26:45 -07:00
Arthur Britto
73e6e70f13 Use stl for min and max. 2012-08-30 21:16:07 -07:00
JoelKatz
84ee39b147 Fix a few more cases where we create a new shared pointer just to
immediately throw it away, resulting in a wasted
allocate/increment/decrement/free.
2012-08-19 19:04:18 -07:00
JoelKatz
e473ce8424 Support "standalone" mode (-a or --standalone) in which we do not connect
to the network and do not close ledgers. This mode makes it much easier to
test transactions as they are only applied once to the open ledger.
2012-08-14 15:35:30 -07:00
Arthur Britto
f6fcef9101 Misc fixes. 2012-07-14 15:57:09 -07:00
jed
64a869d6e8 less chatty 2012-06-30 05:58:45 -07:00
jed
c62cbeadf0 partial fix for joining the network 2012-06-21 10:20:11 -07:00
Arthur Britto
818231ec95 Fix delay reporting. 2012-06-20 18:43:11 -07:00
Arthur Britto
0a5d67240b Back off connecting to ourselves. 2012-06-20 18:28:51 -07:00
Arthur Britto
340df2225a Fix scan delay logging. 2012-06-20 16:32:18 -07:00
Arthur Britto
efa38ea72b More clean up of connection logic. 2012-06-20 15:52:59 -07:00
Arthur Britto
a2c5b90fe9 Fixes and clean up for peer management. 2012-06-20 13:40:03 -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
JoelKatz
7467407dfe Cleanups. 2012-06-19 05:30:07 -07:00
JoelKatz
b72129f401 Don't relay to peers that are not fully established. 2012-06-19 01:28:05 -07:00
JoelKatz
1b014f098e Remove chatty log. 2012-06-18 22:54:34 -07:00
Arthur Britto
42de3f345b Add periodic policy enforcement to ConnectionPool. 2012-06-18 17:36:31 -07:00
Arthur Britto
347b903393 Cosmetic changes. 2012-06-15 16:09:17 -07:00
Arthur Britto
0b60693c7a Simply getPeersJson and display connection source. 2012-06-14 19:06:09 -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
83640b987a Add more locking to ConnectionPool. 2012-06-14 16:51:46 -07:00
jed
e6464e2832 more work on your peer list 2012-06-13 09:57:08 -07:00
jed
f7b5753be1 maintain db of peers 2012-06-13 08:20:08 -07:00
Arthur Britto
e58f19debc Fix scanning on scan failure. 2012-05-08 16:21:45 -07:00
JoelKatz
0968e0229b Typo. 2012-05-08 14:32:51 -07:00
JoelKatz
ccc07e1765 bugfixes. 2012-05-08 14:23:51 -07:00
JoelKatz
3dbee6e461 getPeerVector function. 2012-05-03 13:38:50 -07:00
Arthur Britto
43ac5f8023 Implement basic low water connection policy. 2012-05-01 00:36:42 -07:00
Arthur Britto
b341e02eba Initial scaning support 2012-04-30 13:23:54 -07:00
Arthur Britto
bb5afa144a Add verification timer to peer connecting. 2012-04-28 18:08:10 -07:00
Arthur Britto
610c3a2ce3 Add ssl support for peer connections. 2012-04-28 16:17:38 -07:00
Arthur Britto
21f6dd1f87 Add basic ssl support for peer connections. 2012-04-27 21:58:58 -07:00
Arthur Britto
1509553cfc Fix peer reporting. 2012-04-27 14:34:07 -07:00
Arthur Britto
b49b0d59a5 Transmit node public and don't talk to self or redundant nodes. 2012-04-27 14:09:13 -07:00
Arthur Britto
f761d826cf Use NewcoingAddress in mConnectionPool. 2012-04-26 15:21:02 -07:00
Arthur Britto
396eca1a3c Work toward policy based network connectivity. 2012-04-25 23:04:38 -07:00
Arthur Britto
41ba874199 Remove KnownNodeList completely and remove pugi from build. 2012-04-24 17:07:43 -07:00
Arthur Britto
f24a43bb7a Cosmetic changes. 2012-04-24 14:47:58 -07:00
Arthur Britto
2596cce905 Add RPC command peers. 2012-03-10 19:06:05 -08:00
Arthur Britto
c513e45754 Move sources to src and build objs in obj. 2012-03-06 22:43:06 -08:00