bitcoind: Use single dash for args and add more value options (#3590)
This commit is contained in:
parent
5a12ee26f7
commit
b5b4bdd1fd
|
@ -7,7 +7,7 @@
|
||||||
"port": 8333,
|
"port": 8333,
|
||||||
"id": "bitcoind",
|
"id": "bitcoind",
|
||||||
"description": "Bitcoin core node",
|
"description": "Bitcoin core node",
|
||||||
"tipi_version": 2,
|
"tipi_version": 3,
|
||||||
"version": "27.0",
|
"version": "27.0",
|
||||||
"categories": [
|
"categories": [
|
||||||
"finance"
|
"finance"
|
||||||
|
@ -16,6 +16,13 @@
|
||||||
"author": "Bitcoin developers",
|
"author": "Bitcoin developers",
|
||||||
"source": "https://github.com/lncm/docker-bitcoind",
|
"source": "https://github.com/lncm/docker-bitcoind",
|
||||||
"form_fields": [
|
"form_fields": [
|
||||||
|
{
|
||||||
|
"type": "number",
|
||||||
|
"label": "Reduce storage requirements by enabling pruning (deleting) of old blocks",
|
||||||
|
"hint": "default: 0 = disable pruning blocks, 1 = allow manual pruning via RPC, >=550 = automatically prune block files to stay under the specified target size in MiB",
|
||||||
|
"required": false,
|
||||||
|
"env_variable": "BITCOIND_PRUNING"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"label": "DB Cache Size (In mb)",
|
"label": "DB Cache Size (In mb)",
|
||||||
|
@ -47,6 +54,23 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "text",
|
||||||
|
"label": "Accept JSON-RPC requests",
|
||||||
|
"hint": "Allows you to use bitcoin-cli to communicate with the node",
|
||||||
|
"required": false,
|
||||||
|
"env_variable": "BITCOIND_SERVER",
|
||||||
|
"options": [
|
||||||
|
{
|
||||||
|
"label": "Yes",
|
||||||
|
"value": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "No",
|
||||||
|
"value": "0"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"label": "Max Peer Connections",
|
"label": "Max Peer Connections",
|
||||||
|
|
|
@ -14,14 +14,16 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
stop_grace_period: 15m30s
|
stop_grace_period: 15m30s
|
||||||
command: >-
|
command: >-
|
||||||
--dbcache=${BITCOIND_DB_CACHE:-450}
|
-dbcache=${BITCOIND_DB_CACHE:-450}
|
||||||
--maxmempool=${BITCOIND_MAX_MEMPOOL:-300}
|
-maxmempool=${BITCOIND_MAX_MEMPOOL:-300}
|
||||||
--listen=${BITCOIND_LISTEN:-0}
|
-listen=${BITCOIND_LISTEN:-0}
|
||||||
--maxconnections=${BITCOIND_MAXPEERS:-125}
|
-server=${BITCOIND_SERVER:-0}
|
||||||
--txindex=${BITCOIND_TXINDEX:-1}
|
-prune=${BITCOIND_PRUNING:-0}
|
||||||
--peerbloomfilters=${BITCOIND_BLOOM_FILTERS:-1}
|
-maxconnections=${BITCOIND_MAXPEERS:-125}
|
||||||
--blockfilterindex=${BITCOIND_BLOCK_FILTER:-1}
|
-txindex=${BITCOIND_TXINDEX:-1}
|
||||||
--peerblockfilters=${BITCOIND_BLOCK_FILTER:-1}
|
-peerbloomfilters=${BITCOIND_BLOOM_FILTERS:-1}
|
||||||
|
-blockfilterindex=${BITCOIND_BLOCK_FILTER:-1}
|
||||||
|
-peerblockfilters=${BITCOIND_BLOCK_FILTER:-1}
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
labels:
|
labels:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user