Make rpc enabled by default (#1749)

This commit is contained in:
Jonathan Zernik 2021-11-02 00:47:51 -07:00 committed by GitHub
parent e241552765
commit 356c3e5cc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ lnd.macaroon_path | string | | yes | "" | SQUEAKNODE_LND_MACAROON_PATH | The pat
tor.proxy_ip | string | | yes | "" | SQUEAKNODE_TOR_PROXY_IP | The ip address or host of the SOCKS5 Tor proxy, if one is used.
tor.proxy_port | int | | yes | 0 | SQUEAKNODE_TOR_PROXY_PORT | The port of the SOCKS5 Tor proxy, is one is used.
db.connection_string | string | | yes | "" | SQUEAKNODE_DB_CONNECTION_STRING | The connection string to use to connect to a SQL database. If none is specified, a sqlite database will be used on the local file system.
rpc.enabled | boolean | [true, false] | yes | false | SQUEAKNODE_RPC_ENABLED | Accept RPC commands or not.
rpc.enabled | boolean | [true, false] | yes | true | SQUEAKNODE_RPC_ENABLED | Accept RPC commands or not.
rpc.host | string | | yes | "0.0.0.0" | SQUEAKNODE_RPC_HOST | Host to listen for rpc connections.
rpc.port | int | | yes | 8994 | SQUEAKNODE_RPC_PORT | Port to listen for rpc connections.
webadmin.enabled | boolean | [true, false] | yes | false | SQUEAKNODE_WEBADMIN_ENABLED | Run a web admin server or not.

View file

@ -105,7 +105,7 @@ class ServerConfig(Config):
@section('rpc')
class RpcConfig(Config):
enabled = key(cast=bool, required=False, default=False)
enabled = key(cast=bool, required=False, default=True)
host = key(cast=str, required=False, default=DEFAULT_ADMIN_RPC_HOST)
port = key(cast=int, required=False, default=DEFAULT_ADMIN_RPC_PORT)