Skip to content

Add configuration for networks without blocks #136

@tuliomir

Description

@tuliomir

One of the partners using the Hathor Network blockchain does not use blocks. In these cases, the tx-mining-service keeps throwing errors related to the lack of blocks, most notably:

self.log.exception("Error updating block template")

"Cannot generate MinerBlockJob because block_template is empty"

These errors end up creating noise in monitoring platforms, so there should be a configuration to stop tx-mining-service from trying to interact with blocks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions