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.
This commit is contained in:
ditatompel 2024-06-11 14:47:01 +07:00
parent acf99a3ca8
commit 17b5f18332
No known key found for this signature in database
GPG key ID: 31D3D06D77950979

View file

@ -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(`