Browse Source

via

release/v0.1
jl777 8 years ago
parent
commit
f827aea867
  1. 2
      iguana/coins/genvia
  2. 2
      iguana/coins/genvia.json
  3. 24
      iguana/confs/VIA_peers.txt
  4. 2
      iguana/iguana_recv.c

2
iguana/coins/genvia

@ -0,0 +1,2 @@
{"startpend":1,"endpend":1,"RELAY":1,"VALIDATE":1,"prefetchlag":-1,"poll":10,"active":1,"agent":"iguana","method":"addcoin","maxpeers":256,"newcoin":"VIA","name":"Viacoin","netmagic":"0f68c6cb","p2p":5223,"rpc":38332,"pubval":71,"p2shval":33,"wifval":199,"txfee_satoshis":"100000","minconfirms":2,"genesishash":"4e9b54001f9976049830128ec0331515eaabe35a70970d79971da1539a400ba1","genesis":{"version":1,"timestamp":1405164774,"nBits":"1e01ffff","nonce":4016033,"merkle_root":"0317d32e01a2adf6f2ac6f58c7cdaab6c656edc6fdb45986c739290053275200"},"alertpubkey":"047885d9f6c0cf9e918d04634d4dd696cf172763f1975aad099daddca3f3c712c98754eae293b36484055e0d414800e519f5a342e56e09217faf07abff5bd96507"}

2
iguana/coins/genvia.json

@ -0,0 +1,2 @@
curl --url "http://127.0.0.1:7778" --data "{\"startpend\":4,\"endpend\":4,\"RELAY\":1,\"VALIDATE\":1,\"prefetchlag\":-1,\"poll\":10,\"active\":1,\"agent\":\"iguana\",\"method\":\"addcoin\",\"maxpeers\":256,\"newcoin\":\"VIA\",\"name\":\"Viacoin\",\"netmagic\":\"0f68c6cb\",\"p2p\":5223,\"rpc\":38332,\"pubval\":71,\"p2shval\":33,\"wifval\":199,\"txfee_satoshis\":\"100000\",\"minconfirms\":2,\"genesishash\":\"4e9b54001f9976049830128ec0331515eaabe35a70970d79971da1539a400ba1\",\"genesis\":{\"version\":1,\"timestamp\":1405164774,\"nBits\":\"1e01ffff\",\"nonce\":4016033,\"merkle_root\":\"0317d32e01a2adf6f2ac6f58c7cdaab6c656edc6fdb45986c739290053275200\"},\"alertpubkey\":\"047885d9f6c0cf9e918d04634d4dd696cf172763f1975aad099daddca3f3c712c98754eae293b36484055e0d414800e519f5a342e56e09217faf07abff5bd96507\"}"

24
iguana/confs/VIA_peers.txt

@ -0,0 +1,24 @@
84.73.4.183
98.115.147.74
192.241.187.222
159.203.208.102
85.25.44.119
178.32.251.114
109.155.227.178
146.0.32.101
108.61.10.90
198.27.82.134
80.74.157.31
192.241.183.16
164.132.25.194
128.199.47.200
173.255.197.64
46.101.136.168
207.192.70.250
54.201.183.106
211.149.175.37
128.199.192.241
216.146.143.177
82.164.213.27
107.170.167.218
195.154.223.134

2
iguana/iguana_recv.c

@ -789,7 +789,7 @@ void iguana_mainchain_clear(struct iguana_info *coin,struct iguana_block *mainch
{ {
bits256_str(str,tmp->RO.hash2); bits256_str(str,tmp->RO.hash2);
if ( tmp->mainchain == 0 ) if ( tmp->mainchain == 0 )
printf("iguana_mainchain_clear: unexpected non-mainchain at ht.%d %s\n",tmp->height,str); printf("%s iguana_mainchain_clear: unexpected non-main ht.%d %s\n",coin->symbol,tmp->height,str);
else if ( tmp->height != height ) else if ( tmp->height != height )
printf("iguana_mainchain_clear: unexpected ht.%d vs %d %s\n",tmp->height,height,str); printf("iguana_mainchain_clear: unexpected ht.%d vs %d %s\n",tmp->height,height,str);
else else

Loading…
Cancel
Save