From 17b5f183325c6ef76d626c1ea9462aba82374848 Mon Sep 17 00:00:00 2001 From: ditatompel Date: Tue, 11 Jun 2024 14:47:01 +0700 Subject: [PATCH] chore(docs): Note how to get list of public nodes Adding example way to get list of Monero public nodes using monero-wallet-cli for future integration test. --- internal/database/schema.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/database/schema.go b/internal/database/schema.go index 3eac8d5..5e41a10 100644 --- a/internal/database/schema.go +++ b/internal/database/schema.go @@ -144,6 +144,11 @@ func v1(db *DB) error { return err } + // NOTE: If you need list of public nodes (for example to seed `tbl_node` + // data for integration test), you can use `public_nodes` command from + // `monero-wallet-cli` app. Eg testnet public nodes: + // echo "public_nodes" | monero-wallet-cli --testnet --wallet-file=wallet --daemon-address=testnet.xmr.ditatompel.com:443 --password-file=pass_file + // table: tbl_prober slog.Debug("[DB] Creating table: tbl_prober") _, err = db.Exec(`