diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2026-04-17 08:47:13 +0200 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2026-04-17 08:47:29 +0200 |
| commit | dc26758a923b98f2ceb0c2e2e14e9792fff8ca15 (patch) | |
| tree | 948b32530852e35a981128a9abe851624eae1871 /patches/monero/0013-change-earliest-fork-height-message.patch | |
| parent | ab6a4ebb8be0e5a71da5d3705f6eff782b651699 (diff) | |
wip: initial FCMP
Diffstat (limited to 'patches/monero/0013-change-earliest-fork-height-message.patch')
| -rw-r--r-- | patches/monero/0013-change-earliest-fork-height-message.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/patches/monero/0013-change-earliest-fork-height-message.patch b/patches/monero/0013-change-earliest-fork-height-message.patch new file mode 100644 index 0000000..53ab468 --- /dev/null +++ b/patches/monero/0013-change-earliest-fork-height-message.patch @@ -0,0 +1,25 @@ +From b635126bbe684ce566b5666aa66a66fcd8774bfb Mon Sep 17 00:00:00 2001 +From: Czarek Nakamoto <cyjan@mrcyjanek.net> +Date: Wed, 29 Jan 2025 16:13:28 +0100 +Subject: [PATCH 13/17] 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 e8514a207..12d7f8efc 100644 +--- a/src/wallet/wallet2.cpp ++++ b/src/wallet/wallet2.cpp +@@ -12089,7 +12089,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 + |
