Skip to content

Commit

Permalink
disable eclpise plugin re: equihash bindings to make sure everything …
Browse files Browse the repository at this point in the history
…else works
  • Loading branch information
lilyannehall committed Nov 8, 2024
1 parent 69fa547 commit 3d537b1
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions bin/kadence.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,13 @@ async function _init() {
);
// If identity is not solved yet, start trying to solve it
if (!identity.validate()) {
logger.warn(`identity proof not yet solved, this can take a while`);
await identity.solve();
fs.writeFileSync(config.IdentityNoncePath, identity.nonce.toString());
fs.writeFileSync(config.IdentityProofPath, identity.proof);
}
// if (!identity.validate()) {
logger.warn('eclipse plugin is busted , equihash bindings are old and incompatible with gcc-11')
// logger.warn(`identity proof not yet solved, this can take a while`);
// await identity.solve();
// fs.writeFileSync(config.IdentityNoncePath, identity.nonce.toString());
// fs.writeFileSync(config.IdentityProofPath, identity.proof);
// }
init();
}
Expand Down Expand Up @@ -264,7 +265,7 @@ async function init() {
node.content = node.plugin(kadence.contentaddress({
valueEncoding: 'hex'
}));
node.eclipse = node.plugin(kadence.eclipse(identity));
// node.eclipse = node.plugin(kadence.eclipse(identity)); // NB: Equihash is busted
node.rolodex = node.plugin(kadence.rolodex(config.EmbeddedPeerCachePath));
// Check if we need to enable the churn filter plugin (experimental)
Expand Down

0 comments on commit 3d537b1

Please sign in to comment.