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

Method GetBlockPayee

src/masternode.cpp:743–752  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

741}
742
743bool CMasternodePayments::GetBlockPayee(int nBlockHeight, CScript& payee) {
744 for (CMasternodePaymentWinner& winner : vWinning) {
745 if (winner.nBlockHeight == nBlockHeight) {
746 payee = winner.payee;
747 return true;
748 }
749 }
750
751 return false;
752}
753
754bool CMasternodePayments::GetWinningMasternode(int nBlockHeight, CTxIn& vinOut) {
755 for (CMasternodePaymentWinner& winner : vWinning) {

Callers 2

SelectMasternodePayeeFunction · 0.80
masternodeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected