diff options
author | Julian Ospald <hasufell@gentoo.org> | 2015-10-23 13:33:41 +0200 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2015-10-23 13:33:41 +0200 |
commit | 2e7be44a1f4a20f5b9495127c89ca78a438e6cbc (patch) | |
tree | 559e879049353c4a0b0b5f58addff744918455cf /eclass/bitcoincore.eclass | |
parent | Revert "bitcoincore 0.11.1 & 9999: hasufell's suggestions" (diff) | |
download | gentoo-2e7be44a1f4a20f5b9495127c89ca78a438e6cbc.tar.gz gentoo-2e7be44a1f4a20f5b9495127c89ca78a438e6cbc.tar.bz2 gentoo-2e7be44a1f4a20f5b9495127c89ca78a438e6cbc.zip |
Revert "bitcoincore: Bump to 0.11.1"
This reverts commit f0eac2dfbd1498bff1f03350c97d2d12e63e2711.
Diffstat (limited to 'eclass/bitcoincore.eclass')
-rw-r--r-- | eclass/bitcoincore.eclass | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/eclass/bitcoincore.eclass b/eclass/bitcoincore.eclass index 0cebdb5a92b6..69ed9d69d6c1 100644 --- a/eclass/bitcoincore.eclass +++ b/eclass/bitcoincore.eclass @@ -91,11 +91,8 @@ case "${PV}" in 0.11*) BITCOINCORE_SERIES="0.11.x" LIBSECP256K1_DEPEND="=dev-libs/libsecp256k1-0.0.0_pre20150423" - # RBF is bundled with ljr patchset since 0.11.1 - if [ "${PVR}" = "0.11.0" ]; then - BITCOINCORE_RBF_DIFF="5f032c75eefb0fe8ff79ed9595da1112c05f5c4a...660b96d24916b8ef4e0677e5d6162e24e2db447e" - BITCOINCORE_RBF_PATCHFILE="${MyPN}-rbf-v0.11.0rc3.patch" - fi + BITCOINCORE_RBF_DIFF="5f032c75eefb0fe8ff79ed9595da1112c05f5c4a...660b96d24916b8ef4e0677e5d6162e24e2db447e" + BITCOINCORE_RBF_PATCHFILE="${MyPN}-rbf-v0.11.0rc3.patch" ;; 9999*) BITCOINCORE_SERIES="9999" @@ -125,7 +122,7 @@ else BITCOINXT_PATCHFILE="${MyPN}xt-v${PV}.patch" SRC_URI="${SRC_URI} xt? ( https://github.com/bitcoinxt/bitcoinxt/compare/${BITCOINCORE_XT_DIFF}.diff -> ${BITCOINXT_PATCHFILE} )" fi - if in_bcc_policy rbf && [ -n "${BITCOINCORE_RBF_DIFF}" ]; then + if in_bcc_policy rbf; then SRC_URI="${SRC_URI} bitcoin_policy_rbf? ( https://github.com/petertodd/bitcoin/compare/${BITCOINCORE_RBF_DIFF}.diff -> ${BITCOINCORE_RBF_PATCHFILE} )" fi S="${WORKDIR}/${MyPN}-${BITCOINCORE_COMMITHASH}" @@ -207,8 +204,8 @@ bitcoincore_pkg_pretend() { "Replace By Fee policy is enabled: Your node will preferentially mine and relay transactions paying the highest fee, regardless of receive order." \ "Replace By Fee policy is disabled: Your node will only accept the first transaction seen consuming a conflicting input, regardless of fee offered by later ones." bitcoincore_policymsg spamfilter \ - "Enhanced spam filter policy is enabled: Your node will identify notorious spam scripts and avoid assisting them. This may impact your ability to use some services (see link for a list)." \ - "Enhanced spam filter policy is disabled: Your node will not be checking for notorious spam scripts, and may assist them." + "Enhanced spam filter is enabled: A blacklist (seen as controversial by some) will be used by your node. This may impact your ability to use some services (see link for a list)." \ + "Enhanced spam filter is disabled: Your node will not be checking for notorious spammers, and may assist them." $bitcoincore_policymsg_flag && einfo "For more information on any of the above, see ${LJR_PATCH_DESC}" } @@ -242,11 +239,7 @@ bitcoincore_prepare() { use bitcoin_policy_${mypolicy} || continue case "${mypolicy}" in rbf) - if [ -n "${BITCOINCORE_RBF_PATCHFILE}" ]; then - epatch "${DISTDIR}/${BITCOINCORE_RBF_PATCHFILE}" - else - epatch "$(LJR_PATCH ${mypolicy})" - fi + epatch "${DISTDIR}/${BITCOINCORE_RBF_PATCHFILE}" ;; *) epatch "$(LJR_PATCH ${mypolicy})" |