Setting up your Node (v1.4.21.1)
9. Configure config.yml
1. Switch UDP to TCP for your Node
Modify the listenMultiaddr
field in config.yml
file.
sed -i 's/listenMultiaddr: \/ip4\/0.0.0.0\/udp\/8336\/quic/listenMultiaddr: \/ip4\/0.0.0.0\/tcp\/8336/g' ~/ceremonyclient/node/.config/config.yml
2. Enable gRPC to enable gRPC Function Calls for your Node
Note: This interface, while read-only, is unauthenticated and not rate-limited. It is recommended that you only enable them if you are properly controlling access via firewall or only query via localhost (i.e. if port 8337 is used for gRPC calls, best not to allow it on your firewall configuration later and only trigger gRPC calls on localhost).
Modify the listenGrpcMultiaddr
and listenRESTMultiaddr
fields in config.yml
file.
sed -i 's/listenGrpcMultiaddr: ""/listenGrpcMultiaddr: \/ip4\/127.0.0.1\/tcp\/8337/g' ~/ceremonyclient/node/.config/config.yml
sed -i 's/listenRESTMultiaddr: ""/listenRESTMultiaddr: \/ip4\/127.0.0.1\/tcp\/8338/g' ~/ceremonyclient/node/.config/config.yml
3. Enable Stats Collection by Opt-In
Modify the statsMultiaddr
field in config.yml
file.
sed -i 's/statsMultiaddr: ""/statsMultiaddr: "\/dns\/stats.quilibrium.com\/tcp\/443"/g' ~/ceremonyclient/node/.config/config.yml