Skip to content

Commit

Permalink
fix: get rid of k3-pow-difficulty in profiler tool
Browse files Browse the repository at this point in the history
  • Loading branch information
brusherru committed May 24, 2023
1 parent e394aa8 commit 50b8c08
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions desktop/posProfiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export interface PosProfilerOptions {
nonces: number;
threads: number;
k2difficulty: BigInt;
k3difficulty: BigInt;
}

interface PosProfilerResult {
Expand Down Expand Up @@ -47,7 +46,6 @@ export const runProfiler = (
`--nonces=${opts.nonces}`,
`--threads=${opts.threads}`,
`--k2-pow-difficulty=${opts.k2difficulty.toString()}`,
`--k3-pow-difficulty=${opts.k3difficulty.toString()}`,
]);

const out = {
Expand Down Expand Up @@ -129,7 +127,6 @@ export const runBenchmarks = async (
datafile: resolve(app.getPath('temp'), 'profiler.bin'),
datasize: 1,
k2difficulty: BigInt(nodeConfig.post['post-k2pow-difficulty']),
k3difficulty: BigInt(nodeConfig.post['post-k3pow-difficulty']),
nonces: 16,
threads: 1,
};
Expand Down
1 change: 0 additions & 1 deletion shared/types/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,5 @@ export interface NodeConfig {
'post-k2': number;
'post-k3': number;
'post-k2pow-difficulty': bigint | number;
'post-k3pow-difficulty': bigint | number;
};
}

0 comments on commit 50b8c08

Please sign in to comment.