Browse Source

test

master
Satinder Grewal 9 years ago
parent
commit
ec5e203a19
  1. 4
      assets/scripts/iguana_api.js

4
assets/scripts/iguana_api.js

@ -108,7 +108,7 @@ function Iguana_addcoin(addcoin_data) {
if ( addcoin_data.coin == 'BTC' ) {
var logincoinfullname = 'Bitcoin';
var logincoinmodeinfo = '';
if ( addcoin_data.mode == '1' ) { logincoinmodeinfo = 'Full'; } else { logincoinmodeinfo = 'Full'; }
if ( addcoin_data.mode == '1' ) { logincoinmodeinfo = 'Full'; } else { logincoinmodeinfo = 'Basilisk'; }
var AddCoinData = {"prefetchlag":5,"poll":1,"active":1,"agent":"iguana","method":"addcoin","newcoin":"BTC","startpend":64,"endpend":2,"services":128,"maxpeers":512,"RELAY":addcoin_data.mode,"VALIDATE":addcoin_data.mode,"portp2p":8333}
console.log(AddCoinData);
console.log(logincoinfullname);
@ -117,7 +117,7 @@ function Iguana_addcoin(addcoin_data) {
if ( addcoin_data.coin == 'BTCD' ) {
var logincoinfullname = 'BitcoinDark';
var logincoinmodeinfo = '';
if ( addcoin_data.mode == '1' ) { logincoinmodeinfo = 'Full'; } else { logincoinmodeinfo = 'Full'; }
if ( addcoin_data.mode == '1' ) { logincoinmodeinfo = 'Full'; } else { logincoinmodeinfo = 'Basilisk'; }
var AddCoinData = {"prefetchlag":-1,"poll":50,"active":1,"agent":"iguana","method":"addcoin","newcoin":"BTCD","startpend":8,"endpend":4,"services":129,"maxpeers":64,"RELAY":addcoin_data.mode,"VALIDATE":addcoin_data.mode,"portp2p":14631,"rpc":14632}
console.log(AddCoinData);
console.log(logincoinfullname);

Loading…
Cancel
Save