summaryrefslogtreecommitdiff
path: root/patches/wownero/0015-change-earliest-fork-height-message.patch
diff options
context:
space:
mode:
authorcyan <cyjan@mrcyjanek.net>2026-03-09 18:05:16 +0100
committerGitHub <noreply@github.com>2026-03-09 18:05:16 +0100
commit2c11591e02b907e63d8fd4fcb0a6559625934a95 (patch)
treedab95d36703f314a8ee9d6277a160df16833c4e5 /patches/wownero/0015-change-earliest-fork-height-message.patch
parent411e8a1cdb3f4c2812d83f28c335d2a4eb18bd29 (diff)
reproducibility (#177)
* reproducibility * wip: ci fixes, drop generate_translations_header.c * minor fixes * fix patch * fix: toolchain * bump hash * fix: minor build issue fixes * fix: x86_64-w64-mingw32 * wip * wip * all updated :o * fix: reduce git size * update checksum remove CI * chore, more optimal dockerfile * update monero to v0.18.4.6 * update checksum * update * minor patch update * fix: no command specified * fix: correct path * alpine * stupid. * AAWASTREYDRFUGTIHYJHGUTYFRDTFYVGUBHINJHGTYFRDSRTXDTCFHBJ
Diffstat (limited to 'patches/wownero/0015-change-earliest-fork-height-message.patch')
-rw-r--r--patches/wownero/0015-change-earliest-fork-height-message.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/wownero/0015-change-earliest-fork-height-message.patch b/patches/wownero/0015-change-earliest-fork-height-message.patch
new file mode 100644
index 0000000..a8daff4
--- /dev/null
+++ b/patches/wownero/0015-change-earliest-fork-height-message.patch
@@ -0,0 +1,25 @@
+From 1d52a04342d63795de45958d41477047e15f0ac2 Mon Sep 17 00:00:00 2001
+From: Czarek Nakamoto <cyjan@mrcyjanek.net>
+Date: Wed, 29 Jan 2025 16:13:28 +0100
+Subject: [PATCH 15/16] change earliest fork height message
+
+---
+ src/wallet/wallet2.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
+index f96de960a..888f862f7 100644
+--- a/src/wallet/wallet2.cpp
++++ b/src/wallet/wallet2.cpp
+@@ -12351,7 +12351,7 @@ bool wallet2::use_fork_rules(uint8_t version, int64_t early_blocks)
+ boost::optional<std::string> result = m_node_rpc_proxy.get_height(height);
+ THROW_WALLET_EXCEPTION_IF(result, error::wallet_internal_error, "Failed to get height");
+ result = m_node_rpc_proxy.get_earliest_height(version, earliest_height);
+- THROW_WALLET_EXCEPTION_IF(result, error::wallet_internal_error, "Failed to get earliest fork height");
++ THROW_WALLET_EXCEPTION_IF(result, error::wallet_internal_error, "Failed to get earliest fork height. Please check your connection and/or switch node you are connected to currently.");
+
+ bool close_enough = (int64_t)height >= (int64_t)earliest_height - early_blocks && earliest_height != std::numeric_limits<uint64_t>::max(); // start using the rules that many blocks beforehand
+ if (close_enough)
+--
+2.51.0
+