Skip to content

Commit b2f013d

Browse files
committed
Merge branch 'master' into develop
# Conflicts: # package-lock.json
2 parents fec704e + 81be954 commit b2f013d

File tree

401 files changed

+27074
-38614
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

401 files changed

+27074
-38614
lines changed

.env

Lines changed: 17 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ PG_APPLICATION_NAME=stacks-blockchain-api
6161
# the same.
6262
# STACKS_MEMPOOL_TX_GARBAGE_COLLECTION_THRESHOLD=256
6363

64+
# To avoid running unnecessary mempool stats during transaction influx, we use a debounce mechanism for the process.
65+
# This variable controls the duration it waits until there are no further mempool updates
66+
# MEMPOOL_STATS_DEBOUNCE_INTERVAL=1000
67+
# MEMPOOL_STATS_DEBOUNCE_MAX_INTERVAL=10000
68+
6469
# If specified, an http server providing profiling capability endpoints will be opened on the given port.
6570
# This port should not be publicly exposed.
6671
# STACKS_PROFILER_PORT=9119
@@ -122,34 +127,20 @@ STACKS_NODE_TYPE=L1
122127
# Override the default file path for the proxy cache control file
123128
# STACKS_API_PROXY_CACHE_CONTROL_FILE=/path/to/.proxy-cache-control.json
124129

125-
# Enable token metadata processing. Disabled by default.
130+
# Enable Rosetta endpoints.
131+
# STACKS_API_ENABLE_ROSETTA=1
132+
133+
# Enable FT metadata processing for Rosetta operations display. Disabled by default.
126134
# STACKS_API_ENABLE_FT_METADATA=1
127-
# STACKS_API_ENABLE_NFT_METADATA=1
128-
129-
# If token metadata processing is enabled, this variable determines how the API reacts to metadata processing failures.
130-
# When strict mode is enabled, any failures caused by recoverable errors will be retried indefinitely. Otherwise,
131-
# the API will give up after `STACKS_API_TOKEN_METADATA_MAX_RETRIES` is reached for that smart contract.
132-
# STACKS_API_TOKEN_METADATA_STRICT_MODE=1
133-
134-
# Maximum number of times we'll try processing FT/NFT metadata for a specific smart contract if we've failed
135-
# because of a recoverable error.
136-
# Only used if `STACKS_API_TOKEN_METADATA_STRICT_MODE` is disabled.
137-
# STACKS_API_TOKEN_METADATA_MAX_RETRIES=5
138-
139-
# Controls the token metadata error handling mode. The possible values are:
140-
# * `warning`: If required metadata is not found, the API will issue a warning and not display data for that token.
141-
# * `error`: If required metadata is not found, the API will throw an error.
142-
# If not specified or any other value is provided, the mode will be set to `warning`.
143-
# STACKS_API_TOKEN_METADATA_ERROR_MODE=warning
144135

145-
# Configure a script to handle image URLs during token metadata processing.
146-
# This example script uses the `imgix.net` service to create CDN URLs.
147-
# Must be an executable script that accepts the URL as the first program argument
148-
# and outputs a result URL to stdout.
149-
# STACKS_API_IMAGE_CACHE_PROCESSOR=./config/token-metadata-image-cache-imgix.js
150-
# Env vars needed for the above sample `imgix` script:
151-
# IMGIX_DOMAIN=https://<your domain>.imgix.net
152-
# IMGIX_TOKEN=<your token>
136+
# The Rosetta API endpoints require FT metadata to display operations with the proper `symbol` and
137+
# `decimals` values. If FT metadata is enabled, this variable controls the token metadata error
138+
# handling mode when metadata is not found.
139+
# The possible values are:
140+
# * `warning`: The API will issue a warning and not display data for that token.
141+
# * `error`: The API will throw an error. If not specified or any other value is provided, the mode
142+
# will be set to `warning`.
143+
# STACKS_API_TOKEN_METADATA_ERROR_MODE=warning
153144

154145
# Web Socket ping interval to determine client availability, in seconds.
155146
# STACKS_API_WS_PING_INTERVAL=5

0 commit comments

Comments
 (0)