Commit graph

2 commits

Author SHA1 Message Date
SChernykh
dfee15eee1 RPC and ZeroMQ APIs to support p2pool
Adds the following:

- "get_miner_data" to RPC API
- "json-miner-data" to ZeroMQ subscriber contexts

Both provide the necessary data to create a custom block template. They are used by p2pool.

Data provided:

- major fork version
- current height
- previous block id
- RandomX seed hash
- network difficulty
- median block weight
- coins mined by the network so far
- mineable mempool transactions
2021-09-11 15:15:07 +02:00
Guillaume Le Vaillant
d00ca885bc Move documentation files to their own directory 2020-10-03 09:18:59 +02:00
Renamed from ZMQ.md (Browse further)