package views
import (
"fmt"
"github.com/ditatompel/xmr-remote-nodes/internal/ip"
"github.com/ditatompel/xmr-remote-nodes/internal/monero"
"github.com/ditatompel/xmr-remote-nodes/internal/paging"
"github.com/ditatompel/xmr-remote-nodes/utils"
"strings"
"time"
)
var nettypes = []string{"mainnet", "stagenet", "testnet"}
var protocols = []string{"tor", "http", "https"}
type nodeStatus struct {
Code int
Text string
}
var nodeStatuses = []nodeStatus{
{-1, "ANY"},
{1, "Online"},
{0, "Offline"},
}
templ RemoteNodes(data monero.Nodes, countries []monero.Countries, q monero.QueryNodes, p paging.Pagination) {
@heroGradient()
Public Monero Remote Nodes List
Monero remote node is a device on the internet running the Monero software with full copy of the Monero blockchain that doesn't run on the same local machine where the Monero wallet is located.
@TableNodes(data, countries, q, p)
Info
If you find any remote nodes that are strange or suspicious, please open an issue on GitHub for removal.
Uptime percentage calculated is the last 1 month uptime.
Est. Fee here is just fee estimation / byte from get_fee_estimate RPC call method.
Nodes with 0% uptime within 1 month with more than 300 check attempt will be removed. You can always add your node again latter.
You can filter remote node by selecting on nettype, protocol, country, tor, and online status option.
If you want to add more remote node, you can add them using /add-node page.
I deliberately cut the long Tor addresses, click the 👁 torhostname... to see the full Tor address.
You can found larger remote nodes database from monero.fail.
If you are developer or power user who like to fetch Monero remote node above in JSON format, you can read Public API Monero Remote Node List blog post for more detailed information.
Remote node can be used by people who, for their own reasons (usually because of hardware requirements, disk space, or technical abilities), cannot/don't want to run their own node and prefer to relay on one publicly available on the Monero network.
Using an open node will allow to make a transaction instantaneously, without the need to download the blockchain and sync to the Monero network first, but at the cost of the control over your privacy. the Monero community suggests to always run and use your own node to obtain the maximum possible privacy and to help decentralize the network.
}
templ TableNodes(data monero.Nodes, countries []monero.Countries, q monero.QueryNodes, p paging.Pagination) {