monero/src/cryptonote_core
SChernykh d51e3f21f7 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-21 20:28:11 +02:00
..
blockchain_storage_boost_serialization.h Update copyright year to 2020 2020-05-06 22:36:54 -04:00
blockchain.cpp RPC and ZeroMQ APIs to support p2pool 2021-09-21 20:28:11 +02:00
blockchain.h RPC and ZeroMQ APIs to support p2pool 2021-09-21 20:28:11 +02:00
CMakeLists.txt Update copyright year to 2020 2020-05-06 22:36:54 -04:00
cryptonote_core.cpp RPC and ZeroMQ APIs to support p2pool 2021-09-21 20:28:11 +02:00
cryptonote_core.h RPC and ZeroMQ APIs to support p2pool 2021-09-21 20:28:11 +02:00
cryptonote_tx_utils.cpp core: fix mining from a block that's not the current top 2020-08-27 15:13:00 +00:00
cryptonote_tx_utils.h RPC and ZeroMQ APIs to support p2pool 2021-09-21 20:28:11 +02:00
i_core_events.h cryptonote_core: dandelion - use local height or median height if syncing 2020-11-25 01:26:03 +00:00
tx_pool.cpp RPC and ZeroMQ APIs to support p2pool 2021-09-21 20:28:11 +02:00
tx_pool.h RPC and ZeroMQ APIs to support p2pool 2021-09-21 20:28:11 +02:00
tx_sanity_check.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
tx_sanity_check.h Update copyright year to 2020 2020-05-06 22:36:54 -04:00