1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-02-07 20:34:21 +00:00

Update net.cpp

This commit is contained in:
OldMiR 2018-05-10 17:01:49 +03:00 committed by GitHub
parent ea7128d3bd
commit 61c7deaf34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,10 @@
#include <string.h>
#endif
// MSG_NOSIGNAL is not available on some platforms, if it doesn't exist define it as 0
#if !defined(MSG_NOSIGNAL)
#define MSG_NOSIGNAL 0
#endif
// Dump addresses to peers.dat every 15 minutes (900s)
#define DUMP_ADDRESSES_INTERVAL 900