| 214 | } |
| 215 | |
| 216 | static void MutateTxLocktime(CMutableTransaction& tx, const std::string& cmdVal) |
| 217 | { |
| 218 | int64_t newLocktime; |
| 219 | if (!ParseInt64(cmdVal, &newLocktime) || newLocktime < 0LL || newLocktime > 0xffffffffLL) |
| 220 | throw std::runtime_error("Invalid TX locktime requested: '" + cmdVal + "'"); |
| 221 | |
| 222 | tx.nLockTime = (unsigned int) newLocktime; |
| 223 | } |
| 224 | |
| 225 | static void MutateTxRBFOptIn(CMutableTransaction& tx, const std::string& strInIdx) |
| 226 | { |
no test coverage detected