aboutsummaryrefslogtreecommitdiff
path: root/src/policy/policy.h
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-07-21 18:36:20 +0200
committerMacroFake <falke.marco@gmail.com>2022-08-02 15:28:30 +0200
commitfad0b4fab849eb5f1f0aa54ebc290f85a473ec91 (patch)
tree26fb06e68fce525fca1bab4a855ae22453b35271 /src/policy/policy.h
parentfa2a6b8516b24d7e9ca11926a49cf2b07f661e81 (diff)
downloadbitcoin-fad0b4fab849eb5f1f0aa54ebc290f85a473ec91.tar.xz
Pass datacarrier setting into IsStandard
Diffstat (limited to 'src/policy/policy.h')
-rw-r--r--src/policy/policy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/policy.h b/src/policy/policy.h
index 15a66efa0d..e3734003ce 100644
--- a/src/policy/policy.h
+++ b/src/policy/policy.h
@@ -105,7 +105,7 @@ CAmount GetDustThreshold(const CTxOut& txout, const CFeeRate& dustRelayFee);
bool IsDust(const CTxOut& txout, const CFeeRate& dustRelayFee);
-bool IsStandard(const CScript& scriptPubKey, TxoutType& whichType);
+bool IsStandard(const CScript& scriptPubKey, const std::optional<unsigned>& max_datacarrier_bytes, TxoutType& whichType);
// Changing the default transaction version requires a two step process: first