Source code of https://xmr.ditatompel.com, a website that helps you monitor your favourite Monero remote nodes.
Find a file
ditatompel f931066c8c
Keep nettype, height, etc same as before
Do not replace existing database record if prober can't reach the remote
nodes. Only update node status and last fetch record.
2024-05-08 19:03:41 +07:00
cmd Add import command (temporary) 2024-05-06 23:53:23 +07:00
frontend Vite ver. bump 2024-05-08 18:52:32 +07:00
handler Make cron datatable filterable 2024-05-08 17:24:34 +07:00
internal Keep nettype, height, etc same as before 2024-05-08 19:03:41 +07:00
tools Adding deploy-prober example 2024-05-06 22:21:46 +07:00
.air.toml Copying my other project structure to this project 2024-05-04 00:11:56 +07:00
.editorconfig Copying my other project structure to this project 2024-05-04 00:11:56 +07:00
.env.example Probe (client) check remote node 2024-05-04 22:36:57 +07:00
.gitattributes Initial commit 2024-05-04 00:10:33 +07:00
.gitignore Adding GeoIP support 2024-05-05 02:20:54 +07:00
go.mod Adding GeoIP support 2024-05-05 02:20:54 +07:00
go.sum Adding GeoIP support 2024-05-05 02:20:54 +07:00
LICENSE Initial commit 2024-05-04 00:10:33 +07:00
main.go Copying my other project structure to this project 2024-05-04 00:11:56 +07:00
Makefile Adding deploy-prober example 2024-05-06 22:21:46 +07:00
README.md Adding systemd service and timer for prober 2024-05-06 21:45:33 +07:00

XMR Nodes

Requirements

Installation

For initial server setup:

  1. Create database structure and import tbl_cron data from ./tools/resources/database.
  2. Download GeoIP Database and place it to ./assets/geoip. (see ./internal/repo/geoip.go).
  3. Copy .env.example to .env and edit it to match with server environment.
  4. Build the binary with make build.
  5. Run the service with ./bin/xmr-nodes-static-linux-<YOUR_CPU_ARCH> serve.

To create admin user (for creating prober API key from Web-UI, execute ./bin/xmr-nodes-static-linux-<YOUR_CPU_ARCH> admin create).

Systemd example: ./tools/resources/init/xmr-nodes-server.service.

For initial prober setup:

  1. Create API key for prober
  2. Copy .env.example to .env and edit it to match with prober environment.
  3. Build the binary with make build.
  4. Run the service with ./bin/xmr-nodes-static-linux-<YOUR_CPU_ARCH> prober.

Systemd example: xmr-nodes-prober.service and xmr-nodes-prober.timer.