aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 15:22:54 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 15:22:54 +0200
commitae3d0aba158d0a38c33d687e5473d688fbcb903d (patch)
tree33aad906eba0bf0500a24196649651bd8d48dfa4 /src/net.h
parentfbaee7a8533b23d846ee16837320f709c4e83d47 (diff)
downloadbitcoin-ae3d0aba158d0a38c33d687e5473d688fbcb903d.tar.xz
Sync to bitcoin git e94010b2395694d56dd6
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index cafb175d94..8f21de8dc9 100644
--- a/src/net.h
+++ b/src/net.h
@@ -24,6 +24,8 @@ extern int nConnectTimeout;
+inline unsigned int ReceiveBufferSize() { return 1000*GetArg("-maxreceivebuffer", 10*1000); }
+inline unsigned int SendBufferSize() { return 1000*GetArg("-maxsendbuffer", 10*1000); }
inline unsigned short GetDefaultPort() { return fTestNet ? 18333 : 8333; }
static const unsigned int PUBLISH_HOPS = 5;
enum