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

Method SetStakeModifier

src/chain.h:370–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368 }
369
370 void SetStakeModifier(uint64_t nModifier, bool fGeneratedStakeModifier)
371 {
372 nStakeModifier = nModifier;
373 if (fGeneratedStakeModifier)
374 nFlags |= BLOCK_STAKE_MODIFIER;
375 }
376
377 /**
378 * Returns true if there are nRequired or more blocks of minVersion or above

Callers 1

AddToBlockIndexFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected