Skip to content

introduce poolOptions for legacy, p2sh and bech32 keys #604

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

Merged
merged 5 commits into from
May 27, 2018

Conversation

HashUnlimited
Copy link
Collaborator

This PR is extending the capabilities of coin.json by adding network info (option). Examples are included. When starting up, those parameters are initialised and can be used by submodules.
We are also switching the dependencies to the dev branch of node-stratum-pool where those parameters are used later on.

HashUnlimited and others added 5 commits May 25, 2018 02:39
Additionally to the changes on master we are removing the MPOS difficulty multiplier here. MPOS has been updated (currently development branch) to handle low difficulties nicely.
@zone117x zone117x merged commit 2061e66 into zone117x:dev May 27, 2018
@AaronWerner
Copy link

When compiling I receive this error

/home/src/nomp/init.js:151
poolOptions.coin.mainnet.bip32.public = Buffer.from(coinProfile.ma
^
TypeError: Object function Buffer(subject, encoding, offset) {
if (!(this instanceof Buffer)) {
return new Buffer(subject, encoding, offset);
}

var type;

// Are we slicing?
if (typeof offset === 'number') {
if (!Buffer.isBuffer(subject)) {
throw new TypeError('First argument must be a Buffer when slicing');
}

this.length = +encoding > 0 ? Math.ceil(encoding) : 0;
this.parent = subject.parent ? subject.parent : subject;
this.offset = offset;

} else {

@AaronWerner
Copy link

Might need to update node version to newer version.

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

Successfully merging this pull request may close these issues.

3 participants