Browse Source

inital commit with second RPC port.

blackjok3r
blackjok3r 6 years ago
parent
commit
047b5f4d93
  1. 8
      iguana/main.c
  2. 2
      includes/iguana_defines.h

8
iguana/main.c

@ -2250,9 +2250,11 @@ void iguana_main(void *arg)
}
else if ( strncmp((char *)arg,"notary",strlen("notary")) == 0 ) // must be second to last
{
if ( strcmp((char *)arg,"notary_nosplit") == 0 )
myinfo->nosplit = 1;
myinfo->rpcport = IGUANA_NOTARYPORT;
if ( strcmp((char *)arg,"notary_thirdparty") == 0 )
myinfo->rpcport = IGUANA_NOTARYPORT2;
else
myinfo->rpcport = IGUANA_NOTARYPORT;
myinfo->nosplit = 1;
myinfo->IAMNOTARY = 1;
myinfo->DEXEXPLORER = 0;//1; disable as SPV is used now
}

2
includes/iguana_defines.h

@ -50,6 +50,7 @@
#define IGUANA_MAXPENDBUNDLES 64
#define IGUANA_RPCPORT 7778
#define IGUANA_NOTARYPORT 7776
#define IGUANA_NOTARYPORT2 7779
#define IGUANA_MAXRAMCHAINSIZE ((uint64_t)1024L * 1024L * 1024L * 16)
#define IGUANA_MAPHASHTABLES 1
@ -211,4 +212,3 @@ extern int32_t IGUANA_NUMHELPERS;
#define IGUANA_MAXSCRIPTSIZE 10001
#endif

Loading…
Cancel
Save