Include komodo_defs.h

This commit is contained in:
jl777
2018-11-24 08:43:12 -11:00
parent 91f355fd69
commit 0c364cc8bc
2 changed files with 4 additions and 1 deletions

View File

@@ -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();

View File

@@ -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");
}