| 200 | } |
| 201 | |
| 202 | static void MutateTxLocktime(CMutableTransaction& tx, const std::string& cmdVal) |
| 203 | { |
| 204 | int64_t newLocktime; |
| 205 | if (!ParseInt64(cmdVal, &newLocktime) || newLocktime < 0LL || newLocktime > 0xffffffffLL) |
| 206 | throw std::runtime_error("Invalid TX locktime requested: '" + cmdVal + "'"); |
| 207 | |
| 208 | tx.nLockTime = (unsigned int) newLocktime; |
| 209 | } |
| 210 | |
| 211 | static void MutateTxRBFOptIn(CMutableTransaction& tx, const std::string& strInIdx) |
| 212 | { |
no test coverage detected