Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
# Conflicts:
#	package-lock.json
  • Loading branch information
zone117x committed Jan 17, 2024
2 parents fec704e + 81be954 commit b2f013d
Show file tree
Hide file tree
Showing 401 changed files with 27,074 additions and 38,614 deletions.
43 changes: 17 additions & 26 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ PG_APPLICATION_NAME=stacks-blockchain-api
# the same.
# STACKS_MEMPOOL_TX_GARBAGE_COLLECTION_THRESHOLD=256

# To avoid running unnecessary mempool stats during transaction influx, we use a debounce mechanism for the process.
# This variable controls the duration it waits until there are no further mempool updates
# MEMPOOL_STATS_DEBOUNCE_INTERVAL=1000
# MEMPOOL_STATS_DEBOUNCE_MAX_INTERVAL=10000

# If specified, an http server providing profiling capability endpoints will be opened on the given port.
# This port should not be publicly exposed.
# STACKS_PROFILER_PORT=9119
Expand Down Expand Up @@ -122,34 +127,20 @@ STACKS_NODE_TYPE=L1
# Override the default file path for the proxy cache control file
# STACKS_API_PROXY_CACHE_CONTROL_FILE=/path/to/.proxy-cache-control.json

# Enable token metadata processing. Disabled by default.
# Enable Rosetta endpoints.
# STACKS_API_ENABLE_ROSETTA=1

# Enable FT metadata processing for Rosetta operations display. Disabled by default.
# STACKS_API_ENABLE_FT_METADATA=1
# STACKS_API_ENABLE_NFT_METADATA=1

# If token metadata processing is enabled, this variable determines how the API reacts to metadata processing failures.
# When strict mode is enabled, any failures caused by recoverable errors will be retried indefinitely. Otherwise,
# the API will give up after `STACKS_API_TOKEN_METADATA_MAX_RETRIES` is reached for that smart contract.
# STACKS_API_TOKEN_METADATA_STRICT_MODE=1

# Maximum number of times we'll try processing FT/NFT metadata for a specific smart contract if we've failed
# because of a recoverable error.
# Only used if `STACKS_API_TOKEN_METADATA_STRICT_MODE` is disabled.
# STACKS_API_TOKEN_METADATA_MAX_RETRIES=5

# Controls the token metadata error handling mode. The possible values are:
# * `warning`: If required metadata is not found, the API will issue a warning and not display data for that token.
# * `error`: If required metadata is not found, the API will throw an error.
# If not specified or any other value is provided, the mode will be set to `warning`.
# STACKS_API_TOKEN_METADATA_ERROR_MODE=warning

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

# Web Socket ping interval to determine client availability, in seconds.
# STACKS_API_WS_PING_INTERVAL=5
Expand Down
Loading

0 comments on commit b2f013d

Please sign in to comment.