From 78f8dfdd60850140f3af97f677a16f1e3b781f5c Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Mon, 18 Jun 2018 15:44:24 -0400 Subject: [PATCH] add comments in communication templates --- templates/boilerplate/config/communication.js | 12 ++++++------ templates/demo/config/communication.js | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/templates/boilerplate/config/communication.js b/templates/boilerplate/config/communication.js index 78d87aa9..fc410142 100644 --- a/templates/boilerplate/config/communication.js +++ b/templates/boilerplate/config/communication.js @@ -1,13 +1,13 @@ module.exports = { default: { enabled: true, - provider: "whisper", - available_providers: ["whisper"], + provider: "whisper", // Communication provider. Currently, Embark only supports whisper + available_providers: ["whisper"], // Array of available providers connection: { - host: "localhost", - port: 8546, - type: "ws" + host: "localhost", // Host of the blockchain node + port: 8546, // Port of the blockchain node + type: "ws" // Type of connection (ws or rps) } } -} +}; diff --git a/templates/demo/config/communication.js b/templates/demo/config/communication.js index eb969d3c..bb0beee5 100644 --- a/templates/demo/config/communication.js +++ b/templates/demo/config/communication.js @@ -1,12 +1,12 @@ module.exports = { default: { enabled: true, - provider: "whisper", - available_providers: ["whisper"], + provider: "whisper", // Communication provider. Currently, Embark only supports whisper + available_providers: ["whisper"], // Array of available providers connection: { - host: "localhost", - port: 8546, - type: "ws" + host: "localhost", // Host of the blockchain node + port: 8546, // Port of the blockchain node + type: "ws" // Type of connection (ws or rps) } } -} +};