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

Method setToBlock

src/rpcblockchain.cpp:613–619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611 }
612
613 void setToBlock(const UniValue& val) {
614 if (!val.isNull()) {
615 toBlock = parseBlockHeight(val);
616 } else {
617 toBlock = latestblock.height;
618 }
619 }
620
621};
622

Callers

nothing calls this directly

Calls 2

parseBlockHeightFunction · 0.85
isNullMethod · 0.45

Tested by

no test coverage detected