diff --git a/src/komodo_defs.h b/src/komodo_defs.h index fec12c377..c2e77c9ef 100644 --- a/src/komodo_defs.h +++ b/src/komodo_defs.h @@ -14,6 +14,6 @@ #define KOMODO_SAPLING_ACTIVATION 1544832000 // Dec 15th, 2018 #define KOMODO_SAPLING_DEADLINE 1550188800 // Feb 15th, 2019 -extern uint8_t ASSETCHAINS_TXPOW; +extern uint8_t ASSETCHAINS_TXPOW,ASSETCHAINS_PUBLIC; #endif diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 28c7855b6..d42adc6b9 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -1388,7 +1388,7 @@ void komodo_passport_iteration() lastinterest = komodo_chainactive_timestamp(); } refsp = komodo_stateptr(symbol,dest); - if ( ASSETCHAINS_SYMBOL[0] == 0 ) + if ( ASSETCHAINS_SYMBOL[0] == 0 || strcmp(ASSETCHAINS_SYMBOL,"KMDCC") == 0 ) { refid = 33; limit = 10000000; diff --git a/src/komodo_jumblr.h b/src/komodo_jumblr.h index 794e35d75..881d41808 100755 --- a/src/komodo_jumblr.h +++ b/src/komodo_jumblr.h @@ -629,8 +629,11 @@ uint64_t jumblr_increment(uint8_t r,int32_t height,uint64_t total,uint64_t bigge void jumblr_iteration() { static int32_t lastheight; static uint32_t lasttime; - char *zaddr,*addr,*retstr,secretaddr[64]; cJSON *array; int32_t i,iter,height,counter,chosen_one,n; uint64_t smallest,medium,biggest,amount=0,total=0; double fee; struct jumblr_item *ptr,*tmp; uint16_t r,s; - if ( JUMBLR_PAUSE != 0 ) + char *zaddr,*addr,*retstr,secretaddr[64]; cJSON *array; int32_t i,iter,height,acpublic,counter,chosen_one,n; uint64_t smallest,medium,biggest,amount=0,total=0; double fee; struct jumblr_item *ptr,*tmp; uint16_t r,s; + acpublic = ASSETCHAINS_PUBLIC; + if ( ASSETCHAINS_SYMBOL[0] == 0 && tiptime >= KOMODO_SAPLING_DEADLINE ) + acpublic = 1; + if ( JUMBLR_PAUSE != 0 || acpublic != 0 ) return; if ( lasttime == 0 ) {