| 902 | } |
| 903 | |
| 904 | bool MasternodePaymentsEnabled() { |
| 905 | bool result = false; |
| 906 | if (Params().NetworkID() == CBaseChainParams::TESTNET || Params().NetworkID() == CBaseChainParams::REGTEST) { |
| 907 | if (GetTime() > START_MASTERNODE_PAYMENTS_TESTNET) { |
| 908 | result = true; |
| 909 | } |
| 910 | } else { |
| 911 | if (GetTime() > START_MASTERNODE_PAYMENTS) { |
| 912 | result = true; |
| 913 | } |
| 914 | } |
| 915 | return result; |
| 916 | } |
| 917 | |
| 918 | bool SelectMasternodePayee(CScript& payeeScript) { |
| 919 | bool result = false; |
no test coverage detected