LCOV - code coverage report
Current view: top level - src/evo - specialtx.cpp (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 5 5 100.0 %
Date: 2026-06-25 07:23:43 Functions: 1 1 100.0 %

          Line data    Source code
       1             : // Copyright (c) 2018-2023 The Dash Core developers
       2             : // Distributed under the MIT software license, see the accompanying
       3             : // file COPYING or http://www.opensource.org/licenses/mit-license.php.
       4             : 
       5             : #include <evo/specialtx.h>
       6             : 
       7             : #include <clientversion.h>
       8             : #include <hash.h>
       9             : 
      10        8795 : uint256 CalcTxInputsHash(const CTransaction& tx)
      11             : {
      12        8795 :     CHashWriter hw(SER_GETHASH, CLIENT_VERSION);
      13       18936 :     for (const auto& in : tx.vin) {
      14       10141 :         hw << in.prevout;
      15             :     }
      16        8795 :     return hw.GetHash();
      17             : }

Generated by: LCOV version 1.16