Commit Graph

34 Commits

Author SHA1 Message Date
JoelKatz
940cc9059c Peer::handleWrite grabs the wrong lock. 2013-01-15 16:21:53 -08:00
JoelKatz
a79b6e0a15 Add new fields to peer Json output. 2013-01-14 23:48:51 -08:00
JoelKatz
33b2a20024 Correctly track direction and privilege of peer connections, pass to load tracking. 2013-01-14 23:30:13 -08:00
JoelKatz
efe63c3261 Mark a minor fixme. 2013-01-12 08:43:56 -08:00
JoelKatz
5a6f306c59 Remove extra whitespace. 2013-01-12 08:34:14 -08:00
JoelKatz
e86aa7b7ab Better debug messages. 2013-01-11 16:54:25 -08:00
JoelKatz
9d0264a603 Fix a deadlock. 2013-01-11 15:50:18 -08:00
JoelKatz
7d7d2bc46b Fix a bug Arthur reported. Some critical Peer structures are not protected
against races caused by concurrent reading from and writing to the SSL
connection and access to Peer variables like mDetaching, mSendingPacket, and
so on.
2013-01-11 11:53:37 -08:00
JoelKatz
88b27a19ed D'oh! This is what's burning the CPU. 2013-01-10 16:31:33 -08:00
JoelKatz
b5e78bda34 Fix GetObjByHash replies. 2013-01-09 03:28:20 -08:00
JoelKatz
ef775727d4 Reduce some loging. 2013-01-08 17:21:31 -08:00
JoelKatz
df1f3a66d5 Log message less imortant. 2013-01-08 02:02:51 -08:00
JoelKatz
2626368b26 Remove chatty log. 2013-01-08 01:00:48 -08:00
JoelKatz
e34dafa839 Log some additional info. 2013-01-08 00:32:54 -08:00
JoelKatz
7a2f098ac4 Reduce some chatty logging. 2013-01-07 23:47:21 -08:00
JoelKatz
69f42e6f02 Fix a bug that causes excessive GetObjByHash queries. 2013-01-07 22:47:16 -08:00
JoelKatz
ba79026185 Handle pongs. Ready timer for ping timing. 2013-01-07 14:34:11 -08:00
JoelKatz
c4a3f57d9c Respond to server pings with pongs. (Pings are currently not sent.) 2013-01-07 10:22:26 -08:00
JoelKatz
dfbd640f6c Complete the fetch by hash logic, including tracking the hashes we want. 2013-01-04 22:14:53 -08:00
Arthur Britto
dfccda5ba8 Announce --testnet in Hello. 2013-01-02 22:54:29 -08:00
JoelKatz
2897bd00c2 Make 'getNodeFat' throw an exception if a node that's not in the map is requested.
Log the context when this exception is thrown.
2012-12-24 19:08:57 -08:00
JoelKatz
35ec825d8c Tie the peer code into the new load management code. 2012-12-10 06:27:52 -08:00
JoelKatz
e0a9520d9d Solve proof of works if requested. 2012-12-05 23:48:23 -08:00
JoelKatz
7489eafe1e Cleanup. 2012-12-02 01:02:36 -08:00
JoelKatz
72777b6b83 Remove some shared pointers on load monitors. 2012-11-28 15:53:07 -08:00
JoelKatz
ea94feb643 Slots the PoW peer code will go into. 2012-11-25 21:32:21 -08:00
jed
89f02efc16 option to return date of transaction in the JSON 2012-11-23 17:58:48 -08:00
JoelKatz
89d54999c9 Rework the way the results of ledger and TX map acquisition is passed up and down the
call chain so that the peer logic will know how helpful peers are being, not just whether
they're sending invalid data.
2012-11-21 09:28:09 -08:00
Arthur Britto
ad4725ae74 Add private peers. 2012-11-20 14:48:53 -08:00
JoelKatz
19d73bd477 More tie ins. 2012-11-19 15:41:45 -08:00
JoelKatz
40527cca2b Start adding support for concurrent I/O. 2012-11-09 14:14:47 -08:00
JoelKatz
0b7b61ee7b Remove a FIXME since the issue was already fixed. 2012-11-09 09:46:38 -08:00
JoelKatz
f4ea700938 Indirect ledger data fetch. 2012-11-08 16:49:31 -08:00
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00