Merge pull request #2857 from Piterden/patch-1

Added syntax highlight
This commit is contained in:
softsimon 2023-01-26 17:38:38 +04:00 committed by GitHub
commit f1188efb40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 32 deletions

View File

@ -0,0 +1,3 @@
I hereby accept the terms of the Contributor License Agreement in the CONTRIBUTING.md file of the mempool/mempool git repository as of December 17, 2022.
Signed: piterden

View File

@ -17,7 +17,7 @@ _Note: address lookups require an Electrum Server and will not work with this co
The default Docker configuration assumes you have the following configuration in your `bitcoin.conf` file: The default Docker configuration assumes you have the following configuration in your `bitcoin.conf` file:
``` ```ini
txindex=1 txindex=1
server=1 server=1
rpcuser=mempool rpcuser=mempool
@ -26,7 +26,7 @@ rpcpassword=mempool
If you want to use different credentials, specify them in the `docker-compose.yml` file: If you want to use different credentials, specify them in the `docker-compose.yml` file:
``` ```yaml
api: api:
environment: environment:
MEMPOOL_BACKEND: "none" MEMPOOL_BACKEND: "none"
@ -54,7 +54,7 @@ First, configure `bitcoind` as specified above, and make sure your Electrum Serv
Then, set the following variables in `docker-compose.yml` so Mempool can connect to your Electrum Server: Then, set the following variables in `docker-compose.yml` so Mempool can connect to your Electrum Server:
``` ```yaml
api: api:
environment: environment:
MEMPOOL_BACKEND: "electrum" MEMPOOL_BACKEND: "electrum"
@ -85,7 +85,7 @@ Below we list all settings from `mempool-config.json` and the corresponding over
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"MEMPOOL": { "MEMPOOL": {
"NETWORK": "mainnet", "NETWORK": "mainnet",
"BACKEND": "electrum", "BACKEND": "electrum",
@ -116,7 +116,7 @@ Below we list all settings from `mempool-config.json` and the corresponding over
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
MEMPOOL_NETWORK: "" MEMPOOL_NETWORK: ""
@ -153,7 +153,7 @@ Corresponding `docker-compose.yml` overrides:
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"CORE_RPC": { "CORE_RPC": {
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
"PORT": 8332, "PORT": 8332,
@ -163,7 +163,7 @@ Corresponding `docker-compose.yml` overrides:
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
CORE_RPC_HOST: "" CORE_RPC_HOST: ""
@ -176,7 +176,7 @@ Corresponding `docker-compose.yml` overrides:
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"ELECTRUM": { "ELECTRUM": {
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
"PORT": 50002, "PORT": 50002,
@ -185,7 +185,7 @@ Corresponding `docker-compose.yml` overrides:
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
ELECTRUM_HOST: "" ELECTRUM_HOST: ""
@ -197,14 +197,14 @@ Corresponding `docker-compose.yml` overrides:
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"ESPLORA": { "ESPLORA": {
"REST_API_URL": "http://127.0.0.1:3000" "REST_API_URL": "http://127.0.0.1:3000"
}, },
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
ESPLORA_REST_API_URL: "" ESPLORA_REST_API_URL: ""
@ -214,7 +214,7 @@ Corresponding `docker-compose.yml` overrides:
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"SECOND_CORE_RPC": { "SECOND_CORE_RPC": {
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
"PORT": 8332, "PORT": 8332,
@ -224,7 +224,7 @@ Corresponding `docker-compose.yml` overrides:
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
SECOND_CORE_RPC_HOST: "" SECOND_CORE_RPC_HOST: ""
@ -237,7 +237,7 @@ Corresponding `docker-compose.yml` overrides:
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"DATABASE": { "DATABASE": {
"ENABLED": true, "ENABLED": true,
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
@ -249,7 +249,7 @@ Corresponding `docker-compose.yml` overrides:
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
DATABASE_ENABLED: "" DATABASE_ENABLED: ""
@ -264,7 +264,7 @@ Corresponding `docker-compose.yml` overrides:
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"SYSLOG": { "SYSLOG": {
"ENABLED": true, "ENABLED": true,
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
@ -275,7 +275,7 @@ Corresponding `docker-compose.yml` overrides:
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
SYSLOG_ENABLED: "" SYSLOG_ENABLED: ""
@ -289,7 +289,7 @@ Corresponding `docker-compose.yml` overrides:
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"STATISTICS": { "STATISTICS": {
"ENABLED": true, "ENABLED": true,
"TX_PER_SECOND_SAMPLE_PERIOD": 150 "TX_PER_SECOND_SAMPLE_PERIOD": 150
@ -297,7 +297,7 @@ Corresponding `docker-compose.yml` overrides:
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
STATISTICS_ENABLED: "" STATISTICS_ENABLED: ""
@ -308,7 +308,7 @@ Corresponding `docker-compose.yml` overrides:
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"BISQ": { "BISQ": {
"ENABLED": false, "ENABLED": false,
"DATA_PATH": "/bisq/statsnode-data/btc_mainnet/db" "DATA_PATH": "/bisq/statsnode-data/btc_mainnet/db"
@ -316,7 +316,7 @@ Corresponding `docker-compose.yml` overrides:
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
BISQ_ENABLED: "" BISQ_ENABLED: ""
@ -327,7 +327,7 @@ Corresponding `docker-compose.yml` overrides:
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"SOCKS5PROXY": { "SOCKS5PROXY": {
"ENABLED": false, "ENABLED": false,
"HOST": "127.0.0.1", "HOST": "127.0.0.1",
@ -338,7 +338,7 @@ Corresponding `docker-compose.yml` overrides:
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
SOCKS5PROXY_ENABLED: "" SOCKS5PROXY_ENABLED: ""
@ -352,7 +352,7 @@ Corresponding `docker-compose.yml` overrides:
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"PRICE_DATA_SERVER": { "PRICE_DATA_SERVER": {
"TOR_URL": "http://wizpriceje6q5tdrxkyiazsgu7irquiqjy2dptezqhrtu7l2qelqktid.onion/getAllMarketPrices", "TOR_URL": "http://wizpriceje6q5tdrxkyiazsgu7irquiqjy2dptezqhrtu7l2qelqktid.onion/getAllMarketPrices",
"CLEARNET_URL": "https://price.bisq.wiz.biz/getAllMarketPrices" "CLEARNET_URL": "https://price.bisq.wiz.biz/getAllMarketPrices"
@ -360,7 +360,7 @@ Corresponding `docker-compose.yml` overrides:
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
PRICE_DATA_SERVER_TOR_URL: "" PRICE_DATA_SERVER_TOR_URL: ""
@ -371,7 +371,7 @@ Corresponding `docker-compose.yml` overrides:
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"LIGHTNING": { "LIGHTNING": {
"ENABLED": false "ENABLED": false
"BACKEND": "lnd" "BACKEND": "lnd"
@ -383,7 +383,7 @@ Corresponding `docker-compose.yml` overrides:
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
LIGHTNING_ENABLED: false LIGHTNING_ENABLED: false
@ -398,7 +398,7 @@ Corresponding `docker-compose.yml` overrides:
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"LND": { "LND": {
"TLS_CERT_PATH": "" "TLS_CERT_PATH": ""
"MACAROON_PATH": "" "MACAROON_PATH": ""
@ -407,7 +407,7 @@ Corresponding `docker-compose.yml` overrides:
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
LND_TLS_CERT_PATH: "" LND_TLS_CERT_PATH: ""
@ -419,14 +419,14 @@ Corresponding `docker-compose.yml` overrides:
<br/> <br/>
`mempool-config.json`: `mempool-config.json`:
``` ```json
"CLIGHTNING": { "CLIGHTNING": {
"SOCKET": "" "SOCKET": ""
} }
``` ```
Corresponding `docker-compose.yml` overrides: Corresponding `docker-compose.yml` overrides:
``` ```yaml
api: api:
environment: environment:
CLIGHTNING_SOCKET: "" CLIGHTNING_SOCKET: ""