Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LUX-Core/lux
/ SetProof
Method
SetProof
src/stake.cpp:968–970 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
966
}
967
968
void Stake::SetProof(const uint256& h, const uint256& proof) {
969
mapProofOfStake.emplace(h, proof);
970
}
971
972
bool Stake::IsActive() const {
973
if (!GetBoolArg(
"-staking"
, DEFAULT_STAKE) )
Callers
2
LoadBlockIndexGuts
Method · 0.80
CheckWork
Function · 0.80
Calls
1
emplace
Method · 0.45
Tested by
no test coverage detected