diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp index 2b495c73d..34e1b5d91 100644 --- a/src/bitcoind.cpp +++ b/src/bitcoind.cpp @@ -41,6 +41,7 @@ */ static bool fDaemon; +#include "komodo_defs.h" #define KOMODO_ASSETCHAIN_MAXLEN 65 extern char ASSETCHAINS_SYMBOL[KOMODO_ASSETCHAIN_MAXLEN]; void komodo_passport_iteration(); diff --git a/src/main.cpp b/src/main.cpp index 8e3dba7b9..73f44481d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1439,7 +1439,9 @@ bool CheckTransactionWithoutProofVerification(uint32_t tiptime,const CTransactio } if ( ASSETCHAINS_PRIVATE != 0 && invalid_private_taddr != 0 ) { - fprintf(stderr,"found taddr in private chain: z_z.%d z_t.%d t_z.%d\n",z_z,z_t,t_z); + static uint32_t counter; + if ( counter++ < 10 ) + fprintf(stderr,"found taddr in private chain: z_z.%d z_t.%d t_z.%d\n",z_z,z_t,t_z); if ( z_t == 0 || z_z != 0 || t_z != 0 || tx.vin.size() != 0 ) return state.DoS(100, error("CheckTransaction(): this is a private chain, only sprout -> taddr allowed until deadline"),REJECT_INVALID, "bad-txns-acprivacy-chain"); }