Skip to content

EVR Error in submit block #14

@edcomrocha

Description

@edcomrocha

Hi, I'm trying to get the EVR pool working.

However, when submitting the block to the node, I get the following error:

2025-01-10 01:50:15 ERROR: AcceptBlock: bad-cb-minerdevfund-2 (code 16)
2025-01-10 01:50:15 ERROR: ProcessNewBlock: AcceptBlock FAILED ()
2025-01-10 01:50:15 ERROR: ReadBlockFromDisk: OpenBlockFile failed for CBlockDiskPos(nFile=-1, nPos=0)

I checked with trace logs and saw that it should send minerdevfund in the rpc request, but it doesn't.

|Miningcore  | [2025-01-10 01:50:15.8797] [T] [evr] Sending RPC request to http://10.255.150.3:8819: 

[{"jsonrpc":"2.0","method":"submitblock","params":["000000302819598b78d9052589360a87b45356a2564f4a703790d0e5e23e340000000000fe8c9d44c755ffb1c2e233dca4daed4e39325e
cdbd58480b5eaa4d5e1a75fcbb7d7c80679ca03d1b56821100002d025c00700a2061cefc14030d4c7f68d40e05072b41c3de3e15d681762
21dc7f8464784d6fac10101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff1703568211
047d7c806700200a0a4d696e696e67636f726500000000030000000000000000266a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c
690689799962b48bebd836974e8cf90029d177060000001976a914a78f72cdb3a7ee5f09d5259ae7eb64231858bdc288ac00715a363a00
00001976a914ba5256c7ed4112b65ed11ac0350caea18cd1cb4f88ac00000000"],"id":"1736473816"},
{"jsonrpc":"2.0","method":"getblock","params":
["0000000000001b975c73c656fc97a9e792be89e797a64122d5c641ad3cb5a875"],"id":"1736473818"}]

In getblocktemplate it sends devminerfund

|Miningcore  | [2025-01-10 02:18:28.2887] [T] [evr] Sending RPC request to http://10.200.150.3:8819: 
{"jsonrpc":"2.0","method":"getblocktemplate","params":[{"capabilities":
["coinbasetxn","minerdevfund","workid","coinbase/append"]}],"id":"1736475512"}

I tried several different configurations, in coins.json I have "hasMinerDevFund": true.

and even so it doesn't send devminerfund in the rpc.

Can anyone give me a tip about this, or where I can fix this in the code if necessary?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions