jl777 8 years ago
parent
commit
43e3fc8c1b
  1. 2
      basilisk/basilisk_CMD.c
  2. 1
      iguana/notaries.h

2
basilisk/basilisk_CMD.c

@ -32,7 +32,7 @@ struct iguana_peer *basilisk_ensurerelay(struct supernet_info *myinfo,struct igu
return(0); return(0);
if ( (addr= iguana_peerfindipbits(notaries,ipbits,0)) == 0 ) if ( (addr= iguana_peerfindipbits(notaries,ipbits,0)) == 0 )
{ {
if ( (addr= iguana_peerslot(notaries,ipbits,0)) != 0 ) if ( (addr= iguana_peerslot(notaries,ipbits,0)) != 0 && addr->isrelay == 0 )
{ {
printf("launch peer.%s for relay vs (%s)\n",ipaddr,myinfo->ipaddr); printf("launch peer.%s for relay vs (%s)\n",ipaddr,myinfo->ipaddr);
addr->isrelay = 1; addr->isrelay = 1;

1
iguana/notaries.h

@ -42,6 +42,7 @@ char *Notaries[][2] =
{ "pondsea_EU", "0225aa6f6f19e543180b31153d9e6d55d41bc7ec2ba191fd29f19a2f973544e29d" }, { "pondsea_EU", "0225aa6f6f19e543180b31153d9e6d55d41bc7ec2ba191fd29f19a2f973544e29d" },
{ "badass_SH", "0287fed7cd90994281f308ad112230d970c04148d7017e828fee47bfaf11c50679" }, { "badass_SH", "0287fed7cd90994281f308ad112230d970c04148d7017e828fee47bfaf11c50679" },
{ "baddass_NA" "02afa1a9f948e1634a29dc718d218e9d150c531cfa852843a1643a02184a63c1a7" }, { "baddass_NA" "02afa1a9f948e1634a29dc718d218e9d150c531cfa852843a1643a02184a63c1a7" },
{ "pondsea_NA", "031bcfdbb62268e2ff8dfffeb9ddff7fe95fca46778c77eebff9c3829dfa1bb411" },
/*{ "Server1","0221876c8259764224dc1a7b70ec956f3fbe9a768cd77f13082cfa60eb6aa2d068"}, /*{ "Server1","0221876c8259764224dc1a7b70ec956f3fbe9a768cd77f13082cfa60eb6aa2d068"},
{ "Server2","03c7c14e6b1f94585bb571cf3ee5eb9b9ab54bd23d0acb8cf13edad1c515842b66"}, { "Server2","03c7c14e6b1f94585bb571cf3ee5eb9b9ab54bd23d0acb8cf13edad1c515842b66"},
{ "Server3","02d28f8992ff0cd68c5d558cf55ec5b3ada25151519a6cea8cef1bac04c40023b6"}, { "Server3","02d28f8992ff0cd68c5d558cf55ec5b3ada25151519a6cea8cef1bac04c40023b6"},

Loading…
Cancel
Save