-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'stacks-signers' into feat/signer-db
- Loading branch information
Showing
16 changed files
with
239 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
[storage] | ||
working_dir = "cache" | ||
|
||
# The HTTP API allows you to register / deregister | ||
# predicates dynamically. | ||
# This is disabled by default. | ||
# | ||
[http_api] | ||
http_port = 20456 | ||
database_uri = "redis://localhost:6379/" | ||
|
||
[network] | ||
mode = "testnet" | ||
bitcoind_rpc_url = "http://localhost:18443" | ||
bitcoind_rpc_username = "btc" | ||
bitcoind_rpc_password = "btc" | ||
|
||
# Chainhook must be able to receive Bitcoin block events. | ||
# These events can originate from either a Stacks node or a Bitcoin node's ZeroMQ interface. | ||
|
||
# By default, the service is set to receive Bitcoin block events from the Stacks node: | ||
stacks_node_rpc_url = "http://localhost:20443" | ||
stacks_events_ingestion_port = 20455 | ||
|
||
# However, events can also be received directly from a Bitcoin node. | ||
# To achieve this, comment out the `stacks_node_rpc_url` line and uncomment the following line: | ||
# bitcoind_zmq_url = "tcp://0.0.0.0:18543" | ||
|
||
[limits] | ||
max_number_of_bitcoin_predicates = 100 | ||
max_number_of_concurrent_bitcoin_scans = 100 | ||
max_number_of_stacks_predicates = 10 | ||
max_number_of_concurrent_stacks_scans = 10 | ||
max_number_of_processing_threads = 16 | ||
max_number_of_networking_threads = 16 | ||
max_caching_memory_size_mb = 32000 | ||
|
||
# The TSV file is required for downloading historical data for your predicates. | ||
# If this is not a requirement, you can comment out the `tsv_file_url` line. | ||
# [[event_source]] | ||
# tsv_file_url = "https://archive.hiro.so/regtest/stacks-blockchain-api/regtest-stacks-blockchain-api-latest" | ||
|
||
# Enables a server that provides metrics that can be scraped by Prometheus. | ||
# This is disabled by default. | ||
# [monitoring] | ||
# prometheus_monitoring_port = 20457 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.