forked from btclock/webui
Bring back custom mempool instance option
This commit is contained in:
parent
fd76caa6f4
commit
52e90dbdee
6 changed files with 43 additions and 9 deletions
|
@ -255,6 +255,34 @@
|
|||
</Col>
|
||||
</Row>
|
||||
{/if}
|
||||
<Row>
|
||||
<Label md={6} for="mempoolInstance" size="sm"
|
||||
>{$_('section.settings.mempoolnstance')}</Label
|
||||
>
|
||||
<Col md="6">
|
||||
<InputGroup size={$uiSettings.inputSize}>
|
||||
<Input
|
||||
type="text"
|
||||
bind:value={$settings.mempoolInstance}
|
||||
name="mempoolInstance"
|
||||
id="mempoolInstance"
|
||||
disabled={$settings.ownDataSource}
|
||||
bsSize="sm"
|
||||
></Input>
|
||||
<InputGroupText>
|
||||
<Input
|
||||
addon
|
||||
type="checkbox"
|
||||
bind:checked={$settings.mempoolSecure}
|
||||
disabled={$settings.ownDataSource}
|
||||
bsSize={$uiSettings.inputSize}
|
||||
/>
|
||||
HTTPS
|
||||
</InputGroupText>
|
||||
</InputGroup>
|
||||
<FormText>{$_('section.settings.mempoolInstanceHelpText')}</FormText>
|
||||
</Col>
|
||||
</Row>
|
||||
<Row>
|
||||
<Label md={6} for="hostnamePrefix" size={$uiSettings.inputSize}
|
||||
>{$_('section.settings.hostnamePrefix')}</Label
|
||||
|
|
|
@ -171,7 +171,9 @@
|
|||
{/if}
|
||||
</span>
|
||||
-
|
||||
{$_('section.status.wsMempoolConnection')}:
|
||||
{$_('section.status.wsMempoolConnection', {
|
||||
values: { instance: $settings.mempoolInstance }
|
||||
})}:
|
||||
<span>
|
||||
{#if $status.connectionStatus && $status.connectionStatus.blocks}
|
||||
✅
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue