{"repo":"0xB10C/fork-observer","free":true,"listed":false,"github":"https://github.com/0xB10C/fork-observer","clone":"git clone https://github.com/0xB10C/fork-observer.git","description":"observe forks on all Bitcoin networks (mainnet, testnet, and [custom] signets)","language":"Rust","stars":31,"topics":["bitcoin","forks","reorg"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"fork-observer Connecting to a Bitcoin Core node For getting a good overview over different chain fork on the Bitcoin network, fork-observer ideally needs access to multiple Bitcoin Core nodes. It was designed work with many nodes on multiple networks in parallel. Additionally, if another party is willing to give you RPC access over e.g., an encrypted channel like wireguard, you can add their node to your fork-observer instance. This requires only access to three RPC calls that can be whitelisted. Note: Don't give anyone RPC access when your node is used to handle real-world funds. Next to Bitcoin Core wallet funds this includes funds in a Lightning node connected to your Bitcoin Core node. fork-observer uses the Bitcoin Core RPC interface to query information about headers and the chain tips. The REST interface is used to query batches of main chain (the chain leading up to the chain tip) headers. Requesting block header batches via REST is more performant than requesting them individually through RPC. While REST is optional, it's recommended to connect to at least a few nodes that have the RPC interface enabled. The REST interface can be disabled by setting use rest = false in the per network node configuration in config.toml. It's recommended to set up a persistent Bitcoin Core RPC user for the fork- observer. A password hash can be generated, for example, with the [rpcauth.py] script provided by Bitcoin Core or third-party tools like jlopp's [online version]. Compared to u","default_branch":null,"files":null,"tree":[],"storefront":"/r/0xB10C","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/0xB10C/fork-observer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}