We want to show the current blocktemplate being used for jobs.
The block templates changes every 10 seconds, so we might need to poll this from the node.
Assume the block template is available on disk, from database or through an API as a json object. That is, this issue doesn't require the change to p2poolv2 node to serve the block template. Instead, this issue will determine how p2poolv2 node serves the block template.
With the blocktemplate available, render it using mempool.space's block widget. They use angular so we should use the component.
The goal of the issue is
Once we have this done, we can then make he change in p2poolv2 node to serve the template according to what we have decided. That change will be a separate issue.
We want to show the current blocktemplate being used for jobs.
The block templates changes every 10 seconds, so we might need to poll this from the node.
Assume the block template is available on disk, from database or through an API as a json object. That is, this issue doesn't require the change to p2poolv2 node to serve the block template. Instead, this issue will determine how p2poolv2 node serves the block template.
With the blocktemplate available, render it using mempool.space's block widget. They use angular so we should use the component.
The goal of the issue is
Once we have this done, we can then make he change in p2poolv2 node to serve the template according to what we have decided. That change will be a separate issue.