|
|
@ -33,6 +33,8 @@ struct iguana_peer *basilisk_ensurerelay(struct iguana_info *btcd,uint32_t ipbit |
|
|
|
char *basilisk_addrelay_info(struct supernet_info *myinfo,uint8_t *pubkey33,uint32_t ipbits,bits256 pubkey) |
|
|
|
{ |
|
|
|
int32_t i; struct basilisk_relay *rp; struct iguana_info *btcd; |
|
|
|
return(clonestr("{\"error\":\"addrelay info disabled\"}")); |
|
|
|
|
|
|
|
if ( (btcd= iguana_coinfind("BTCD")) == 0 || ipbits == 0 ) |
|
|
|
return(clonestr("{\"error\":\"add relay needs BTCD and ipbits\"}")); |
|
|
|
for (i=0; i<myinfo->numrelays; i++) |
|
|
|