Replace virtual methods with static attributes, chainparams.h depends on

protocol.h instead of the other way around
This commit is contained in:
jtimon
2014-06-04 12:51:29 +02:00
parent a3d946ebdc
commit c8c52de3a0
5 changed files with 53 additions and 41 deletions

View File

@@ -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.