mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Merge 2b3e5bf4c0 into merged_master (Bitcoin PR #21613)
This commit is contained in:
commit
dc314b7d34
8 changed files with 18 additions and 8 deletions
12
configure.ac
12
configure.ac
|
|
@ -449,6 +449,10 @@ if test "x$enable_werror" = "xyes"; then
|
|||
[AC_LANG_SOURCE([[struct A { virtual void f(); }; struct B : A { void f() final; };]])])
|
||||
AX_CHECK_COMPILE_FLAG([-Werror=unreachable-code-loop-increment],[ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror=unreachable-code-loop-increment"],,[[$CXXFLAG_WERROR]])
|
||||
AX_CHECK_COMPILE_FLAG([-Werror=mismatched-tags], [ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror=mismatched-tags"], [], [$CXXFLAG_WERROR])
|
||||
|
||||
if test x$suppress_external_warnings != xno ; then
|
||||
AX_CHECK_COMPILE_FLAG([-Werror=documentation],[ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror=documentation"],,[[$CXXFLAG_WERROR]])
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "x$CXXFLAGS_overridden" = "xno"; then
|
||||
|
|
@ -476,6 +480,10 @@ if test "x$CXXFLAGS_overridden" = "xno"; then
|
|||
[AC_LANG_SOURCE([[struct A { virtual void f(); }; struct B : A { void f() final; };]])])
|
||||
AX_CHECK_COMPILE_FLAG([-Wunreachable-code-loop-increment],[WARN_CXXFLAGS="$WARN_CXXFLAGS -Wunreachable-code-loop-increment"],,[[$CXXFLAG_WERROR]])
|
||||
|
||||
if test x$suppress_external_warnings != xno ; then
|
||||
AX_CHECK_COMPILE_FLAG([-Wdocumentation],[WARN_CXXFLAGS="$WARN_CXXFLAGS -Wdocumentation"],,[[$CXXFLAG_WERROR]])
|
||||
fi
|
||||
|
||||
dnl Some compilers (gcc) ignore unknown -Wno-* options, but warn about all
|
||||
dnl unknown options if any other warning is produced. Test the -Wfoo case, and
|
||||
dnl set the -Wno-foo case if it works.
|
||||
|
|
@ -1497,6 +1505,10 @@ if test x$build_bitcoin_cli$build_bitcoind$bitcoin_enable_qt$use_tests$use_bench
|
|||
if test x$TARGET_OS != xwindows; then
|
||||
PKG_CHECK_MODULES([EVENT_PTHREADS], [libevent_pthreads >= 2.0.21],, [AC_MSG_ERROR([libevent_pthreads version 2.0.21 or greater not found.])])
|
||||
fi
|
||||
|
||||
if test x$suppress_external_warnings != xno; then
|
||||
EVENT_CFLAGS=SUPPRESS_WARNINGS($EVENT_CFLAGS)
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl QR Code encoding library check
|
||||
|
|
|
|||
|
|
@ -2062,7 +2062,7 @@ void PeerManagerImpl::ProcessHeadersMessage(CNode& pfrom, const Peer& peer,
|
|||
/**
|
||||
* Reconsider orphan transactions after a parent has been accepted to the mempool.
|
||||
*
|
||||
* @param[in/out] orphan_work_set The set of orphan transactions to reconsider. Generally only one
|
||||
* @param[in,out] orphan_work_set The set of orphan transactions to reconsider. Generally only one
|
||||
* orphan will be reconsidered on each call of this function. This set
|
||||
* may be added to if accepting an orphan causes its children to be
|
||||
* reconsidered.
|
||||
|
|
|
|||
|
|
@ -172,7 +172,6 @@ CService LookupNumeric(const std::string& name, uint16_t portDefault = 0, DNSLoo
|
|||
* @param strSubnet A string representation of a subnet of the form `network
|
||||
* address [ "/", ( CIDR-style suffix | netmask ) ]`(e.g.
|
||||
* `2001:db8::/32`, `192.0.2.0/255.255.255.0`, or `8.8.8.8`).
|
||||
* @param ret The resulting internal representation of a subnet.
|
||||
*
|
||||
* @returns Whether the operation succeeded or not.
|
||||
*/
|
||||
|
|
@ -235,7 +234,7 @@ void InterruptSocks5(bool interrupt);
|
|||
* @param port The destination port.
|
||||
* @param auth The credentials with which to authenticate with the specified
|
||||
* SOCKS5 proxy.
|
||||
* @param sock The SOCKS5 proxy socket.
|
||||
* @param socket The SOCKS5 proxy socket.
|
||||
*
|
||||
* @returns Whether or not the operation succeeded.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ public:
|
|||
*
|
||||
* @param[in] nFeePaid CAmount fee rate to construct with
|
||||
* @param[in] nBytes size_t bytes (units) to construct with
|
||||
* @returns fee rate
|
||||
*/
|
||||
CFeeRate(const CAmount& nFeePaid, size_t nBytes);
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -161,7 +161,7 @@ public:
|
|||
|
||||
/**
|
||||
* Check if still connected.
|
||||
* @param[out] err The error string, if the socket has been disconnected.
|
||||
* @param[out] errmsg The error string, if the socket has been disconnected.
|
||||
* @return true if connected
|
||||
*/
|
||||
virtual bool IsConnected(std::string& errmsg) const;
|
||||
|
|
|
|||
|
|
@ -1031,7 +1031,7 @@ inline bool IsBlockPruned(const CBlockIndex* pblockindex)
|
|||
/**
|
||||
* Return the expected assumeutxo value for a given height, if one exists.
|
||||
*
|
||||
* @param height[in] Get the assumeutxo value for this height.
|
||||
* @param[in] height Get the assumeutxo value for this height.
|
||||
*
|
||||
* @returns empty if no assumeutxo configuration exists for the given height.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1440,7 +1440,7 @@ static void MaybePushAddress(UniValue & entry, const CTxDestination &dest)
|
|||
/**
|
||||
* List transactions based on the given criteria.
|
||||
*
|
||||
* @param pwallet The wallet.
|
||||
* @param wallet The wallet.
|
||||
* @param wtx The wallet transaction.
|
||||
* @param nMinDepth The minimum confirmation depth.
|
||||
* @param fLong Whether to include the JSON version of the transaction.
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ bool HaveKeys(const std::vector<valtype>& pubkeys, const LegacyScriptPubKeyMan&
|
|||
//! Recursively solve script and return spendable/watchonly/invalid status.
|
||||
//!
|
||||
//! @param keystore legacy key and script store
|
||||
//! @param script script to solve
|
||||
//! @param scriptPubKey script to solve
|
||||
//! @param sigversion script type (top-level / redeemscript / witnessscript)
|
||||
//! @param recurse_scripthash whether to recurse into nested p2sh and p2wsh
|
||||
//! scripts or simply treat any script that has been
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue