Difference between revisions of "ConfigOption/node uri"
Line 30: | Line 30: | ||
node_uri=grpc+tls://snow-tx1.snowblossom.org?key=node:fgmfupck7seaq8t2gl6plzs5vh7nyl6656wscgq3 | node_uri=grpc+tls://snow-tx1.snowblossom.org?key=node:fgmfupck7seaq8t2gl6plzs5vh7nyl6656wscgq3 | ||
+ | |||
+ | node_uri=grpc+tls://snow-tx1.snowblossom.org,grpc+tls://snow-de1.snowblossom.org | ||
</code> | </code> |
Revision as of 07:18, 5 July 2019
node_uri
Controls which SnowBlossomNode this program connects to.
General form is: schema://host[:port][/?key=node:...]
If using grpc+tls, the key parameter specifies which TLS key the node is expected to use.
For best security and privacy it is best to use grpc+tls and specify the key. If you don't know the key for a particular server, connect without the key and look for a log entry like this:
INFO: Connected to TLS server with key: node:fse8tvly48zwz9fej6x5znsrm573pyyf83uj9kxw
Normal URI parsing applies.
Default
None
Examples
node_uri=grpc://snow-tx1.snowblossom.org
node_uri=grpc://snow-tx1.snowblossom.org:2338
node_uri=grpc+tls://snow-tx1.snowblossom.org
node_uri=grpc+tls://snow-tx1.snowblossom.org?key=node:fgmfupck7seaq8t2gl6plzs5vh7nyl6656wscgq3
node_uri=grpc+tls://snow-tx1.snowblossom.org,grpc+tls://snow-de1.snowblossom.org