feat(health-check): probe Bitcoin by genesis hash and a recent transaction - #3963
Draft
haiyuechen-nearone wants to merge 1 commit into
Draft
Conversation
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-evm
branch
from
July 24, 2026 12:32
79ee813 to
3a83749
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-bitcoin
branch
from
July 24, 2026 12:32
dfe9f22 to
2812e3a
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-evm
branch
from
July 24, 2026 14:23
3a83749 to
f9b5906
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-bitcoin
branch
2 times, most recently
from
July 27, 2026 10:31
4cdf6cd to
1e88265
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-evm
branch
from
July 27, 2026 10:31
f9b5906 to
f3da245
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-bitcoin
branch
from
July 27, 2026 11:02
1e88265 to
3d15686
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-evm
branch
from
July 27, 2026 11:02
f3da245 to
798424c
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-bitcoin
branch
from
July 27, 2026 11:19
3d15686 to
95249bb
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-evm
branch
from
July 27, 2026 11:19
798424c to
2cbd463
Compare
…ction Extend the identity-based probe to Bitcoin: verify the genesis block hash (getblockhash 0 — never pruned, and a proof-of-data identity since the provider must actually hold block 0) against the configured expected identity, then run the inspector over the coinbase of a block 10 below the tip. Tip height comes from getbestblockhash + getblock rather than getblockcount: some provider edges serve getblockcount as a JSON-RPC 1.0-style response the 2.0 transport rejects. The pinned Bitcoin golden vectors are deleted; the expected genesis comes from configuration like the other identity chains.
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-evm
branch
from
July 27, 2026 13:33
2cbd463 to
7f48caf
Compare
haiyuechen-nearone
force-pushed
the
3764-foreign-chain-health-hybrid-bitcoin
branch
from
July 27, 2026 13:33
95249bb to
79eb1a1
Compare
This was referenced Jul 27, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #3764; rationale: #3969. Stacked on #3962, merge bottom-up:
eth_chainId+ a recent finalized txReplaces Bitcoin's pinned golden tx with the identity probe: verify the genesis block hash (
getblockhash 0, never pruned), then inspect the coinbase of a block 10 below the tip. Tip height comes fromgetbestblockhash+getblock— some edges servegetblockcountas a JSON-RPC 1.0 response the 2.0 transport rejects.Expected genesis comes from config, no built-ins.