MCPcopy 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
968void Stake::SetProof(const uint256& h, const uint256& proof) {
969 mapProofOfStake.emplace(h, proof);
970}
971
972bool Stake::IsActive() const {
973 if (!GetBoolArg("-staking", DEFAULT_STAKE) )

Callers 2

LoadBlockIndexGutsMethod · 0.80
CheckWorkFunction · 0.80

Calls 1

emplaceMethod · 0.45

Tested by

no test coverage detected