Skip to content

Commit

Permalink
rename dash-darksend thread to dash-privatesend
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Jun 25, 2016
1 parent 5b678af commit a81cdf7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/darksend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2300,15 +2300,15 @@ void CDarksendPool::UpdatedBlockTip(const CBlockIndex *pindex)
//TODO: Rename/move to core
void ThreadCheckDarkSendPool()
{
if(fLiteMode) return; //disable all Darksend/Masternode related functionality
if(fLiteMode) return; // disable all Dash specific functionality

static bool fOneThread;
if (fOneThread)
return;
fOneThread = true;

// Make this thread recognisable as the Darksend/Masternode thread
RenameThread("dash-darksend");
// Make this thread recognisable as the PrivateSend thread
RenameThread("dash-privatesend");

unsigned int c = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1886,7 +1886,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
mnpayments.UpdatedBlockTip(chainActive.Tip());
masternodeSync.UpdatedBlockTip(chainActive.Tip());

// ********************************************************* Step 11d: start dash-darksend thread
// ********************************************************* Step 11d: start dash-privatesend thread

threadGroup.create_thread(boost::bind(&ThreadCheckDarkSendPool));

Expand Down

0 comments on commit a81cdf7

Please sign in to comment.