aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-09-12 16:35:35 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-09-12 16:35:35 +0800
commit66a7ef57e61f15d718c179d2a0ffaf8a5c38b2f2 (patch)
tree66e1918326090c71332114de23076d79275a3e99 /cmd
parentecca2c3c1b0f91994a1fc228b48a5aedfbd1db2f (diff)
downloadgo-tangerine-66a7ef57e61f15d718c179d2a0ffaf8a5c38b2f2.tar
go-tangerine-66a7ef57e61f15d718c179d2a0ffaf8a5c38b2f2.tar.gz
go-tangerine-66a7ef57e61f15d718c179d2a0ffaf8a5c38b2f2.tar.bz2
go-tangerine-66a7ef57e61f15d718c179d2a0ffaf8a5c38b2f2.tar.lz
go-tangerine-66a7ef57e61f15d718c179d2a0ffaf8a5c38b2f2.tar.xz
go-tangerine-66a7ef57e61f15d718c179d2a0ffaf8a5c38b2f2.tar.zst
go-tangerine-66a7ef57e61f15d718c179d2a0ffaf8a5c38b2f2.zip
cmd/puppeth: reserve "yournode" as a non-allowed ethstats user
Diffstat (limited to 'cmd')
-rw-r--r--cmd/puppeth/module_ethstats.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/puppeth/module_ethstats.go b/cmd/puppeth/module_ethstats.go
index 5d3fa5fc0..6ce662f65 100644
--- a/cmd/puppeth/module_ethstats.go
+++ b/cmd/puppeth/module_ethstats.go
@@ -42,7 +42,7 @@ RUN \
WORKDIR /eth-netstats
EXPOSE 3000
-RUN echo 'module.exports = {trusted: [{{.Trusted}}], banned: [{{.Banned}}]};' > lib/utils/config.js
+RUN echo 'module.exports = {trusted: [{{.Trusted}}], banned: [{{.Banned}}], reserved: ["yournode"]};' > lib/utils/config.js
CMD ["npm", "start"]
`