MCPcopy Create free account
hub / github.com/LUX-Core/lux / MarkStake

Method MarkStake

src/stake.cpp:947–949  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

945}
946
947void Stake::MarkStake(const COutPoint& out, unsigned int nTime) {
948 mapStakes[out] = nTime;
949}
950
951bool Stake::IsStaked(const COutPoint& out) const {
952 return mapStakes.find(out) != mapStakes.end();

Callers 2

LoadBlockIndexGutsMethod · 0.80
AddToBlockIndexFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected