grin/p2p/src
AntiochP 6352dfbac9
add total_diff to ping/pong msgs (#350)
* add total_diff to ping/pong msgs
debug log for total_diff on each ping/pong

* expose peer addr to the handle_payload fn
so we know where it came from

* fix p2p tests for ping

* default to 0 if we cannot read total_difficulty

* updating a connected peer in place

* actually update peer info diff

* fixup p2p tests
2017-11-21 09:24:29 -05:00
..
conn.rs Regularly ping all peers to check liveness 2017-11-19 20:40:49 -05:00
handshake.rs compare genesis during peering handshake (#327) 2017-11-20 12:35:52 -05:00
lib.rs Cleanup HTTP APIs, update ports to avoid gap, rustfmt 2017-10-31 19:42:56 -04:00
msg.rs add total_diff to ping/pong msgs (#350) 2017-11-21 09:24:29 -05:00
peer.rs add total_diff to ping/pong msgs (#350) 2017-11-21 09:24:29 -05:00
protocol.rs add total_diff to ping/pong msgs (#350) 2017-11-21 09:24:29 -05:00
rate_limit.rs Allowable write size as u64 instead of usize. Fix #303. 2017-11-18 13:43:57 -05:00
server.rs add total_diff to ping/pong msgs (#350) 2017-11-21 09:24:29 -05:00
store.rs use a short timeout when opening the connection to possible peers (#300) 2017-11-17 20:13:49 -05:00
types.rs add total_diff to ping/pong msgs (#350) 2017-11-21 09:24:29 -05:00