aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-09-12 16:50:53 +0800
committerGitHub <noreply@github.com>2017-09-12 16:50:53 +0800
commit514b1587db0c7231bf7b49782b3257fe1125a54a (patch)
tree66e1918326090c71332114de23076d79275a3e99
parentecca2c3c1b0f91994a1fc228b48a5aedfbd1db2f (diff)
parent66a7ef57e61f15d718c179d2a0ffaf8a5c38b2f2 (diff)
downloadgo-tangerine-514b1587db0c7231bf7b49782b3257fe1125a54a.tar
go-tangerine-514b1587db0c7231bf7b49782b3257fe1125a54a.tar.gz
go-tangerine-514b1587db0c7231bf7b49782b3257fe1125a54a.tar.bz2
go-tangerine-514b1587db0c7231bf7b49782b3257fe1125a54a.tar.lz
go-tangerine-514b1587db0c7231bf7b49782b3257fe1125a54a.tar.xz
go-tangerine-514b1587db0c7231bf7b49782b3257fe1125a54a.tar.zst
go-tangerine-514b1587db0c7231bf7b49782b3257fe1125a54a.zip
Merge pull request #15137 from karalabe/puppeth-keywords
cmd/puppeth: reserve "yournode" as a non-allowed ethstats user
-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"]
`