mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-13 12:33:25 +02:00
Make rpc enabled by default (#1749)
This commit is contained in:
parent
e241552765
commit
356c3e5cc0
2 changed files with 2 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue