Browse Source

Fixed gcc build and removed different type warnings

keva-gui
Ben Gräf 5 years ago
parent
commit
fe3bc3d01e
  1. 2
      src/consensus/params.h
  2. 1
      src/httpserver.cpp

2
src/consensus/params.h

@ -59,7 +59,7 @@ struct Params { @@ -59,7 +59,7 @@ struct Params {
/** Block height at which BIP66 becomes active */
int BIP66Height;
/** Block height at which RandomX becomes active */
int RandomXHeight;
uint32_t RandomXHeight;
/**
* Minimum blocks including miner confirmation of the total of 2016 blocks in a retargeting period,
* (nPowTargetTimespan / nPowTargetSpacing) which is also used for BIP9 deployments.

1
src/httpserver.cpp

@ -30,6 +30,7 @@ @@ -30,6 +30,7 @@
#include <event2/keyvalq_struct.h>
#include <support/events.h>
#include <deque>
#ifdef EVENT__HAVE_NETINET_IN_H
#include <netinet/in.h>

Loading…
Cancel
Save