grin/p2p/src
Antioch Peverell 8cfe9e64ac
Remove RwLock around individual peer instances (#1673)
* get rid of RwLock around peer instances

* rustfmt

* rename stuff to live_info

* rustfmt

* serialize into PeerInfoDisplay
limit live_info write lock to peer_info.update()
rename to PeerLiveInfo

* simplify broadcast logic a bit more
connected peers are connected by definition

* return true/false on broadcast so we can send to more peers

* rustfmt

* fix p2p and server tests for PeerInfoDisplay

* commit
2018-10-09 08:27:34 +01:00
..
conn.rs Use 10us sleep instead of 1ms sleep (#1453) 2018-08-31 13:20:59 -04:00
handshake.rs Remove RwLock around individual peer instances (#1673) 2018-10-09 08:27:34 +01:00
lib.rs Add a peers_preferred option in Grin (#1401) 2018-08-23 15:16:04 -04:00
msg.rs Dual proof of work, first step (#1534) 2018-09-18 15:12:57 -07:00
peer.rs Remove RwLock around individual peer instances (#1673) 2018-10-09 08:27:34 +01:00
peers.rs Remove RwLock around individual peer instances (#1673) 2018-10-09 08:27:34 +01:00
protocol.rs Trace get block (#1628) 2018-10-01 22:12:39 +01:00
serv.rs Remove RwLock around individual peer instances (#1673) 2018-10-09 08:27:34 +01:00
store.rs Fix non-atomic peer update 2018-08-28 13:26:47 +02:00
types.rs Remove RwLock around individual peer instances (#1673) 2018-10-09 08:27:34 +01:00