diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2019-09-30 03:27:05 +0000 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2020-03-07 16:15:14 -0500 |
commit | 529e91eb1a8f1a55fa400d7ca7e9d63ae61df5e2 (patch) | |
tree | fb201a225ba3201f9c127b3add34b0cbb021b9fa /net-p2p/bitcoin-qt | |
parent | net-p2p/bitcoind: Drop redundant versions (diff) | |
download | gentoo-529e91eb1a8f1a55fa400d7ca7e9d63ae61df5e2.tar.gz gentoo-529e91eb1a8f1a55fa400d7ca7e9d63ae61df5e2.tar.bz2 gentoo-529e91eb1a8f1a55fa400d7ca7e9d63ae61df5e2.zip |
net-p2p/bitcoin{-qt,d}-0.16.3: Drop bitcoin_policy_rbf USE flag
It is now always enabled at build time.
Users who don't like it can turn it off at runtime.
Signed-off-by: Luke Dashjr <luke-jr+git@utopios.org>
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'net-p2p/bitcoin-qt')
-rw-r--r-- | net-p2p/bitcoin-qt/bitcoin-qt-0.16.3.ebuild | 17 | ||||
-rw-r--r-- | net-p2p/bitcoin-qt/metadata.xml | 1 |
2 files changed, 4 insertions, 14 deletions
diff --git a/net-p2p/bitcoin-qt/bitcoin-qt-0.16.3.ebuild b/net-p2p/bitcoin-qt/bitcoin-qt-0.16.3.ebuild index 0ee413a509bd..95339d5b90b1 100644 --- a/net-p2p/bitcoin-qt/bitcoin-qt-0.16.3.ebuild +++ b/net-p2p/bitcoin-qt/bitcoin-qt-0.16.3.ebuild @@ -21,7 +21,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~ppc x86 ~amd64-linux ~x86-linux" -IUSE="+asm +bip70 +bitcoin_policy_rbf dbus kde +libevent knots libressl +qrcode test upnp +wallet zeromq" +IUSE="+asm +bip70 dbus kde +libevent knots libressl +qrcode test upnp +wallet zeromq" RESTRICT="!test? ( test )" RDEPEND=" @@ -69,14 +69,9 @@ pkg_pretend() { elog "For more information, see:" elog "https://bitcoincore.org/en/2018/09/18/release-${PV}/" fi - if use bitcoin_policy_rbf; then - elog "Replace By Fee policy is enabled: Your node will preferentially mine and" - elog "relay transactions paying the highest fee, regardless of receive order." - else - elog "Replace By Fee policy is disabled: Your node will only accept the first" - elog "transaction seen consuming a conflicting input, regardless of fee" - elog "offered by later ones." - fi + elog "Replace By Fee policy is now always enabled by default: Your node will" + elog "preferentially mine and relay transactions paying the highest fee, regardless" + elog "of receive order. To disable RBF, set mempoolreplacement=never in bitcoin.conf" } src_prepare() { @@ -98,10 +93,6 @@ src_prepare() { eapply_user - if ! use bitcoin_policy_rbf; then - sed -i 's/\(DEFAULT_ENABLE_REPLACEMENT = \)true/\1false/' src/validation.h || die - fi - echo '#!/bin/true' >share/genbuild.sh || die mkdir -p src/obj || die echo "#define BUILD_SUFFIX gentoo${PVR#${PV}}" >src/obj/build.h || die diff --git a/net-p2p/bitcoin-qt/metadata.xml b/net-p2p/bitcoin-qt/metadata.xml index 0e5739a73259..d37cf8037b83 100644 --- a/net-p2p/bitcoin-qt/metadata.xml +++ b/net-p2p/bitcoin-qt/metadata.xml @@ -12,7 +12,6 @@ <use> <flag name="asm">Enable assembly for optimization</flag> <flag name="bip70">Enable support for the BIP70 payment protocol</flag> - <flag name="bitcoin_policy_rbf">Replace By Fee policy: Your node will preferentially mine and relay transactions paying the highest fee, regardless of receive order</flag> <flag name="knots">Build enhanced Bitcoin Knots version, rather than Bitcoin Core</flag> <flag name="libevent">Use dev-libs/libevent (needed for JSON-RPC, REST, and Tor auto-configuration</flag> <flag name="qrcode">Enable generation of QR Codes for receiving payments</flag> |