DATUM Gateway mining protocol module for blvm-node.
Pool communication for the DATUM Gateway protocol (Ocean). Miners connect through blvm-stratum-v2; this module talks to the DATUM pool only.
- DATUM protocol client — encrypted pool channel when
pool_public_keyis configured - Local templates — block templates via NodeAPI (
get_block_template) - Coinbase coordination — payout outputs from the pool at runtime (
fetch_coinbaser/ inter-module API)
Pin both modules in node blvm.toml:
[modules]
blvm-stratum-v2 = "0.1.*"
blvm-datum = "0.1.*"
[modules.blvm-stratum-v2]
listen_addr = "0.0.0.0:3333"
[modules.blvm-datum]
pool_url = "https://ocean.xyz/datum"
pool_username = "user"
pool_password = "pass"
# pool_public_key = "hex_encoded_32_byte_public_key" # optional
# reconnect_interval = 30
# min_difficulty = 1Module data-dir config.toml uses the same keys (no [mining] table, no coinbase_tag_* or pool_address — those come from the pool).
Operator docs: Datum module in the BLVM book.
blvm-node— module system + NodeAPIlibsodium— DATUM encryptiontokio— async runtime
In development — see crate tests and the book module page for current event/API surface.