-
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 pull request #700 from hirosystems/stacks-signers
merge stacks signers into develop
- Loading branch information
Showing
49 changed files
with
2,596 additions
and
368 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 |
---|---|---|
@@ -1,2 +1,5 @@ | ||
[alias] | ||
chainhook-install = "install --path components/chainhook-cli --locked --force --features cli --features debug --no-default-features" | ||
|
||
[env] | ||
RUST_TEST_THREADS = "1" |
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
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
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,47 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "redis:start", | ||
"type": "shell", | ||
"command": "docker compose -f dockerfiles/docker-compose.dev.yml up --force-recreate -V", | ||
"isBackground": true, | ||
"problemMatcher": { | ||
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3 }, | ||
"background": { | ||
"activeOnStart": true, | ||
"beginsPattern": ".", | ||
"endsPattern": "." | ||
} | ||
}, | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": false, | ||
"panel": "dedicated", | ||
"clear": false | ||
} | ||
}, | ||
{ | ||
"label": "redis:stop", | ||
"type": "shell", | ||
"command": "docker compose -f dockerfiles/docker-compose.dev.yml down -v -t 0", | ||
"isBackground": true, | ||
"problemMatcher": { | ||
"pattern": { "regexp": ".", "file": 1, "location": 2, "message": 3 }, | ||
"background": { | ||
"activeOnStart": true, | ||
"beginsPattern": ".", | ||
"endsPattern": "." | ||
} | ||
}, | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "always", | ||
"focus": false, | ||
"panel": "dedicated", | ||
"clear": false | ||
} | ||
} | ||
] | ||
} |
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.
Oops, something went wrong.