Browse Source

Add more info on how to change the node

xno
codesoap 1 year ago
parent
commit
baaa07e0b9
  1. 3
      README.md
  2. 7
      config.go

3
README.md

@ -93,7 +93,8 @@ atto is written with less than 1000 lines of code and uses minimal @@ -93,7 +93,8 @@ atto is written with less than 1000 lines of code and uses minimal
external dependencies. This makes it easy to audit the code yourself
and ensure, that it does nothing you wouldn't want it to do.
To change some defaults, take a look at `config.go`.
To change some defaults, like the node to use, take a look at
`config.go`.
Signatures are created without the help of a node, to avoid your seed or
private keys being stolen by a node operator. The received account info

7
config.go

@ -1,7 +1,12 @@ @@ -1,7 +1,12 @@
package main
var (
// The node needs to support the work_generate action:
// The node needs to support the work_generate action.
// See e.g. https://publicnodes.somenano.com to find public nodes or
// set up your own node to use. Here are some public alternatives:
// - https://proxy.nanos.cc/proxy
// - https://mynano.ninja/api/node
// - https://rainstorm.city/api
nodeUrl = "https://proxy.powernode.cc/proxy"
defaultRepresentative = "nano_18shbirtzhmkf7166h39nowj9c9zrpufeg75bkbyoobqwf1iu3srfm9eo3pz"

Loading…
Cancel
Save