Remove trailing question marks for config variable names

These might interfere with environment variables that are being merged in by cprop.
This commit is contained in:
Vitaliy Vlasov 2018-02-16 19:40:57 +02:00 committed by Tetiana Churikova
parent 3eb0e255ef
commit 9e455d3a2f
3 changed files with 5 additions and 5 deletions

View File

@ -72,7 +72,7 @@ eth-account | Ethereum account ID for the bot
eth-password | Ethereum account password for the bot
eth-rpc-url | RPC URL to Ethereum node, e.g. Geth. Either local or remote
eth-wallet-file | Location of wallet file. If Geth is run with the parameters as given below, it will reside under `$HOME/.ropsten/keystore`
offline-signing? | Specifies whether to sign transactions locally before sending. Default is false. Set to true when connecting to Infura
offline-signing | Specifies whether to sign transactions locally before sending. Default is false. Set to true when connecting to Infura
tokenreg-base-format | Should be set to `:status`
github-client-id | Related to OAuth. Copied from GitHub account Settings->Developer settings->OAuth Apps
github-client-secret | Related to OAuth. Copied from GitHub account Settings->Developer settings->OAuth Apps
@ -106,7 +106,7 @@ geth --fast --testnet --cache=1024 --datadir=$HOME/.ropsten --verbosity 4 --port
```
#### Remote
Register at [Infura](https://infura.io/signup). You will receive an email with provider URLs. Paste an URL for the network you're connecting to (Mainnet/Ropsten) into `config.edn` under `:eth-rpc-url` key, and set `:offline-signing?` to true.
Register at [Infura](https://infura.io/signup). You will receive an email with provider URLs. Paste an URL for the network you're connecting to (Mainnet/Ropsten) into `config.edn` under `:eth-rpc-url` key, and set `:offline-signing` to true.
### CSS auto-compilation

View File

@ -15,7 +15,7 @@
:eth-wallet-file "/some/location"
;; Specifies whether to sign transactions before sending. Should be false for local Geth, true for remote Infura
:offline-signing? false
:offline-signing false
;; address of token registry to be used
;; this is the default value for ropsten

View File

@ -14,8 +14,8 @@
(defn eth-account [] (:eth-account env))
(defn eth-password [] (:eth-password env))
(defn gas-estimate-factor [] (env :gas-estimate-factor 1.0))
(defn auto-gas-price? [] (env :auto-gas-price? false))
(defn offline-signing? [] (env :offline-signing? false))
(defn auto-gas-price? [] (env :auto-gas-price false))
(defn offline-signing? [] (env :offline-signing false))
(defn eth-gasstation-gas-price
[]