mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge 196a43eddb into merged_master (Bitcoin PR bitcoin/bitcoin#26603)
This commit is contained in:
commit
61be8cf8ce
1 changed files with 2 additions and 2 deletions
|
|
@ -67,8 +67,8 @@ bool IsFinalTx(const CTransaction &tx, int nBlockHeight, int64_t nBlockTime);
|
|||
/**
|
||||
* Calculates the block height and previous block's median time past at
|
||||
* which the transaction will be considered final in the context of BIP 68.
|
||||
* Also removes from the vector of input heights any entries which did not
|
||||
* correspond to sequence locked inputs as they do not affect the calculation.
|
||||
* For each input that is not sequence locked, the corresponding entries in
|
||||
* prevHeights are set to 0 as they do not affect the calculation.
|
||||
*/
|
||||
std::pair<int, int64_t> CalculateSequenceLocks(const CTransaction &tx, int flags, std::vector<int>& prevHeights, const CBlockIndex& block);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue