@ -436,7 +436,7 @@ Value stop(const Array& params, bool fHelp)
" stop \n "
" stop \n "
" Stop Bitcoin server. " ) ;
" Stop Bitcoin server. " ) ;
// Shutdown will take long enough that the response should get back
// Shutdown will take long enough that the response should get back
uiInterface . Queue Shutdown( ) ;
Start Shutdown( ) ;
return " Bitcoin server stopping " ;
return " Bitcoin server stopping " ;
}
}
@ -1935,7 +1935,7 @@ Value encryptwallet(const Array& params, bool fHelp)
// BDB seems to have a bad habit of writing old data into
// BDB seems to have a bad habit of writing old data into
// slack space in .dat files; that is bad if the old data is
// slack space in .dat files; that is bad if the old data is
// unencrypted private keys. So:
// unencrypted private keys. So:
uiInterface . Queue Shutdown( ) ;
Start Shutdown( ) ;
return " wallet encrypted; Bitcoin server stopping, restart to run with encrypted wallet " ;
return " wallet encrypted; Bitcoin server stopping, restart to run with encrypted wallet " ;
}
}
@ -2682,7 +2682,7 @@ void ThreadRPCServer2(void* parg)
GetConfigFile ( ) . string ( ) . c_str ( ) ,
GetConfigFile ( ) . string ( ) . c_str ( ) ,
EncodeBase58 ( & rand_pwd [ 0 ] , & rand_pwd [ 0 ] + 32 ) . c_str ( ) ) ,
EncodeBase58 ( & rand_pwd [ 0 ] , & rand_pwd [ 0 ] + 32 ) . c_str ( ) ) ,
_ ( " Error " ) , CClientUIInterface : : OK | CClientUIInterface : : MODAL ) ;
_ ( " Error " ) , CClientUIInterface : : OK | CClientUIInterface : : MODAL ) ;
uiInterface . Queue Shutdown( ) ;
Start Shutdown( ) ;
return ;
return ;
}
}
@ -2703,7 +2703,7 @@ void ThreadRPCServer2(void* parg)
{
{
uiInterface . ThreadSafeMessageBox ( strprintf ( _ ( " An error occured while setting up the RPC port %i for listening: %s " ) , endpoint . port ( ) , e . what ( ) ) ,
uiInterface . ThreadSafeMessageBox ( strprintf ( _ ( " An error occured while setting up the RPC port %i for listening: %s " ) , endpoint . port ( ) , e . what ( ) ) ,
_ ( " Error " ) , CClientUIInterface : : OK | CClientUIInterface : : MODAL ) ;
_ ( " Error " ) , CClientUIInterface : : OK | CClientUIInterface : : MODAL ) ;
uiInterface . Queue Shutdown( ) ;
Start Shutdown( ) ;
return ;
return ;
}
}