|
@ -230,6 +230,15 @@ function Iguana_addcoin(addcoin_data) { |
|
|
console.log(logincoinfullname); |
|
|
console.log(logincoinfullname); |
|
|
console.log(logincoinmodeinfo); |
|
|
console.log(logincoinmodeinfo); |
|
|
} |
|
|
} |
|
|
|
|
|
if ( addcoin_data.coin == 'ZET' ) { |
|
|
|
|
|
var logincoinfullname = 'Zetacoin'; |
|
|
|
|
|
var logincoinmodeinfo = ''; |
|
|
|
|
|
if ( addcoin_data.mode == '1' ) { logincoinmodeinfo = 'Full'; } else { logincoinmodeinfo = 'Basilisk'; } |
|
|
|
|
|
var AddCoinData = {"RELAY":addcoin_data.mode,"VALIDATE":addcoin_data.mode,"services":129,\"prefetchlag":-1,"poll":10,"active":1,"agent":"iguana","method":"addcoin","maxpeers":256,"newcoin":"ZET","name":"Zetacoin","netmagic":"fab503df","p2p":17333,"rpc":17335,"pubval":80,"p2shval":9,"wifval":224,"txfee_satoshis":"10000","minconfirms":2,"genesishash":"000006cab7aa2be2da91015902aa4458dd5fbb8778d175c36d429dc986f2bff4","genesis":{"version":1,"timestamp":1375548986,"nBits":"1e0fffff","nonce":2089928209,"merkle_root":"d0227b8c3e3d07bce9656b3d9e474f050d23458aaead93357dcfdac9ab9b79f9"},"alertpubkey":"045337216002ca6a71d63edf062895417610a723d453e722bf4728996c58661cdac3d4dec5cecd449b9086e9602b35cc726a9e0163e1a4d40f521fbdaebb674658"} |
|
|
|
|
|
console.log(AddCoinData); |
|
|
|
|
|
console.log(logincoinfullname); |
|
|
|
|
|
console.log(logincoinmodeinfo); |
|
|
|
|
|
} |
|
|
$.ajax({ |
|
|
$.ajax({ |
|
|
type: 'POST', |
|
|
type: 'POST', |
|
|
data: JSON.stringify(AddCoinData), |
|
|
data: JSON.stringify(AddCoinData), |
|
|