mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-01-12 08:34:17 +08:00
49 lines
799 B
TOML
49 lines
799 B
TOML
[storage]
|
|
working_dir = "tmp"
|
|
|
|
[metrics]
|
|
enabled = true
|
|
prometheus_port = 9153
|
|
|
|
[ordinals.db]
|
|
database = "ordinals"
|
|
host = "localhost"
|
|
port = 5432
|
|
username = "postgres"
|
|
password = "postgres"
|
|
|
|
[ordinals.meta_protocols.brc20]
|
|
enabled = true
|
|
lru_cache_size = 10000
|
|
|
|
[ordinals.meta_protocols.brc20.db]
|
|
database = "brc20"
|
|
host = "localhost"
|
|
port = 5432
|
|
username = "postgres"
|
|
password = "postgres"
|
|
|
|
[runes]
|
|
lru_cache_size = 10000
|
|
|
|
[runes.db]
|
|
database = "runes"
|
|
host = "localhost"
|
|
port = 5432
|
|
username = "postgres"
|
|
password = "postgres"
|
|
|
|
[bitcoind]
|
|
network = "mainnet"
|
|
rpc_url = "http://127.0.0.1:8332"
|
|
rpc_username = "devnet"
|
|
rpc_password = "devnet"
|
|
zmq_url = "tcp://0.0.0.0:18543"
|
|
|
|
[resources]
|
|
ulimit = 2048
|
|
cpu_core_available = 6
|
|
memory_available = 16
|
|
bitcoind_rpc_threads = 2
|
|
bitcoind_rpc_timeout = 15
|