Skip to content

Commit 273fcef

Browse files
committed
chore: Added rule to "Add Node" page
This commit also adds link to GitHub issue to report suspicious nodes plus some minor text changes (main page).
1 parent 83b5c20 commit 273fcef

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

frontend/src/routes/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@
8787
<a class="card card-hover overflow-hidden py-2 text-center" href="/remote-nodes/">
8888
<h2 class="h2 font-bold">Remote Nodes</h2>
8989
<div class="space-y-4 p-4">
90-
<p>List of Monero remote nodes you can use when you cannot (or don't want to) run your own node.</p>
90+
<p>List of submitted Monero remote nodes you can use when you <strong>cannot</strong> run your own node.</p>
9191
</div>
9292
</a>
9393
<a class="card card-hover overflow-hidden py-2 text-center" href="/add-node/">
9494
<h2 class="h2 font-bold">Add Node</h2>
9595
<div class="space-y-4 p-4">
96-
<p>Add your Monero public node so others can connect to your node.</p>
96+
<p>Add your Monero public node to be monitored and see how it performs.</p>
9797
</div>
9898
</a>
9999
<a class="card card-hover overflow-hidden py-2 text-center" href="https://monitor.ditatompel.com/d/xmr_metrics/monero-metrics?orgId=2" target="_blank" rel="noopener" >

frontend/src/routes/add-node/+page.svelte

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,20 @@
4040
</div>
4141
</header>
4242

43+
<section id="page-info" class="mx-auto w-full max-w-4xl px-4 pb-7">
44+
<div class="alert card shadow-xl">
45+
<div class="alert-message">
46+
<h2 class="h3 text-center">Important Note</h2>
47+
<ul class="list-inside list-disc">
48+
<li>
49+
As an administrator of this instance, I have full rights to delete, and blacklist any
50+
submitted node with or without providing any reason.
51+
</li>
52+
</ul>
53+
</div>
54+
</div>
55+
</section>
56+
4357
<section id="form-add-monero-node">
4458
<div class="section-container text-center">
4559
<p>Enter your Monero node information below (IPv6 host check is experimental):</p>
@@ -54,7 +68,7 @@
5468
<label class="label">
5569
<span>Protocol *</span>
5670
<select name="protocol" class="select variant-form-material" disabled={isProcessing}>
57-
<option value="http">HTTP / TOR</option>
71+
<option value="http">HTTP or TOR</option>
5872
<option value="https">HTTPS</option>
5973
</select>
6074
</label>

frontend/src/routes/remote-nodes/+page.svelte

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,14 @@
270270
<div class="alert-message">
271271
<h2 class="h3">Info</h2>
272272
<ul class="list-inside list-disc">
273+
<li>
274+
If you find any remote nodes that are strange or suspicious, please <a
275+
class="external"
276+
href="https://github.com/ditatompel/xmr-remote-nodes/issues"
277+
target="_blank"
278+
rel="noopener">open an issue on GitHub</a
279+
> for removal.
280+
</li>
273281
<li>
274282
Uptime percentage calculated is the <strong>last 1 month</strong> uptime.
275283
</li>

0 commit comments

Comments
 (0)