You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Derive the Bitcoin chain ID from the node's /api/ node info instead of reading a block hash. Add map_chain_id to state_mapper (using primitives::Asset/BitcoinChain) and update get_chain_id to call get_node_info + mapper. Remove the unused BitcoinBlock model and obsolete fields (last_block_time, backend.chain), and drop get_block_info from the RPC client. Update state_mapper tests and testdata to reflect new blockbook fields (coin, network) and include a helper to construct BitcoinNodeInfo for tests.
0 commit comments