bestinslot-xyz / OPI

Open Protocol Indexer, OPI, is the best-in-slot open-source indexing client for meta-protocols on Bitcoin.
Apache License 2.0
202 stars 110 forks source link

Add ENV variable for cookie file #5

Closed t4t5 closed 8 months ago

t4t5 commented 9 months ago

It's useful to be able to specify a path for your cookie file to communicate with Bitcoin through RPC.

ord already has the --cookie-file option, so this just exposes it to the OPI main indexer module through an optional COOKIE_FILE env variable. 👍