| 40 | } |
| 41 | |
| 42 | uint64_t CBlockHeaderAndShortTxIDs::GetShortID(const uint256& txhash) const { |
| 43 | static_assert(SHORTTXIDS_LENGTH == 6, "shorttxids calculation assumes 6-byte shorttxids"); |
| 44 | return SipHashUint256(shorttxidk0, shorttxidk1, txhash) & 0xffffffffffffL; |
| 45 | } |
| 46 | |
| 47 | std::vector<CTransactionRef> PartiallyDownloadedBlock::GetAvailableTx() { |
| 48 | std::vector<CTransactionRef> found_tx; |
no test coverage detected