File tree Expand file tree Collapse file tree
include/bitcoin/system/chain Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,9 +159,9 @@ class BC_API transaction
159159 // / Guards (for tx pool without compact blocks).
160160 // / -----------------------------------------------------------------------
161161
162- code guard_check () const NOEXCEPT;
163- code guard_check (const context& ctx) const NOEXCEPT;
164- code guard_accept (const context& ctx) const NOEXCEPT;
162+ code check_guard () const NOEXCEPT;
163+ code check_guard (const context& ctx) const NOEXCEPT;
164+ code accept_guard (const context& ctx) const NOEXCEPT;
165165
166166 // / Validation (consensus checks).
167167 // / -----------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -803,7 +803,7 @@ bool transaction::is_confirmed_double_spend(size_t height) const NOEXCEPT
803803// Pools do not have coinbases.
804804// Redundant with block is_internal_double_spend check.
805805// Redundant with block max_block_size check.
806- code transaction::guard_check () const NOEXCEPT
806+ code transaction::check_guard () const NOEXCEPT
807807{
808808 if (is_coinbase ())
809809 return error::coinbase_transaction;
@@ -816,7 +816,7 @@ code transaction::guard_check() const NOEXCEPT
816816}
817817
818818// Redundant with block max_block_weight accept.
819- code transaction::guard_check (const context& ctx) const NOEXCEPT
819+ code transaction::check_guard (const context& ctx) const NOEXCEPT
820820{
821821 const auto bip141 = ctx.is_enabled (flags::bip141_rule);
822822
@@ -829,7 +829,7 @@ code transaction::guard_check(const context& ctx) const NOEXCEPT
829829}
830830
831831// Redundant with block max_block_sigops accept.
832- code transaction::guard_accept (const context& ctx) const NOEXCEPT
832+ code transaction::accept_guard (const context& ctx) const NOEXCEPT
833833{
834834 const auto bip16 = ctx.is_enabled (flags::bip16_rule);
835835 const auto bip141 = ctx.is_enabled (flags::bip141_rule);
You can’t perform that action at this time.
0 commit comments