Commit Graph

11 Commits

Author SHA1 Message Date
JoelKatz
88437c9cab Cleanup. 2013-01-15 02:01:07 -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
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
ba79026185 Handle pongs. Ready timer for ping timing. 2013-01-07 14:34:11 -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
ea94feb643 Slots the PoW peer code will go into. 2012-11-25 21:32:21 -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
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00