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

Method setFromBlock

src/rpcblockchain.cpp:605–611  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603
604private:
605 void setFromBlock(const UniValue& val) {
606 if (!val.isNull()) {
607 fromBlock = parseBlockHeight(val);
608 } else {
609 fromBlock = latestblock.height;
610 }
611 }
612
613 void setToBlock(const UniValue& val) {
614 if (!val.isNull()) {

Callers

nothing calls this directly

Calls 2

parseBlockHeightFunction · 0.85
isNullMethod · 0.45

Tested by

no test coverage detected