dncurrency/nano/slow_test
Guilherme Lawless 537ba91587
Transport loopback channel (#2970)
* Transport loopback channel

Adds `nano::transport::loopback_channel` as the initial effort towards removing UDP.

A loopback UDP channel is currently used when processing local votes, and the rep crawler can receive and use that channel if by chance the hash was active. This seems to occur in `node.aggressive_flooding` and sometimes lead to failures. Now, by being explicit about the channel type, these channels are not inserted as peer representatives.

Those making use of an abstract channel to send data must ensure data is not sent to a loopback_channel. This is enforced with a release_assert.

* Improve network.loopback_channel test
2020-09-24 13:25:53 +01:00
..
CMakeLists.txt Refactor shared testing code from core_test (#2775) 2020-06-19 13:29:49 +01:00
entry.cpp nano_test_network => nano_dev_network, new nano_test_network (#2877) 2020-08-11 19:42:57 -07:00
node.cpp Transport loopback channel (#2970) 2020-09-24 13:25:53 +01:00