grin/p2p/src
Antioch Peverell 6faa0e8d75
thread local chain type vs global chain type (#3327)
* Introduce GLOBAL_CHAIN_TYPE and make CHAIN_TYPE thread_local.
This makes testing more explicit and significantly more robust.

* set_local_chain_type() in tests

* cleanup - weird

* get pool tests working with explicit local chain_type config

* core tests working with explicit local chain_type

* p2p tests working with explicit local chain_type

* store tests working

* cleanup, feedback
2020-05-22 12:51:58 +01:00
..
conn.rs Refactor Readable trait (#3309) 2020-04-30 17:42:19 +02:00
handshake.rs explicit read_timeout and write_timeout during hand/shake (#3249) 2020-02-27 07:49:38 +00:00
lib.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
msg.rs thread local chain type vs global chain type (#3327) 2020-05-22 12:51:58 +01:00
peer.rs Remove unused code in message handling (#3269) 2020-03-13 12:50:35 +01:00
peers.rs Less cloning and additional pattern simplifications (#3223) 2020-02-12 19:35:33 +01:00
protocol.rs Refactor Readable trait (#3309) 2020-04-30 17:42:19 +02:00
serv.rs Convert ipv4-mapped ipv6 when accepting peer (#3225) 2020-02-14 09:38:02 -05:00
store.rs Reduce number of allocations in to_key calls (#3311) 2020-04-30 17:47:44 +02:00
types.rs Refactor Readable trait (#3309) 2020-04-30 17:42:19 +02:00