Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrypt #26

Open
grantmundl opened this issue Feb 10, 2021 · 5 comments
Open

scrypt #26

grantmundl opened this issue Feb 10, 2021 · 5 comments

Comments

@grantmundl
Copy link

not working with scrypt, get this error
/home/ubuntu/node-genesis-block/node_modules/yargs/yargs.js:1109
else throw err
^

Error: You must provide buffer to hash, N value, and R value
at PoW (/home/ubuntu/node-genesis-block/genesis.js:158:59)
at Object.require.alias.alias.alias.alias.alias.alias.alias.alias.alias.help.command [as handler] (/home/ubuntu/node-genesis-block/genesis.js:51:9)
at Object.runCommand (/home/ubuntu/node-genesis-block/node_modules/yargs/lib/command.js:235:44)
at Object.parseArgs [as _parseArgs] (/home/ubuntu/node-genesis-block/node_modules/yargs/yargs.js:1050:24)
at Object.get [as argv] (/home/ubuntu/node-genesis-block/node_modules/yargs/yargs.js:965:21)
at Object. (/home/ubuntu/node-genesis-block/genesis.js:57:5)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
working with other algos

@RecoX
Copy link

RecoX commented Jun 27, 2021

same issue here.

@xsa-dev
Copy link

xsa-dev commented Jan 9, 2022

You need to send N value, and R value to multihashing.node ...

@vuicash
Copy link

vuicash commented Jan 9, 2022

node genesis -a scrypt
Error for me to
Error: You must provide buffer to hash, N value, and R value

@xsa-dev
Copy link

xsa-dev commented Jan 9, 2022

I am use this script for generating genesis block for scrypt: https://github.com/lhartikk/GenesisH0

But this worked only for old old python 2.7 only, need support for python 3.8+

@anonymousess
Copy link

For old version
Ubuntu 18.

apt install python
apt install python-pip

Worked for me

I am use this script for generating genesis block for scrypt: https://github.com/lhartikk/GenesisH0

But this worked only for old old python 2.7 only, need support for python 3.8+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants