Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LUX-Core/lux
/ SetStakeEntropyBit
Method
SetStakeEntropyBit
src/chain.h:357–363 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
355
}
356
357
bool SetStakeEntropyBit(unsigned int nEntropyBit)
358
{
359
if (nEntropyBit > 1)
360
return false;
361
nFlags |= (nEntropyBit ? BLOCK_STAKE_ENTROPY : 0);
362
return true;
363
}
364
365
bool GeneratedStakeModifier() const
366
{
Callers
1
AddToBlockIndex
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected