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