| 1384 | } |
| 1385 | |
| 1386 | int GetSpendHeight(const CCoinsViewCache& inputs) |
| 1387 | { |
| 1388 | LOCK(cs_main); |
| 1389 | CBlockIndex* pindexPrev = LookupBlockIndex(inputs.GetBestBlock()); |
| 1390 | return pindexPrev->nHeight + 1; |
| 1391 | } |
| 1392 | |
| 1393 | |
| 1394 | static CuckooCache::cache<uint256, SignatureCacheHasher> scriptExecutionCache; |
no test coverage detected