diff --git a/iguana/iguana_chains.c b/iguana/iguana_chains.c index f3373a58b..785091dec 100755 --- a/iguana/iguana_chains.c +++ b/iguana/iguana_chains.c @@ -62,7 +62,7 @@ static struct iguana_chain Chains[] = { "vpncoin", "VPN", 71, 5, 199, // PUBKEY_ADDRESS + SCRIPT_ADDRESS addrman.h, use wif2priv API on any valid wif - "\xcd\xf2\xc0\xef", // pchMessageStart main.cpp + "\xfb\xc0\xb6\xdb", // pchMessageStart main.cpp "3b27c25b333e890fbb6cd912fcdfb07bf17245def80410a0a05a8eae070b2060", //"00000ac7d764e7119da60d3c832b1d4458da9bc9ef9d5dd0d91a15f690a46d99", // hashGenesisBlock main.h "01000000000000000000000000000000000000000000000000000000000000000000000028581b3ba53e73adaaf957bced1d42d46ed0d84a86b34f7a5a49cdcaa1938a697f9c0854ffff0f1e0004de0300", // need to extract from valid blk0001.dat diff --git a/iguana/iguana_peers.c b/iguana/iguana_peers.c index cb554a90d..51c8c99a2 100755 --- a/iguana/iguana_peers.c +++ b/iguana/iguana_peers.c @@ -589,8 +589,8 @@ void iguana_startconnection(void *arg) if ( addr->usock < 0 || coin->peers.shuttingdown != 0 ) { strcpy(ipaddr,addr->ipaddr); + printf("refused PEER KILLED. for %s:%d usock.%d\n",ipaddr,coin->chain->portp2p,addr->usock); iguana_iAkill(coin,addr,1); - //printf("refused PEER KILLED. for %s:%d usock.%d\n",addr->ipaddr,coin->chain->portp2p,addr->usock); } else { diff --git a/iguana/main.c b/iguana/main.c index 2b2885a9f..56bf9b487 100644 --- a/iguana/main.c +++ b/iguana/main.c @@ -499,7 +499,7 @@ void iguana_main(void *arg) #ifdef __APPLE__ sleep(1); char *str; - if ( (str= SuperNET_JSON(&MYINFO,cJSON_Parse("{\"wallet\":\"password\",\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":128,\"maxpeers\":16,\"newcoin\":\"VPN\",\"active\":1}"),0)) != 0 ) + if ( (str= SuperNET_JSON(&MYINFO,cJSON_Parse("{\"wallet\":\"password\",\"agent\":\"iguana\",\"method\":\"addcoin\",\"services\":128,\"maxpeers\":128,\"newcoin\":\"VPN\",\"active\":1}"),0)) != 0 ) { printf("got.(%s)\n",str); free(str); diff --git a/iguana/manifest.json b/iguana/manifest.json index 32dc4e863..724d3cf22 100755 --- a/iguana/manifest.json +++ b/iguana/manifest.json @@ -12,6 +12,6 @@ "name": "iguana", "background": { "scripts": ["background.js"] }, "sockets": { "tcp": { "connect": "" }, "tcpServer": { "listen": "127.0.0.1:*" } }, - "permissions": [ "unlimitedStorage"] + "permissions": [ "unlimitedStorage", "storage.local" ] } }