From 0e72f01d4863d4f24682b10018ea738bdc2d724d Mon Sep 17 00:00:00 2001 From: Dan Janosik Date: Thu, 3 May 2018 13:37:35 -0400 Subject: [PATCH] cleanup --- README.md | 4 ++-- routes/baseActionsRouter.js | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index ef43a8c..0aa6653 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Simple, database-free Bitcoin blockchain explorer, via RPC. Built with Node.js, express, bootstrap-v4. -This tool is intended to be a simple, self-hosted explorer for the Bitcoin blockchain, driven by RPC calls to your own bitcoind node. This tool is easy to run but lacks features compared to full-fledged (stateful) explorers. +This tool is intended to be a simple, self-hosted explorer for the Bitcoin blockchain, driven by RPC calls to your own bitcoind node. This tool is easy to run but lacks features compared to full-fledged (database-backed) explorers. I built this tool because I wanted to use it myself. Whatever reasons one might have for running a full node (trustlessness, technical curiosity, etc) it's helpful to appreciate the "fullness" of a node. With this explorer, one can not only explore the blockchain (in the traditional sense of the term "explorer"), but also explore the capabilities of one's own node. @@ -19,7 +19,7 @@ A live demo of the tool is available at https://btc-explorer.com * Mempool summary, showing unconfirmed transaction counts by fee level * RPC Browser to explore all of the RPC commands available from your node * RPC Terminal to send commands to your node -* Currently supports BTC, LTC. Support for any Bitcoin-RPC-protocol-compliant coin can be added easily. +* Currently supports BTC, LTC (support for any Bitcoin-RPC-protocol-compliant coin can be added easily) # Getting started diff --git a/routes/baseActionsRouter.js b/routes/baseActionsRouter.js index 2c5b45f..af88aff 100644 --- a/routes/baseActionsRouter.js +++ b/routes/baseActionsRouter.js @@ -45,7 +45,7 @@ router.get("/", function(req, res) { res.render("index"); }); }).catch(function(err) { - res.locals.userMessage = "Unable to connect to Bitcoin Node at " + env.rpc.host + ":" + env.rpc.port; + res.locals.userMessage = "Unable to connect to node at " + env.rpc.host + ":" + env.rpc.port; res.render("index"); }); @@ -69,22 +69,22 @@ router.get("/node-details", function(req, res) { res.render("node-details"); }).catch(function(err) { - res.locals.userMessage = "Unable to connect to Bitcoin Node at " + env.rpc.host + ":" + env.rpc.port; + res.locals.userMessage = "Unable to connect to node at " + env.rpc.host + ":" + env.rpc.port; res.render("node-details"); }); }).catch(function(err) { - res.locals.userMessage = "Unable to connect to Bitcoin Node at " + env.rpc.host + ":" + env.rpc.port; + res.locals.userMessage = "Unable to connect to node at " + env.rpc.host + ":" + env.rpc.port; res.render("node-details"); }); }).catch(function(err) { - res.locals.userMessage = "Unable to connect to Bitcoin Node at " + env.rpc.host + ":" + env.rpc.port; + res.locals.userMessage = "Unable to connect to node at " + env.rpc.host + ":" + env.rpc.port; res.render("node-details"); }); }).catch(function(err) { - res.locals.userMessage = "Unable to connect to Bitcoin Node at " + env.rpc.host + ":" + env.rpc.port; + res.locals.userMessage = "Unable to connect to node at " + env.rpc.host + ":" + env.rpc.port; res.render("node-details"); });