diff options
author | glozow <gloriajzhao@gmail.com> | 2021-08-16 10:40:46 +0100 |
---|---|---|
committer | glozow <gloriajzhao@gmail.com> | 2021-09-10 10:32:29 +0100 |
commit | 3cf46f6055f7cd2e5da81e0d29cafc51ad4aafba (patch) | |
tree | be6725e5b2e3a44cbfb8157a3081514efedc6c0c /src/util/rbf.h | |
parent | c78eb8651b0949fefcafb22940512f4ef98d3358 (diff) |
[doc] improve RBF documentation
Document a few non-obvious things and delete no-longer-relevant comments
(e.g. about taking a lock that we're already holding).
No change in behavior.
Diffstat (limited to 'src/util/rbf.h')
-rw-r--r-- | src/util/rbf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/rbf.h b/src/util/rbf.h index 6d44a2cb83..135817d669 100644 --- a/src/util/rbf.h +++ b/src/util/rbf.h @@ -17,7 +17,7 @@ static const uint32_t MAX_BIP125_RBF_SEQUENCE = 0xfffffffd; * * SEQUENCE_FINAL-1 is picked to still allow use of nLockTime by non-replaceable transactions. All * inputs rather than just one is for the sake of multi-party protocols, where we don't want a single -* party to be able to disable replacement. */ -bool SignalsOptInRBF(const CTransaction &tx); +* party to be able to disable replacement by opting out in their own input. */ +bool SignalsOptInRBF(const CTransaction& tx); #endif // BITCOIN_UTIL_RBF_H |