mintd should consume two types of events from a redis queue:
- create quote
- generated when the miner submits a new mining share
- fields
- block header hash
- blinded secret
- locking pubkey
- status: UNPAID
- quote generation example
- update quote
- generated when the share and block template are fully validated
- fields
- block header hash: index for quote lookup
- status
- if the share is valid status == PAID
- if invalid status == cancelled or error or something
mintd should consume two types of events from a redis queue: