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,
|
||||
"id": "bitcoind",
|
||||
"description": "Bitcoin core node",
|
||||
"tipi_version": 2,
|
||||
"tipi_version": 3,
|
||||
"version": "27.0",
|
||||
"categories": [
|
||||
"finance"
|
||||
|
@ -16,6 +16,13 @@
|
|||
"author": "Bitcoin developers",
|
||||
"source": "https://github.com/lncm/docker-bitcoind",
|
||||
"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",
|
||||
"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",
|
||||
"label": "Max Peer Connections",
|
||||
|
|
|
@ -14,14 +14,16 @@ services:
|
|||
restart: unless-stopped
|
||||
stop_grace_period: 15m30s
|
||||
command: >-
|
||||
--dbcache=${BITCOIND_DB_CACHE:-450}
|
||||
--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}
|
||||
-dbcache=${BITCOIND_DB_CACHE:-450}
|
||||
-maxmempool=${BITCOIND_MAX_MEMPOOL:-300}
|
||||
-listen=${BITCOIND_LISTEN:-0}
|
||||
-server=${BITCOIND_SERVER:-0}
|
||||
-prune=${BITCOIND_PRUNING:-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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user