clean up dead code
This commit is contained in:
@@ -167,7 +167,7 @@ bool GetOpReturnHash(CScript script, uint256 &hash)
|
||||
* notarised on another chain.
|
||||
*
|
||||
* IN: params - condition params
|
||||
* IN: importTx - Payout transaction on value chain (KMD)
|
||||
* IN: importTx - Payout transaction on value chain (HUSH)
|
||||
* IN: nIn - index of input of stake
|
||||
*
|
||||
* importTx: Spends stakeTx with payouts from asset chain
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
while true
|
||||
do
|
||||
./c dicestatus KMDICE 5be49570c56d036abb08b6d084da93a8a86f58fc48db4a1086be95540d752d6f
|
||||
|
||||
sleep 10
|
||||
done
|
||||
@@ -658,43 +658,6 @@ uint16_t _hush_userpass(char *username, char *password, FILE *fp)
|
||||
return(port);
|
||||
}
|
||||
|
||||
/*void hush_statefname(char *fname,char *symbol,char *str)
|
||||
{
|
||||
int32_t n,len;
|
||||
sprintf(fname,"%s",getDataDir());
|
||||
if ( (n= (int32_t)strlen(ASSETCHAINS_SYMBOL)) != 0 )
|
||||
{
|
||||
len = (int32_t)strlen(fname);
|
||||
if ( strcmp(ASSETCHAINS_SYMBOL,&fname[len - n]) == 0 )
|
||||
fname[len - n] = 0;
|
||||
else
|
||||
{
|
||||
printf("unexpected fname.(%s) vs %s [%s] n.%d len.%d (%s)\n",fname,symbol,ASSETCHAINS_SYMBOL,n,len,&fname[len - n]);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef _WIN32
|
||||
strcat(fname,"\\");
|
||||
#else
|
||||
strcat(fname,"/");
|
||||
#endif
|
||||
}
|
||||
if ( symbol != 0 && symbol[0] != 0 && strcmp("KMD",symbol) != 0 )
|
||||
{
|
||||
strcat(fname,symbol);
|
||||
//printf("statefname.(%s) -> (%s)\n",symbol,fname);
|
||||
#ifdef _WIN32
|
||||
strcat(fname,"\\");
|
||||
#else
|
||||
strcat(fname,"/");
|
||||
#endif
|
||||
}
|
||||
strcat(fname,str);
|
||||
//printf("test.(%s) -> [%s] statename.(%s) %s\n",test,ASSETCHAINS_SYMBOL,symbol,fname);
|
||||
}*/
|
||||
|
||||
uint16_t hush_userpass(char *userpass,char *symbol)
|
||||
{
|
||||
FILE *fp; uint16_t port = 0; char fname[512],username[512],password[512],confname[HUSH_SMART_CHAIN_MAXLEN];
|
||||
|
||||
Reference in New Issue
Block a user