diff --git a/src/consensus/params.h b/src/consensus/params.h index 9cd8567fe..e89011809 100644 --- a/src/consensus/params.h +++ b/src/consensus/params.h @@ -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. diff --git a/src/httpserver.cpp b/src/httpserver.cpp index 630b745b1..e81666ba6 100644 --- a/src/httpserver.cpp +++ b/src/httpserver.cpp @@ -30,6 +30,7 @@ #include #include +#include #ifdef EVENT__HAVE_NETINET_IN_H #include