Skip to content
Snippets Groups Projects
Commit a9b0b786 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[enh] add `bc-resolve` command

parent 093f512c
No related branches found
No related tags found
No related merge requests found
......@@ -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.',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment