add new config to the bitcoin daemon (#3366)

This commit is contained in:
Jorge Montejo 2024-05-06 20:30:21 +02:00 committed by GitHub
parent 2eb5b80b56
commit 2c150961f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 57 additions and 2 deletions

View File

@ -7,7 +7,7 @@
"port": 8333,
"id": "bitcoind",
"description": "Bitcoin core node",
"tipi_version": 1,
"tipi_version": 2,
"version": "26.0",
"categories": [
"finance"
@ -53,10 +53,61 @@
"hint": "Maintain at most N connections to peers. Leave empty for default 125.",
"required": false,
"env_variable": "BITCOIND_MAXPEERS"
},
{
"type": "text",
"label": "Enable txindex",
"hint": "Enabled by default",
"required": false,
"env_variable": "BITCOIND_TXINDEX",
"options": [
{
"label": "Yes",
"value": "1"
},
{
"label": "No",
"value": "0"
}
]
},
{
"type": "text",
"label": "Enable peer bloom filters",
"hint": "Enabled by default",
"required": false,
"env_variable": "BITCOIND_BLOOM_FILTERS",
"options": [
{
"label": "Yes",
"value": "1"
},
{
"label": "No",
"value": "0"
}
]
},
{
"type": "text",
"label": "Enable block filter index",
"hint": "Enabled by default",
"required": false,
"env_variable": "BITCOIND_BLOCK_FILTER",
"options": [
{
"label": "Yes",
"value": "1"
},
{
"label": "No",
"value": "0"
}
]
}
],
"supported_architectures": [
"amd64",
"arm64"
]
}
}

View File

@ -18,6 +18,10 @@ services:
--maxmempool=${BITCOIND_MAX_MEMPOOL:-300}
--listen=${BITCOIND_LISTEN:-0}
--maxconnections=${BITCOIND_MAXPEERS:-125}
--txindex=${BITCOIND_TXINDEX:-1}
--peerbloomfilters=${BITCOIND_BLOOM_FILTERS:-1}
--blockfilterindex=${BITCOIND_BLOCK_FILTER:-1}
--peerblockfilters=${BITCOIND_BLOCK_FILTER:-1}
networks:
- tipi_main_network
labels: