Difference between revisions of "ConfigOption/node uri"

From Snowblossom Wiki
Jump to: navigation, search
Line 8: Line 8:
  
 
For best security and privacy it is best to use grpc+tls and specify the key.
 
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:
 +
 +
<code>
 +
    INFO: Connected to TLS server with key: node:fse8tvly48zwz9fej6x5znsrm573pyyf83uj9kxw
 +
</code>
  
 
Normal URI parsing applies.
 
Normal URI parsing applies.

Revision as of 07:09, 4 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