aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorjtimon <jtimon@monetize.io>2014-06-04 12:51:29 +0200
committerjtimon <jtimon@monetize.io>2014-06-04 13:29:36 +0200
commitc8c52de3a05b617bc399e2dd45901e74237b7fc1 (patch)
tree959484b3def137a7c4910137bbdfa9bbd4c69b26 /src/protocol.h
parenta3d946ebdc2eebef9ccdc2c883f8abfebcf0f653 (diff)
Replace virtual methods with static attributes, chainparams.h depends on
protocol.h instead of the other way around
Diffstat (limited to 'src/protocol.h')
-rw-r--r--src/protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocol.h b/src/protocol.h
index e6f105fe5c..6de5d05a72 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -10,7 +10,6 @@
#ifndef __INCLUDED_PROTOCOL_H__
#define __INCLUDED_PROTOCOL_H__
-#include "chainparams.h"
#include "netbase.h"
#include "serialize.h"
#include "uint256.h"
@@ -19,6 +18,8 @@
#include <stdint.h>
#include <string>
+#define MESSAGE_START_SIZE 4
+
/** Message header.
* (4) message start.
* (12) command.