mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-15 12:50:47 +02:00
Rename config for zeromq hashblock port (#1209)
This commit is contained in:
parent
d1977dbe7b
commit
a57e9942d0
2 changed files with 4 additions and 4 deletions
|
|
@ -47,7 +47,7 @@ DEFAULT_WEBADMIN_HOST = "0.0.0.0"
|
|||
DEFAULT_WEBADMIN_PORT = 12994
|
||||
DEFAULT_BITCOIN_RPC_HOST = "localhost"
|
||||
DEFAULT_BITCOIN_RPC_PORT = 8334
|
||||
DEFAULT_BITCOIN_ZEROMQ_PORT = 28334
|
||||
DEFAULT_BITCOIN_ZEROMQ_HASHBLOCK_PORT = 28334
|
||||
BITCOIN_RPC_PORT = {
|
||||
"mainnet": 8332,
|
||||
"testnet": 18332,
|
||||
|
|
@ -74,8 +74,8 @@ class BitcoinConfig(Config):
|
|||
rpc_pass = key(cast=str, required=False, default="")
|
||||
rpc_use_ssl = key(cast=bool, required=False, default=False)
|
||||
rpc_ssl_cert = key(cast=str, required=False, default="")
|
||||
zeromq_port = key(cast=int, required=False,
|
||||
default=DEFAULT_BITCOIN_ZEROMQ_PORT)
|
||||
zeromq_hashblock_port = key(cast=int, required=False,
|
||||
default=DEFAULT_BITCOIN_ZEROMQ_HASHBLOCK_PORT)
|
||||
|
||||
|
||||
@section('lnd')
|
||||
|
|
|
|||
|
|
@ -140,7 +140,7 @@ class SqueakNode:
|
|||
def initialize_bitcoin_block_subscription_client(self):
|
||||
self.bitcoin_block_subscription_client = BitcoinBlockSubscriptionClient(
|
||||
self.config.bitcoin.rpc_host,
|
||||
self.config.bitcoin.zeromq_port,
|
||||
self.config.bitcoin.zeromq_hashblock_port,
|
||||
)
|
||||
|
||||
def initialize_squeak_core(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue