Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ ResetChallenge
Function
ResetChallenge
src/node/miner.cpp:32–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
31
namespace node {
32
void ResetChallenge(CBlockHeader& block, const CBlockIndex& indexLast, const Consensus::Params& params)
33
{
34
block.proof.challenge = indexLast.get_proof().challenge;
35
}
36
37
void ResetProof(CBlockHeader& block)
38
{
Callers
1
CreateNewBlock
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected