diff options
author | Determinant <[email protected]> | 2020-02-17 18:33:44 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2020-02-17 18:33:44 -0500 |
commit | 2587e2c1b944882bc0b1e5b088f605076baa3435 (patch) | |
tree | 0bd477537c53d35a73bcce1c0e078246ef4a7d5c /src/network.cpp | |
parent | 4fed5578db7714d8317d1bfe9262143d25034d00 (diff) |
WIP: use PeerId to identify peers and allow one-way handshake
Diffstat (limited to 'src/network.cpp')
-rw-r--r-- | src/network.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/network.cpp b/src/network.cpp index e3eb56c..921ea03 100644 --- a/src/network.cpp +++ b/src/network.cpp @@ -43,8 +43,8 @@ void msgnetwork_config_conn_server_timeout(msgnetwork_config_t *self, double tim self->conn_server_timeout(timeout); } -void msgnetwork_config_seg_buff_size(msgnetwork_config_t *self, size_t size) { - self->seg_buff_size(size); +void msgnetwork_config_recv_chunk_size(msgnetwork_config_t *self, size_t size) { + self->recv_chunk_size(size); } void msgnetwork_config_nworker(msgnetwork_config_t *self, size_t nworker) { @@ -183,10 +183,6 @@ peernetwork_config_t *peernetwork_config_new() { void peernetwork_config_free(const peernetwork_config_t *self) { delete self; } -void peernetwork_config_retry_conn_delay(peernetwork_config_t *self, double t) { - self->retry_conn_delay(t); -} - void peernetwork_config_ping_period(peernetwork_config_t *self, double t) { self->ping_period(t); } |