diff options
author | Carl Dong <contact@carldong.me> | 2021-02-08 14:12:12 -0500 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-02-18 14:49:10 -0500 |
commit | 8f5c100064bea720351d450f8116ff3abe0515cc (patch) | |
tree | cc32dd69222e80e70c3a098cff710299d145c4a9 | |
parent | 8c824819c85005ee6c783e9f8fa43ff91716e33d (diff) | |
download | bitcoin-8f5c100064bea720351d450f8116ff3abe0515cc.tar.xz |
style-only: Make CheckSequenceLock signature readable
-rw-r--r-- | src/validation.cpp | 7 | ||||
-rw-r--r-- | src/validation.h | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 751a95611a..08079a6d08 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -256,7 +256,12 @@ bool TestLockPointValidity(CChain& active_chain, const LockPoints* lp) return true; } -bool CheckSequenceLocks(CChainState& active_chainstate, const CTxMemPool& pool, const CTransaction& tx, int flags, LockPoints* lp, bool useExistingLockPoints) +bool CheckSequenceLocks(CChainState& active_chainstate, + const CTxMemPool& pool, + const CTransaction& tx, + int flags, + LockPoints* lp, + bool useExistingLockPoints) { AssertLockHeld(cs_main); AssertLockHeld(pool.cs); diff --git a/src/validation.h b/src/validation.h index 7fc0d31c70..4e4bdbea54 100644 --- a/src/validation.h +++ b/src/validation.h @@ -266,7 +266,12 @@ bool TestLockPointValidity(CChain& active_chain, const LockPoints* lp) EXCLUSIVE * * See consensus/consensus.h for flag definitions. */ -bool CheckSequenceLocks(CChainState& active_chainstate, const CTxMemPool& pool, const CTransaction& tx, int flags, LockPoints* lp = nullptr, bool useExistingLockPoints = false) EXCLUSIVE_LOCKS_REQUIRED(::cs_main, pool.cs); +bool CheckSequenceLocks(CChainState& active_chainstate, + const CTxMemPool& pool, + const CTransaction& tx, + int flags, + LockPoints* lp = nullptr, + bool useExistingLockPoints = false) EXCLUSIVE_LOCKS_REQUIRED(::cs_main, pool.cs); /** * Closure representing one script verification |