Open multiple sockets for transaction UDP port (#1128)

* Reuse UDP port and open multiple sockets for transaction address

* Fixed failing crdt tests

* Add tests for reusing UDP ports

* Address review comments

* Updated bench-streamer to use multiple receive sockets

* Fix minimum number of recv sockets for bench-streamer

* Address review comments

Fixes #1132

* Moved bind_to function to nat.rs
This commit is contained in:
Pankaj Garg
2018-09-06 14:13:40 -07:00
committed by GitHub
parent 072d0b67e4
commit 05460eec0d
11 changed files with 114 additions and 41 deletions

View File

@@ -16,6 +16,7 @@ pub mod broadcast_stage;
pub mod budget;
pub mod choose_gossip_peer_strategy;
pub mod client;
#[macro_use]
pub mod crdt;
pub mod drone;
pub mod entry;
@@ -69,6 +70,7 @@ extern crate jsonrpc_macros;
extern crate jsonrpc_http_server;
#[macro_use]
extern crate log;
extern crate nix;
extern crate rayon;
extern crate ring;
extern crate serde;
@@ -77,6 +79,7 @@ extern crate serde_derive;
extern crate pnet_datalink;
extern crate serde_json;
extern crate sha2;
extern crate socket2;
extern crate sys_info;
extern crate untrusted;