From 20671ba7f8577b9dc8dbd3c02c904bc4cd2e23d7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 29 May 2018 07:32:13 -1100 Subject: [PATCH 1/2] Kmd freq.5 --- iguana/iguana_notary.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index 12dd6db22..2963dcfe2 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -360,7 +360,9 @@ THREE_STRINGS_AND_DOUBLE(iguana,dpow,symbol,dest,pubkey,freq) dp->srcconfirms = DPOW_FIFOSIZE; if ( strcmp("BTC",dp->dest) == 0 ) { - dp->freq = DPOW_CHECKPOINTFREQ; + if ( freq == 0 ) + dp->freq = DPOW_CHECKPOINTFREQ; + else dp->freq = freq; dp->minsigs = Notaries_BTCminsigs; //DPOW_MINSIGS; } else From 506541910cf0e08cc3c564969407218d7fb9129b Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 29 May 2018 08:03:04 -1100 Subject: [PATCH 2/2] Test --- iguana/dPoW.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/dPoW.h b/iguana/dPoW.h index 61e9e0234..4f4d5d012 100755 --- a/iguana/dPoW.h +++ b/iguana/dPoW.h @@ -21,7 +21,7 @@ #define DPOW_FIRSTRATIFY 1000 #define DPOW_MAXFREQ 100 -#define DPOW_CHECKPOINTFREQ 10 +#define DPOW_CHECKPOINTFREQ 5 #define DPOW_MINSIGS 13 #define DPOW_MIN_ASSETCHAIN_SIGS 11 //#define DPOW_M(bp) ((bp)->minsigs) // (((bp)->numnotaries >> 1) + 1)