dambaev / op-energy

An open-source explorer developed for the Bitcoin community, focusing on the emerging transaction fee market to help our transition into a multi-layer ecosystem.
https://mempool.space
Other
0 stars 1 forks source link

321 blockspan should use our source of data #326

Closed dambaev closed 1 year ago

dambaev commented 1 year ago

This PR introduces new Websocket notification from backend: oe-newest-confirmed-block : <BlockHeader>. Frontend's state service in it's turn handles this notification by storing block header in the latestReceivedBlock$ ReplaySubject instance and by storing appropriate block height in the latestReceivedBlockHeight variable.

This allows OpEnergy-part of frontend services to use data provided by OpEnergy part of backend