diff --git a/README.md b/README.md index 5b68fd552..1ee820436 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,8 @@ The latest docker image of ARC can be found [here](https://hub.docker.com/r/bsvb ## Microservices +The API http server as well as all gRPC servers of each service has dual-stack capability and thus listen on both IPv4 & IPv6 addresses. + ### API API is the REST API microservice for interacting with ARC. See the [API documentation](https://bitcoin-sv.github.io/arc/api.html) for more information. diff --git a/config/example_config.yaml b/config/example_config.yaml index e8515e162..83ba6f17a 100644 --- a/config/example_config.yaml +++ b/config/example_config.yaml @@ -48,7 +48,7 @@ broadcasting: # settings for connection to nodes p2p: 18335 cache: - engine: freecache # cache engine - freecache/redis + engine: freecache # cache engine - one of freecache | redis freecache: # freecache configuration size: 10000000 # size of cache redis: @@ -111,6 +111,7 @@ api: address: localhost:9090 # address to start api server on wocApiKey: "mainnet_XXXXXXXXXXXXXXXXXXXX" # api key for www.whatsonchain.com wocMainnet: false # query main or test net on www.whatsonchain.com + requestExtendedLogs: true # if true, the logs will include request methods & headers defaultPolicy: # default policy of bitcoin node excessiveblocksize: 2000000000 blockmaxsize: 512000000 diff --git a/test/config/config.yaml b/test/config/config.yaml index 1d4ee86f0..b64ca9a6f 100644 --- a/test/config/config.yaml +++ b/test/config/config.yaml @@ -100,6 +100,8 @@ blocktx: api: address: 0.0.0.0:9090 wocApiKey: "mainnet_XXXXXXXXXXXXXXXXXXXX" + wocMainnet: false + requestExtendedLogs: true defaultPolicy: excessiveblocksize: 2000000000 blockmaxsize: 512000000 @@ -130,7 +132,6 @@ api: minconfconsolidationinput: 6 minconsolidationinputmaturity: 6 acceptnonstdconsolidationinput: false - requestExtendedLogs: true callbacker: listenAddr: 0.0.0.0:8021