Commit a9b0b786 authored by Cédric Moreau's avatar Cédric Moreau

[enh] add `bc-resolve` command

parent 093f512c
Pipeline #5026 failed with stages
in 13 minutes and 54 seconds
......@@ -103,6 +103,10 @@ export const ProverDependency = {
const generator = new BlockGeneratorWhichProves(server, null);
return generateAndSend(program, difficulty, server, () => () => generator.nextBlock())
}
}, {
name: 'bc-resolve',
desc: 'Tries to resolve next blocks or forks.',
onDatabaseExecute: async () => {}
}, {
name: 'gen-root [difficulty]',
desc: 'Tries to generate the next block of the blockchain.',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment