From 4dc78b3be86ea17d241990a29c6912b5292996a0 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 4 Jan 2024 11:29:02 -0800 Subject: [PATCH] add donate info --- xmrnodes/config.py | 3 ++- xmrnodes/templates/base.html | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/xmrnodes/config.py b/xmrnodes/config.py index 9c2dede..2b8cb62 100644 --- a/xmrnodes/config.py +++ b/xmrnodes/config.py @@ -15,4 +15,5 @@ NODE_PORT = environ.get("NODE_PORT", 18080) HEALTHY_BLOCK_DIFF = int(environ.get("HEALTHY_BLOCK_DIFF", 500)) PEER_LIFETIME = int(environ.get("PEER_LIFETIME", 96)) I2P_HOST = environ.get("I2P_HOST", "127.0.0.1") -I2P_PORT = environ.get("I2P_PORT", 4444) \ No newline at end of file +I2P_PORT = environ.get("I2P_PORT", 4444) +DONATE_ADDRESS = environ.get("DONATE_ADDRESS", "878ca636oEHcjZ3Zimuwx4AZTbeMtqY11eVihramcBgVciC254jpUm9AxbwAd57nxv1HRE9AGG1cXBkvmRzfsFXh1L6f2CU") \ No newline at end of file diff --git a/xmrnodes/templates/base.html b/xmrnodes/templates/base.html index 670ad9e..3be8971 100644 --- a/xmrnodes/templates/base.html +++ b/xmrnodes/templates/base.html @@ -27,6 +27,11 @@ +
+

Please consider donating to fund hosting bills, development, and maintenance time:

+

{{ config.DONATE_ADDRESS }}

+
+ {% with messages = get_flashed_messages() %} {% if messages %}