Giter Club home page Giter Club logo

unified-node-open-mining-portal's Introduction

Build Status

Unified NOMP

This repo will serve as an open source multipool. Multipool capabilities are in alpha testing in this version. This will give the ability to utilize NOMP with merged capabilities but NO merged coin payouts. ONLY the main chain coins will payout and calculate correctly at the moment.

This portal is an extremely efficient, highly scalable, all-in-one, easy to setup cryptocurrency mining pool written in Node.js. It contains a merged stratum pool server; reward/payment/share processor for multipooling; and an (in progress) responsive user-friendly front-end website featuring mining instructions, in-depth live statistics, and an admin center.

A custom setup can be purchased at: https://www.fiverr.com/ahmedbodi/setup-a-cryptocurrency-mining-pool

Production Usage Notice - Do it with caution!

This is beta software. All of the following are things that can change and break an existing setup: functionality of any feature, structure of configuration files and structure of redis data. If you use this software in production then DO NOT pull new code straight into production usage because it can and often will break your setup and require you to tweak things like config files or redis data, among other things.

Table of Contents

Features

  • For the pool server it uses the highly efficient node-merged-pool module which supports vardiff, POW & POS, transaction messages, anti-DDoS, IP banning, several hashing algorithms.

  • This implementation is merged mining capable. You may add AUXPoW coins to the main chain configurations. At this point, the merged coins do everything EXCEPT display on the site or payout automatically. Shares, blocks, and coinbase transactions complete as planned.

  • Multicoin ability - this software was built from the ground up to run with multiple coins simultaneously (which can have different properties and hashing algorithms). It can be used to create a pool for a single coin or for multiple coins at once. The pools use clustering to load balance across multiple CPU cores.

  • For reward/payment processing, shares are inserted into Redis (a fast NoSQL key/value store). The PROP (proportional) reward system is used with Redis Transactions for secure and super speedy payouts. There is zero risk to the pool operator. Shares from rounds resulting in orphaned blocks will be merged into share in the current round so that each and every share will be rewarded.

  • This portal does not will never have user accounts/logins/registrations. Instead, miners simply use their coin address for stratum authentication.

  • Coin-switching ports using coin-networks and crypto-exchange APIs to detect profitability.

  • Past MPOS functionality is no longer maintained, althought it is working for now.

  • Basic multipooling features included, but NOT enabled by default. You must follow the README in the multipool folder. More updates WILL happen in the multipool options and will stay open source.

Attack Mitigation

  • Detects and thwarts socket flooding (garbage data sent over socket in order to consume system resources).
  • Detects and thwarts zombie miners (botnet infected computers connecting to your server to use up sockets but not sending any shares).
  • Detects and thwarts invalid share attacks:
    • UNOMP is not vulnerable to the low difficulty share exploits happening to other pool servers. Other pool server software has hardcoded guesstimated max difficulties for new hashing algorithms while UNOMP dynamically generates the max difficulty for each algorithm based on values founds in coin source code.
    • IP banning feature which on a configurable threshold will ban an IP for a configurable amount of time if the miner submits over a configurable threshold of invalid shares.
  • UNOMP is written in Node.js which uses a single thread (async) to handle connections rather than the overhead of one thread per connection, and clustering is also implemented so all CPU cores are taken advantage of. Result? Fastest stratum available.

Security

UNOMP has some implicit security advantages for pool operators and miners:

  • Without a registration/login system, non-security-oriented miners reusing passwords across pools is no longer a concern.
  • Automated payouts by default and pool profits are sent to another address so pool wallets aren't plump with coins - giving hackers little reward and keeping your pool from being a target.
  • Miners can notice lack of automated payments as a possible early warning sign that an operator is about to run off with their coins.

Planned Features

  • UNOMP API - Used by the website to display stats and information about the pool(s) on the portal's front-end website. Mostly complete.

  • Integration of addie.cc usernames for multiple payout type without using a public address that may/may not work with the coin (still not 100% committed yet, see Feature #7)

  • Upgrade codebase to operate in node v 0.12. Multi-hashing module is still throwing fits.

Usage

Requirements

  • Coin daemon(s) (find the coin's repo and build latest version from source)
  • Install node.js (correct procedure below)
  • Install npm (correct procedure below)
  • Redis key-value store v2.6+ (follow these instructions)

OPTIONAL: sudo npm install posix, but you will have to start the pool sudo node init.js

Seriously

Those are legitimate requirements. If you use old versions of Node.js or Redis that may come with your system package manager then you will have problems. Follow the linked instructions to get the last stable versions.

Redis security warning: be sure firewall access to redis - an easy way is to include bind 127.0.0.1 in your redis.conf file. Also it's a good idea to learn about and understand software that you are using - a good place to start with redis is data persistence.

Redis server may require a password, this is done using the requirepass directive in the redis configuration file. By default config.json contains blank "" - means disabled redis auth, to set any password just put "redispass" in quotes.

0) Setting up coin daemon

Follow the build/install instructions for your coin daemon. Your coin.conf file should end up looking something like this:

daemon=1
rpcuser=litecoinrpc
rpcpassword=securepassword
rpcport=19332

For redundancy, its recommended to have at least two daemon instances running in case one drops out-of-sync or offline, all instances will be polled for block/transaction updates and be used for submitting blocks. Creating a backup daemon involves spawning a daemon using the -datadir=/backup command-line argument which creates a new daemon instance with it's own config directory and coin.conf file. Learn about the daemon, how to use it and how it works if you want to be a good pool operator. For starters be sure to read:

1) Downloading & Installing

Clone the repository and run npm update for all the dependencies to be installed:

sudo apt-get install build-essential libssl-dev npm nodejs nodejs-legacy
curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh
source ~/.profile
nvm install 0.10.25
nvm use 0.10.25
git clone https://github.com/UNOMP/unified-node-open-mining-portal.git unomp
cd unomp
npm update

2) Configuration

Portal config

Inside the config_example.json file, ensure the default configuration will work for your environment, then copy the file to config.json.

Explanation for each field:

{
    /* Specifies the level of log output verbosity. Anything more severe than the level specified
       will also be logged. */
    "logLevel": "debug", //or "warning", "error"
    
    /* By default UNOMP logs to console and gives pretty colors. If you direct that output to a
       log file then disable this feature to avoid nasty characters in your log file. */
    "logColors": true, 


    /* The UNOMP CLI (command-line interface) will listen for commands on this port. For example,
       blocknotify messages are sent to UNOMP through this. */
    "cliPort": 17117,

    /* By default 'forks' is set to "auto" which will spawn one process/fork/worker for each CPU
       core in your system. Each of these workers will run a separate instance of your pool(s),
       and the kernel will load balance miners using these forks. Optionally, the 'forks' field
       can be a number for how many forks will be spawned. */
    "clustering": {
        "enabled": true,
        "forks": "auto"
    },
    
    /* Pool config file will inherit these default values if they are not set. */
    "defaultPoolConfigs": {
    
        /* Poll RPC daemons for new blocks every this many milliseconds. */
        "blockRefreshInterval": 1000,
        
        /* If no new blocks are available for this many seconds update and rebroadcast job. */
        "jobRebroadcastTimeout": 55,
        
        /* Disconnect workers that haven't submitted shares for this many seconds. */
        "connectionTimeout": 600,
        
        /* (For MPOS mode) Store the block hashes for shares that aren't block candidates. */
        "emitInvalidBlockHashes": false,
        
        /* This option will only authenticate miners using an address or mining key. */
        "validateWorkerUsername": true,
        
        /* Enable for client IP addresses to be detected when using a load balancer with TCP
           proxy protocol enabled, such as HAProxy with 'send-proxy' param:
           http://haproxy.1wt.eu/download/1.5/doc/configuration.txt */
        "tcpProxyProtocol": false,
        
        /* If under low-diff share attack we can ban their IP to reduce system/network load. If
           running behind HAProxy be sure to enable 'tcpProxyProtocol', otherwise you'll end up
           banning your own IP address (and therefore all workers). */
        "banning": {
            "enabled": true,
            "time": 600, //How many seconds to ban worker for
            "invalidPercent": 50, //What percent of invalid shares triggers ban
            "checkThreshold": 500, //Perform check when this many shares have been submitted
            "purgeInterval": 300 //Every this many seconds clear out the list of old bans
        },
        
        /* Used for storing share and block submission data and payment processing. */
        "redis": {
            "host": "127.0.0.1",
            "port": 6379,
            "db": 0, /* redis db select, usefull for multi-node cluster replicas */
	    "password": ""  /* "" - no password, or any non blank "redispassword" to enable it */
        }
    },

    /* This is the front-end. Its not finished. When it is finished, this comment will say so. */
    "website": {
        "enabled": true,
        /* If you are using a reverse-proxy like nginx to display the website then set this to
           127.0.0.1 to not expose the port. */
        "host": "0.0.0.0",
        /* Title you want for your site. */
        "siteTitle": "UNOMP Beta",
        "port": 8080,
        /* Used for displaying stratum connection data on the Getting Started page. */
        "stratumHost": "pool.unomp.org",
        "stats": {
            /* Gather stats to broadcast to page viewers and store in redis for historical stats
               every this many seconds. */
            "updateInterval": 15,
            /* How many seconds to hold onto historical stats. Currently set to 24 hours. */
            "historicalRetention": 43200,
            /* How many seconds worth of shares should be gathered to generate hashrate. */
            "hashrateWindow": 300
        },
        /* Not done yet. */
        "adminCenter": {
            "enabled": true,
            "password": "password"
        }
    },

    /* Redis instance of where to store global portal data such as historical stats, proxy states,
       ect.. */
    "redis": {
        "host": "127.0.0.1",
        "port": 6379,
        "db": 0, /* redis db select, usefull for multi-node cluster replicas */
        "password": ""  /* similar "" - no password, or any non blank  "redispassword" to enable it */
    },


    /* With this switching configuration, you can setup ports that accept miners for work based on
       a specific algorithm instead of a specific coin. Miners that connect to these ports are
       automatically switched a coin determined by the server. The default coin is the first
       configured pool for each algorithm and coin switching can be triggered using the
       cli.js script in the scripts folder.  */
       
    "switching": {
        "switch1": {
            "enabled": false,
            "algorithm": "sha256",
            "ports": {
                "3333": {
                    "diff": 10,
                    "varDiff": {
                        "minDiff": 16,
                        "maxDiff": 512,
                        "targetTime": 15,
                        "retargetTime": 90,
                        "variancePercent": 30
                    }
                }
            }
        },
        "switch2": {
            "enabled": false,
            "algorithm": "scrypt",
            "ports": {
                "4444": {
                    "diff": 10,
                    "varDiff": {
                        "minDiff": 16,
                        "maxDiff": 512,
                        "targetTime": 15,
                        "retargetTime": 90,
                        "variancePercent": 30
                    }
                }
            }
        },
        "switch3": {
            "enabled": false,
            "algorithm": "x11",
            "ports": {
                "5555": {
                    "diff": 0.001
                }
            }
        }
    },

    "profitSwitch": {
        "enabled": false,
        "updateInterval": 600,
        "depth": 0.90,
        "usePoloniex": true,
        "useBittrex": true
    }
}
Coin config

Inside the coins directory, ensure a json file exists for your coin. If it does not you will have to create it. Here is an example of the required fields:

{
    "name": "Litecoin",
    "symbol": "LTC",
    "algorithm": "scrypt",

    /* Magic value only required for setting up p2p block notifications. It is found in the daemon
       source code as the pchMessageStart variable.
       For example, litecoin mainnet magic: http://git.io/Bi8YFw
       And for litecoin testnet magic: http://git.io/NXBYJA */
    "peerMagic": "fbc0b6db", //optional
    "peerMagicTestnet": "fcc1b7dc" //optional

    //"txMessages": false, //options - defaults to false

    //"mposDiffMultiplier": 256, //options - only for x11 coins in mpos mode
}

For additional documentation how to configure coins and their different algorithms see these instructions.

Pool config

Take a look at the example json file inside the pool_configs directory. Rename it to yourcoin.json and change the example fields to fit your setup.

Description of options:

{
    "enabled": true, //Set this to false and a pool will not be created from this config file
    "coin": "litecoin.json", //Reference to coin config file in 'coins' directory
    "auxes": [
        {
            "coin": "viacoin.json",
            "daemons": [
                {
                    "host": "127.0.0.1",
                    "port": 4001,
                    "user": "user",
                    "password": "password"
                }
            ]
        }
    ],
    "address": "mi4iBXbBsydtcc5yFmsff2zCFVX4XG7qJc", //Address to where block rewards are given

    /* Block rewards go to the configured pool wallet address to later be paid out to miners,
       except for a percentage that can go to, for examples, pool operator(s) as pool fees or
       or to donations address. Addresses or hashed public keys can be used. Here is an example
       of rewards going to the main pool op and a pool co-owner. Can also be set for mandatory 
       donation coins like GRE and DMD. */
    "rewardRecipients": {
        "n37vuNFkXfk15uFnGoVyHZ6PYQxppD3QqK": 1.5, //1.5% goes to pool op
        "mirj3LtZxbSTharhtXvotqtJXUY7ki5qfx": 0.5 //0.5% goes to a pool co-owner
    },

    "paymentProcessing": {
        "enabled": true,

        /* Every this many seconds get submitted blocks from redis, use daemon RPC to check
           their confirmation status, if confirmed then get shares from redis that contributed
           to block and send out payments. */
        "paymentInterval": 30,

        /* Minimum number of coins that a miner must earn before sending payment. Typically,
           a higher minimum means less transactions fees (you profit more) but miners see
           payments less frequently (they dislike). Opposite for a lower minimum payment. */
        "minimumPayment": 0.01,

        /* This daemon is used to send out payments. It MUST be for the daemon that owns the
           configured 'address' that receives the block rewards, otherwise the daemon will not
           be able to confirm blocks or send out payments. */
        "daemon": {
            "host": "127.0.0.1",
            "port": 4000,
            "user": "testuser",
            "password": "testpass"
        }
    },

    /* Each pool can have as many ports for your miners to connect to as you wish. Each port can
       be configured to use its own pool difficulty and variable difficulty settings. varDiff is
       optional and will only be used for the ports you configure it for. */
    "ports": {
        "3032": { //A port for your miners to connect to
            "diff": 32, //the pool difficulty for this port

            /* Variable difficulty is a feature that will automatically adjust difficulty for
               individual miners based on their hashrate in order to lower networking overhead */
            "varDiff": {
                "minDiff": 8, //Minimum difficulty
                "maxDiff": 512, //Network difficulty will be used if it is lower than this
                "targetTime": 15, //Try to get 1 share per this many seconds
                "retargetTime": 90, //Check to see if we should retarget every this many seconds
                "variancePercent": 30 //Allow time to very this % from target without retargeting
            }
        },
        "3256": { //Another port for your miners to connect to, this port does not use varDiff
            "diff": 256 //The pool difficulty
        }
    },

    /* More than one daemon instances can be setup in case one drops out-of-sync or dies. */
    "daemons": [
        {   //Main daemon instance
            "host": "127.0.0.1",
            "port": 4000,
            "user": "testuser",
            "password": "testpass"
        }
    ],

    /* This allows the pool to connect to the daemon as a node peer to receive block updates.
       It may be the most efficient way to get block updates (faster than polling, less
       intensive than blocknotify script). It requires the additional field "peerMagic" in
       the coin config. */
    "p2p": {
        "enabled": false,

        /* Host for daemon */
        "host": "127.0.0.1",

        /* Port configured for daemon (this is the actual peer port not RPC port) */
        "port": 19333,

        /* If your coin daemon is new enough (i.e. not a shitcoin) then it will support a p2p
           feature that prevents the daemon from spamming our peer node with unnecessary
           transaction data. Assume its supported but if you have problems try disabling it. */
        "disableTransactions": true
    }
}

You can create as many of these pool config files as you want (such as one pool per coin you which to operate). If you are creating multiple pools, ensure that they have unique stratum ports.

For more information on these configuration options see the pool module documentation

[Optional, recommended] Setting up blocknotify
  1. In config.json set the port and password for blockNotifyListener
  2. In your daemon conf file set the blocknotify command to use:
node [path to cli.js] [coin name in config] [block hash symbol]

Example: inside dogecoin.conf add the line

blocknotify=node /home/unomp/scripts/cli.js blocknotify dogecoin %s

Alternatively, you can use a more efficient block notify script written in pure C. Build and usage instructions are commented in scripts/blocknotify.c.

3) Start the portal

node init.js
Optional, highly-recommended enhancements for your awesome new mining pool server setup:
  • Use something like forever or ndt to keep the node script running in case the master process crashes.
  • Use something like redis-commander to have a nice GUI for exploring your redis database.
  • Use something like logrotator to rotate log output from UNOMP.
  • Use New Relic to monitor your UNOMP instance and server performance.

Upgrading

When updating UNOMP to the latest code its important to not only git pull the latest from this repo, but to also update the merged-pooler and node-multi-hashing modules, and any config files that may have been changed.

  • Inside your UNOMP directory (where the init.js script is) do git pull to get the latest UNOMP code.
  • Remove the dependenices by deleting the node_modules directory with rm -r node_modules.
  • Run npm update to force updating/reinstalling of the dependencies.
  • Compare your config.json and pool_configs/coin.json configurations to the latest example ones in this repo or the ones in the setup instructions where each config field is explained. You may need to modify or add any new changes.

Donations

Below is my donation address. The original credits are listed here because I felt scammy if I totally removed them. They no longer are supporting the current development effort. Please donate to:

  • BTC: 19svwpxWAhD4zsfeEnnxExZgnQ46A3mrt3

Donors (email me to be added):

License

Released under the GNU General Public License v2

http://www.gnu.org/licenses/gpl-2.0.html

unified-node-open-mining-portal's People

Contributors

ahmedbodi avatar argakiig avatar bitcoinland avatar bluecircle avatar btcdrak avatar cyberpay avatar damianblack avatar ddfault avatar digitalholdings avatar elbandi avatar elitemobb79 avatar iangcarroll avatar infernoman avatar katxi avatar mculp avatar moxnatiy avatar nicoschtein avatar nullivex avatar ob1100 avatar ondalf avatar pcperfect avatar sigwo avatar sweetjustice avatar sysmanalex avatar thenicholasnick avatar thrassos avatar vekexasia avatar whyyk7 avatar zacons avatar zone117x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unified-node-open-mining-portal's Issues

Merged pool

Hi,
thanks, for your works for mining community .. :)
At first, ... I try to create merged pool LTC (pri) > DOGE, VIA (sec). I found LTC block, but still nothing for sec coins.
At second, ... In screen log I have this line:
Pool litecoin Thread 1 added updating work for auxillary chains [object Object],[object Object]..
I have only "Object" for aux ... It's OK or is it bug ...

Thanks for help.
Michal

P2Pool Integration

Hello,
I have a problem/question regarding the integration of P2Pool in unomp. I was searching for something like a (u)nomp Forum, but could not fine one. If there exists something please let me know.

Problem:
I set up unomp and it is working fine when mining coins "alone".
But since LTC/BTC diff is quite high I would prefer an integration into the P2Pool network so that there are payouts from time to time. So I set a peerMagic value for Litecoins in coins/litecoin.json and activated the "p2p" Option in pool_configs/litecoin.json. I also added some auxilleries there for merge mining.

The Pool claims to be connected to P2P network and also shows "Pool litecoin Thread 1 getting block notification via p2p" from time to time. But for some reason (which I do not understand) there is no payout (not even on the merged coins). Looking at other P2Pool Servers like http://194.97.156.59:9327/static/ I can see that blocks have been solved by the pool, so normally there should have been some kind of payout.

I am a bit confused and actually I think that I have mixed up something, not really sure that it is a bug.
Maybe someone could push me into the right direction?
(Does anyone know where to find the "peerMagic" value to activate p2p for bitcoin?)

Question about payment.sh

you say at the top replace OPAL with Target and redis-cli with redis-cli.

i say an example i replace OPAL with LTC or (lite)coin for example.

also what do you mean with that (replare redis-cli with redis-cli)

i am asking couse i hav tried everything and i get errors

like this one

External host addres not working

Hello, im having a small issue using your unomp server software. (great work on this and nomp by the way) I seem to be getting an error any time i set any web address (ip or domain) besides a local address. i can use localhost, 127.0.0.1 and 192.168.0.anything but am unable to connect to my registered domain name. Now i realize this is an i-d-10-t issue on my part, however im a little vexed as i have been able to always get it working with a nomp/mpos combo. (this is my first pure nomp/unomp setup). the error i receive is EADDRNOTAVAIL.

Dependency missing in Package.json (POSIX)

I just installed uNOMP, looks nice, but I had a dependency problem, POSIX was not in the package.json.

I added "posix": "*", to the package.json on cloned copy on my server to fix this. and ran npm install again.

Just though you ought to know :-)

Cryptcollector

the newest code has some issue when build pool

ok, let me told you ,
i git clone the newest code ,npm update, and make my config for my pool,and coins
then type node init.js

module.js:340
throw err;
^
Error: Cannot find module 'newrelic'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/root/unomp/init.js:1:63)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)

OK, i npm install newrelic ,then type node init.js

/root/unomp/node_modules/newrelic/lib/config.js:218
throw new Error(
^
Error: Unable to find New Relic module configuration. A default
configuration file can be copied from /root/unomp/node_modules/newrelic/lib/config.default.js
and put at /root/unomp/newrelic.js.
at _failHard (/root/unomp/node_modules/newrelic/lib/config.js:218:9)
at Function.initialize (/root/unomp/node_modules/newrelic/lib/config.js:926:25)
at Object. (/root/unomp/node_modules/newrelic/lib/logger.js:18:37)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/root/unomp/node_modules/newrelic/index.js:3:14)

OK, i signup newrelic.com ,and get my app key, put then in /root/unomp/newrelic.js
then type node init.js

root@iZ23f56a10sZ:/unomp# node init.js
/root/unomp/node_modules/merged-pooler/lib/algoProperties.js:223
C11:{
^^^
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.cls_wrapMethod as _load
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/root/unomp/node_modules/merged-pooler/lib/index.js:5:1)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
root@iZ23f56a10sZ:
/unomp# vi /root/unomp/node_modules/merged-pooler/lib/algoProperties.js

OK, i modfiy /root/unomp/node_modules/merged-pooler/lib/algoProperties.js add // like this
// C11:{
// hash: function(){
// return function(){
// return multiHashing.c11.apply(this, arguments);
// }
// }
// }

type node init.js, ok,look like run it successfully,GOD BLESS ME
OK,
i let my miner point to my pools ,

root@iZ23f56a10sZ:~/unomp# node init.js
[2015-07-04 13:53:01.840] [INFO] [default] - New Relic
[2015-07-04 13:53:01.842] [DEBUG] [default] - NewRelic Monitor New Relic initiated
[2015-07-04 13:53:01.844] [INFO] [default] - POSIX Not Installed
[2015-07-04 13:53:01.845] [DEBUG] [default] - POSIX Connection Limit (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
[2015-07-04 13:53:01.845] [INFO] [default] - Run Workers
[2015-07-04 13:53:02.106] [DEBUG] [default] - Master PoolSpawner Spawned 1 pool(s) on 1 thread(s)
[2015-07-04 13:53:02.964] [INFO] [default] - New Relic
[2015-07-04 13:53:02.968] [INFO] [default] - POSIX Not Installed
[2015-07-04 13:53:02.969] [INFO] [default] - Run Workers
[2015-07-04 13:53:02.979] [INFO] [default] - Switching Setup Thread 1 Loading last proxy state from redis
[2015-07-04 13:53:02.991] [DEBUG] [default] - Pool jbcoin Thread 1 Share processing setup with redis (127.0.0.1:6379)
[2015-07-04 13:53:03.046] [DEBUG] [default] - Pool jbcoin Thread 1 No rewardRecipients have been setup which means no fees will be taken
[2015-07-04 13:53:03.062] [DEBUG] [default] - Pool jbcoin Thread 1 started for jbcoin [JBC] {scrypt-jane}
Network Connected: Mainnet
Detected Reward Type: POS
Current Block Height: 909443
Current Connect Peers: 7
Current Block Diff: 161.383645184
Network Difficulty: 161.18054912
Network Hash Rate: 155.37 KH
Stratum Port(s): 3344
Pool Fee Percent: 0%
Block polling every: 1000 ms
[2015-07-04 13:53:03.065] [DEBUG] [default] - Switching Setup scrypt-jane Setting proxy difficulties after pool start
[2015-07-04 13:53:11.855] [DEBUG] [default] - Master CLI CLI listening on port 17117
[2015-07-04 13:53:12.686] [INFO] [default] - New Relic
[2015-07-04 13:53:12.691] [INFO] [default] - POSIX Not Installed
[2015-07-04 13:53:12.692] [INFO] [default] - Run Workers
[2015-07-04 13:53:12.763] [DEBUG] [default] - Website Server Website started on 0.0.0.0:80
[2015-07-04 13:53:32.808] [DEBUG] [default] - Pool jbcoin Thread 1 Authorized yadan87.101:101 [115.212.123.81]
/root/.nvm/v0.10.25/bin/node: symbol lookup error: /root/unomp/node_modules/merged-pooler/node_modules/multi-hashing/build/Release/multihashing.node: undefined symbol: GetNfactorJane
[2015-07-04 13:53:43.820] [ERROR] [default] - Master PoolSpawner Fork 0 died, spawning replacement worker...

then i did't know how to resolve this issuse.....
i am mining scrypt-jane coin , can anybody help me?

init.js and multi-hash module

Got this error at run:
module.js:340
throw err;
^
Error: Cannot find module 'multi-hashing'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object. (/home/webserver1/unomp/node_modules/merged-pooler/lib/algoProperties.js:2:20)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)

When npm update is run and dependencies are installed, it seems the multi-hashing folder is built and named "unomp-multi-hashing"; renaming the folder to "multi-hashing" cleared this up. The folder is located

~/unomp/node_modules/merged-pooler/node_modules.

Next I got this error:
/home/webserver1/unomp/init.js:139
for (var i=0; i < poolOptions.auxes.length; i++){
^
TypeError: Cannot read property 'length' of undefined
at /home/webserver1/unomp/init.js:139:42
at Array.forEach (native)
at buildPoolConfigs (/home/webserver1/unomp/init.js:135:21)
at init (/home/webserver1/unomp/init.js:526:19)
at Object. (/home/webserver1/unomp/init.js:542:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)

I had to go into init.js and comment out the block from line 139-154 for the server to start properly. I have removed the "auxes" section from my pool configurations, and that seems to be the root of the error.

support for Ethereum

Hi,
Ethereum seems to be doing well, and I think it has some real potential, I am curious about how much work is needed to make UNOMP Ethereum compatible...

I saw a few MPOS pools out there with ethereum support, I would like to know if there is any open source code out there for Ethereum pool mining, if not, how much work is needed to make a UNOMP work for ethereum?

MPOS pools with Ethereum support:
https://eth.suprnova.cc/index.php
https://www2.coinmine.pl/eth/

Join the discussion https://bitcointalk.org/index.php?topic=1169282.0

Aux Coin in coin.json poolconfigs

Hi,

Was just wondering if there is a way to just run without the merged mining for a particular coin, (yes daft question)....

I thought that you could just omit the Aux section in the coin json pool file but this does not seem to be the case, is there a way to tell uNOMP to just run in ordinary NOMP mode for a coin pool? ie: a setting for Aux like True/False, or a Merge True/False option?

Regards
Cryptcollector

Coin logos

is it possible to put coin logos for eatch coin for better grafical interface for users ?

just telling some ideas :D

Error Running for the first time

I have setup a coin and configured unomp. (already have a working nomp on same server).

when starting I get:

/home/uNOMP/node_modules/merged-pooler/lib/jobManager.js:123
var pos = util.getAuxMerklePosition(auxData[i].chainid, size);
^
TypeError: Cannot read property 'chainid' of undefined
at buildMerkleTree (/home/uNOMP/node_modules/merged-pooler/lib/jobManager.js:123:63)
at JobManager.processTemplate (/home/uNOMP/node_modules/merged-pooler/lib/jobManager.js:187:29)
at /home/uNOMP/node_modules/merged-pooler/lib/pool.js:696:69
at itemFinished (/home/uNOMP/node_modules/merged-pooler/lib/daemon.js:156:36)
at /home/uNOMP/node_modules/merged-pooler/lib/daemon.js:169:17
at parseJson (/home/uNOMP/node_modules/merged-pooler/lib/daemon.js:85:17)
at IncomingMessage. (/home/uNOMP/node_modules/merged-pooler/lib/daemon.js:95:17)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)

So I run below and get the resulting error

/home/uNOMP# npm install chainid
npm ERR! 404 404 Not Found: chainid
npm ERR! 404
npm ERR! 404 'chainid' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'unified-node-open-mining-portal'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.

npm ERR! System Linux 3.14.32-xxxx-grs-ipv6-64
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install" "chainid"
npm ERR! cwd /home/uNOMP
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/uNOMP/npm-debug.log
npm ERR! not ok code 0

Folder Website

Hi all
Sorry for my bad English, I'm French

I'm tired , spent all the day on the issue...and not yet fixed.
I was able to put in place a mining pool with MPOS
And I would like to test now UNOMP.

Could you please help me ?

I don't know how to fix this issue.

I guess it's an issue with wrong right or website file on a wrong folder.

Sure, some knowledge are missing for me.....but I'm here to learn. So do not hesitate to reply with basic information....

Maybe with my link, you could find the big mistake I done : http://thefrenchpoule.fr.nf

Many thanks in advance

Spider07

blake algo not working

I tried to use unomp and blake algo...
All share are rejected (low difficulty)

With same coin and pool config, it works with "standard" nomp.

I need to use unomp for merge this coin...

Multi algo coins [$20]

Currently using a multi algo coin. if trying to use more than one algo, the coin will only check the profit for the last algo.
line 536 of profitswitch.js
this.getCoindDaemonInfo = function(callback){
when echoing coinName everything returns properly. digibyte and digibyte scrypt both appear.
but on line 561 in
this.getDaemonInfoForCoin = function(symbol, cfg, callback){
the coinName is being duplicated. and it is not being entered correctly into the array.
the commands are being processed properly because it is showing the difficulty for both scrypt and sha256. but the values are not being entered into the array properly
in the pastebin below you can see the issue.
http://pastebin.com/bugQgxjT


There is a $20 open bounty on this issue. Add to the bounty at Bountysource.

cant install, trouble with multihashing

Hi.
Making clean install, it falls in errors:
[email protected] node_modules/compression
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected])
make: Entering directory /home/nompuser/unomp/node_modules/bignum/build' CXX(target) Release/obj.target/bignum/bignum.o [email protected] node_modules/dateformat ├── [email protected] └── [email protected] ([email protected], [email protected], [email protected], [email protected]) SOLINK_MODULE(target) Release/obj.target/bignum.node SOLINK_MODULE(target) Release/obj.target/bignum.node: Finished COPY Release/bignum.node make: Leaving directory/home/nompuser/unomp/node_modules/bignum/build'
npm WARN unmet dependency /home/nompuser/unomp/node_modules/log4js requires async@'~0.2.0' but will load
npm WARN unmet dependency /home/nompuser/unomp/node_modules/async,
npm WARN unmet dependency which is version 1.2.1
npm WARN unmet dependency /home/nompuser/unomp/node_modules/log4js requires async@'~0.2.0' but will load
npm WARN unmet dependency /home/nompuser/unomp/node_modules/async,
npm WARN unmet dependency which is version 1.2.1
npm WARN unmet dependency /home/nompuser/unomp/node_modules/log4js requires async@'~0.2.0' but will load
npm WARN unmet dependency /home/nompuser/unomp/node_modules/async,
npm WARN unmet dependency which is version 1.2.1
[email protected] node_modules/body-parser
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected]
npm WARN unmet dependency /home/nompuser/unomp/node_modules/log4js requires async@'~0.2.0' but will load
npm WARN unmet dependency /home/nompuser/unomp/node_modules/async,
npm WARN unmet dependency which is version 1.2.1
[email protected] node_modules/async
npm WARN unmet dependency /home/nompuser/unomp/node_modules/log4js requires async@'~0.2.0' but will load
npm WARN unmet dependency /home/nompuser/unomp/node_modules/async,
npm WARN unmet dependency which is version 1.2.1
[email protected] node_modules/express
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected])
npm WARN unmet dependency /home/nompuser/unomp/node_modules/log4js requires async@'~0.2.0' but will load
npm WARN unmet dependency /home/nompuser/unomp/node_modules/async,
npm WARN unmet dependency which is version 1.2.1
[email protected] node_modules/bignum
└── [email protected]
npm WARN unmet dependency /home/nompuser/unomp/node_modules/log4js requires async@'~0.2.0' but will load
npm WARN unmet dependency /home/nompuser/unomp/node_modules/async,
npm WARN unmet dependency which is version 1.2.1
[email protected] node_modules/mysql
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
└── [email protected]
npm WARN unmet dependency /home/nompuser/unomp/node_modules/log4js requires async@'~0.2.0' but will load
npm WARN unmet dependency /home/nompuser/unomp/node_modules/async,
npm WARN unmet dependency which is version 1.2.1
[email protected] node_modules/request
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
[email protected] node_modules/log4js
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
/

[email protected] install /home/nompuser/unomp/node_modules/merged-pooler/node_modules/bignum
node-gyp configure build

make: Entering directory /home/nompuser/unomp/node_modules/merged-pooler/node_modules/bignum/build' CXX(target) Release/obj.target/bignum/bignum.o SOLINK_MODULE(target) Release/obj.target/bignum.node SOLINK_MODULE(target) Release/obj.target/bignum.node: Finished COPY Release/bignum.node make: Leaving directory/home/nompuser/unomp/node_modules/merged-pooler/node_modules/bignum/build'

[email protected] install /home/nompuser/unomp/node_modules/merged-pooler/node_modules/multi-hashing
node-gyp rebuild

make: Entering directory /home/nompuser/unomp/node_modules/merged-pooler/node_modules/multi-hashing/build' CXX(target) Release/obj.target/multihashing/multihashing.o ../multihashing.cc: In function ‘v8::Handle<v8::Value> except(const char*)’: ../multihashing.cc:42:44: error: ‘New’ is not a member of ‘v8::String’ return ThrowException(Exception::Error(String::New(msg))); ^ ../multihashing.cc:42:61: error: ‘ThrowException’ was not declared in this scope return ThrowException(Exception::Error(String::New(msg))); ^ ../multihashing.cc: At global scope: ../multihashing.cc:45:27: error: ‘Arguments’ does not name a type Handle<Value> quark(const Arguments& args) { ^ ../multihashing.cc:45:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> quark(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> quark(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:46:17: error: within this context HandleScope scope; ^ ../multihashing.cc:48:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:51:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:63:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:63:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:64:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:67:25: error: ‘Arguments’ does not name a type Handle<Value> x11(const Arguments& args) { ^ ../multihashing.cc:67:36: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> x11(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> x11(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:68:17: error: within this context HandleScope scope; ^ ../multihashing.cc:70:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:73:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:85:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:85:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:86:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:89:24: error: ‘Arguments’ does not name a type Handle<Value> x5(const Arguments& args) { ^ ../multihashing.cc:89:35: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> x5(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> x5(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:90:17: error: within this context HandleScope scope; ^ ../multihashing.cc:92:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:95:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:107:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:107:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:108:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:111:28: error: ‘Arguments’ does not name a type Handle<Value> scrypt(const Arguments& args) { ^ ../multihashing.cc:111:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> scrypt(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> scrypt(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:112:16: error: within this context HandleScope scope; ^ ../multihashing.cc:114:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 3) ^ ../multihashing.cc:117:33: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:122:31: error: invalid types ‘const int[int]’ for array subscript Local<Number> numn = args[1]->ToNumber(); ^ ../multihashing.cc:124:31: error: invalid types ‘const int[int]’ for array subscript Local<Number> numr = args[2]->ToNumber(); ^ ../multihashing.cc:134:10: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:134:12: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:135:17: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:138:36: error: ‘Arguments’ does not name a type Handle<Value> neoscrypt_hash(const Arguments& args) { ^ ../multihashing.cc:138:47: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> neoscrypt_hash(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> neoscrypt_hash(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:139:17: error: within this context HandleScope scope; ^ ../multihashing.cc:141:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 2) ^ ../multihashing.cc:144:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:156:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:156:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:157:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc:152:14: warning: unused variable ‘input_len’ [-Wunused-variable] uint32_t input_len = Buffer::Length(target); ^ ../multihashing.cc: At global scope: ../multihashing.cc:161:29: error: ‘Arguments’ does not name a type Handle<Value> scryptn(const Arguments& args) { ^ ../multihashing.cc:161:40: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> scryptn(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> scryptn(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:162:16: error: within this context HandleScope scope; ^ ../multihashing.cc:164:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 2) ^ ../multihashing.cc:167:33: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:172:30: error: invalid types ‘const int[int]’ for array subscript Local<Number> num = args[1]->ToNumber(); ^ ../multihashing.cc:186:10: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:186:12: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:187:17: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:190:32: error: ‘Arguments’ does not name a type Handle<Value> scryptjane(const Arguments& args) { ^ ../multihashing.cc:190:43: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> scryptjane(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> scryptjane(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:191:17: error: within this context HandleScope scope; ^ ../multihashing.cc:193:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 5) ^ ../multihashing.cc:196:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:201:31: error: invalid types ‘const int[int]’ for array subscript Local<Number> num = args[1]->ToNumber(); ^ ../multihashing.cc:204:32: error: invalid types ‘const int[int]’ for array subscript Local<Number> num2 = args[2]->ToNumber(); ^ ../multihashing.cc:207:32: error: invalid types ‘const int[int]’ for array subscript Local<Number> num3 = args[3]->ToNumber(); ^ ../multihashing.cc:210:32: error: invalid types ‘const int[int]’ for array subscript Local<Number> num4 = args[4]->ToNumber(); ^ ../multihashing.cc:220:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:220:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:221:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:224:30: error: ‘Arguments’ does not name a type Handle<Value> yescrypt(const Arguments& args) { ^ ../multihashing.cc:224:41: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> yescrypt(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> yescrypt(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:225:16: error: within this context HandleScope scope; ^ ../multihashing.cc:227:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:230:33: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:242:10: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:242:12: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:243:17: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:246:28: error: ‘Arguments’ does not name a type Handle<Value> keccak(const Arguments& args) { ^ ../multihashing.cc:246:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> keccak(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> keccak(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:247:17: error: within this context HandleScope scope; ^ ../multihashing.cc:249:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:252:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:264:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:264:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:265:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:269:28: error: ‘Arguments’ does not name a type Handle<Value> bcrypt(const Arguments& args) { ^ ../multihashing.cc:269:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> bcrypt(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> bcrypt(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:270:17: error: within this context HandleScope scope; ^ ../multihashing.cc:272:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:275:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:285:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:285:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:286:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:289:27: error: ‘Arguments’ does not name a type Handle<Value> skein(const Arguments& args) { ^ ../multihashing.cc:289:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> skein(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> skein(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:290:17: error: within this context HandleScope scope; ^ ../multihashing.cc:292:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:295:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:307:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:307:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:308:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:312:29: error: ‘Arguments’ does not name a type Handle<Value> groestl(const Arguments& args) { ^ ../multihashing.cc:312:40: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> groestl(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> groestl(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:313:17: error: within this context HandleScope scope; ^ ../multihashing.cc:315:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:318:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:330:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:330:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:331:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:335:35: error: ‘Arguments’ does not name a type Handle<Value> groestlmyriad(const Arguments& args) { ^ ../multihashing.cc:335:46: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> groestlmyriad(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> groestlmyriad(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:336:17: error: within this context HandleScope scope; ^ ../multihashing.cc:338:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:341:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:353:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:353:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:354:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:358:27: error: ‘Arguments’ does not name a type Handle<Value> blake(const Arguments& args) { ^ ../multihashing.cc:358:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> blake(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> blake(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:359:17: error: within this context HandleScope scope; ^ ../multihashing.cc:361:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:364:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:376:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:376:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:377:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:380:28: error: ‘Arguments’ does not name a type Handle<Value> dcrypt(const Arguments& args) { ^ ../multihashing.cc:380:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> dcrypt(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> dcrypt(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:381:17: error: within this context HandleScope scope; ^ ../multihashing.cc:383:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:386:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:398:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:398:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:399:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:402:27: error: ‘Arguments’ does not name a type Handle<Value> fugue(const Arguments& args) { ^ ../multihashing.cc:402:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> fugue(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> fugue(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:403:17: error: within this context HandleScope scope; ^ ../multihashing.cc:405:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:408:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:420:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:420:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:421:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:425:27: error: ‘Arguments’ does not name a type Handle<Value> qubit(const Arguments& args) { ^ ../multihashing.cc:425:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> qubit(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> qubit(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:426:17: error: within this context HandleScope scope; ^ ../multihashing.cc:428:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:431:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:443:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:443:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:444:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:447:24: error: ‘Arguments’ does not name a type Handle<Value> s3(const Arguments& args) { ^ ../multihashing.cc:447:35: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> s3(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> s3(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:448:17: error: within this context HandleScope scope; ^ ../multihashing.cc:450:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:453:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:465:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:465:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:466:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:469:28: error: ‘Arguments’ does not name a type Handle<Value> hefty1(const Arguments& args) { ^ ../multihashing.cc:469:39: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> hefty1(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> hefty1(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:470:17: error: within this context HandleScope scope; ^ ../multihashing.cc:472:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:475:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:487:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:487:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:488:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:492:30: error: ‘Arguments’ does not name a type Handle<Value> shavite3(const Arguments& args) { ^ ../multihashing.cc:492:41: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> shavite3(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> shavite3(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:493:17: error: within this context HandleScope scope; ^ ../multihashing.cc:495:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:498:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:510:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:510:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:511:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:514:33: error: ‘Arguments’ does not name a type Handle<Value> cryptonight(const Arguments& args) { ^ ../multihashing.cc:514:44: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> cryptonight(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> cryptonight(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:515:17: error: within this context HandleScope scope; ^ ../multihashing.cc:519:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:522:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() >= 2) { ^ ../multihashing.cc:523:19: error: invalid types ‘const int[int]’ for array subscript if(!args[1]->IsBoolean()) ^ ../multihashing.cc:525:22: error: invalid types ‘const int[int]’ for array subscript fast = args[1]->ToBoolean()->BooleanValue(); ^ ../multihashing.cc:528:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:543:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:543:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:544:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:547:25: error: ‘Arguments’ does not name a type Handle<Value> x13(const Arguments& args) { ^ ../multihashing.cc:547:36: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> x13(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> x13(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:548:17: error: within this context HandleScope scope; ^ ../multihashing.cc:550:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:553:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:565:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:565:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:566:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:569:25: error: ‘Arguments’ does not name a type Handle<Value> x14(const Arguments& args) { ^ ../multihashing.cc:569:36: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> x14(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> x14(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:570:17: error: within this context HandleScope scope; ^ ../multihashing.cc:572:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:575:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:587:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:587:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:588:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:591:31: error: ‘Arguments’ does not name a type Handle<Value> boolberry(const Arguments& args) { ^ ../multihashing.cc:591:42: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> boolberry(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> boolberry(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:592:17: error: within this context HandleScope scope; ^ ../multihashing.cc:594:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 2) ^ ../multihashing.cc:597:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:598:39: error: invalid types ‘const int[int]’ for array subscript Local<Object> target_spad = args[1]->ToObject(); ^ ../multihashing.cc:607:13: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if(args.Length() >= 3) ^ ../multihashing.cc:608:18: error: invalid types ‘const int[int]’ for array subscript if(args[2]->IsUint32()) ^ ../multihashing.cc:609:28: error: invalid types ‘const int[int]’ for array subscript height = args[2]->ToUint32()->Uint32Value(); ^ ../multihashing.cc:607:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(args.Length() >= 3) ^ ../multihashing.cc:622:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:622:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:623:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:626:27: error: ‘Arguments’ does not name a type Handle<Value> nist5(const Arguments& args) { ^ ../multihashing.cc:626:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> nist5(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> nist5(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:627:17: error: within this context HandleScope scope; ^ ../multihashing.cc:629:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:632:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:644:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:644:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:645:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:648:26: error: ‘Arguments’ does not name a type Handle<Value> sha1(const Arguments& args) { ^ ../multihashing.cc:648:37: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> sha1(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> sha1(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:649:17: error: within this context HandleScope scope; ^ ../multihashing.cc:651:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:654:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:666:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:666:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:667:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:670:25: error: ‘Arguments’ does not name a type Handle<Value> x15(const Arguments& args) { ^ ../multihashing.cc:670:36: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> x15(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> x15(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:671:17: error: within this context HandleScope scope; ^ ../multihashing.cc:673:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:676:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:688:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:688:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:689:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:692:27: error: ‘Arguments’ does not name a type Handle<Value> fresh(const Arguments& args) { ^ ../multihashing.cc:692:38: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> fresh(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> fresh(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:693:17: error: within this context HandleScope scope; ^ ../multihashing.cc:695:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:698:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:710:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:710:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:711:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: At global scope: ../multihashing.cc:714:24: error: ‘Arguments’ does not name a type Handle<Value> jh(const Arguments& args) { ^ ../multihashing.cc:714:35: error: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive] Handle<Value> jh(const Arguments& args) { ^ In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h: In function ‘v8::Handle<v8::Value> jh(const int&)’: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:816:13: error: ‘v8::HandleScope::HandleScope()’ is protected V8_INLINE HandleScope() {} ^ ../multihashing.cc:715:17: error: within this context HandleScope scope; ^ ../multihashing.cc:717:14: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’ if (args.Length() < 1) ^ ../multihashing.cc:720:34: error: invalid types ‘const int[int]’ for array subscript Local<Object> target = args[0]->ToObject(); ^ ../multihashing.cc:732:11: error: expected primary-expression before ‘*’ token Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:732:13: error: ‘buff’ was not declared in this scope Buffer* buff = Buffer::New(output, 32); ^ ../multihashing.cc:733:18: error: ‘class v8::HandleScope’ has no member named ‘Close’ return scope.Close(buff->handle_); ^ ../multihashing.cc: In function ‘void init(v8::Handle<v8::Object>)’: ../multihashing.cc:737:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("quark"), FunctionTemplate::New(quark)->GetFunction()); ^ ../multihashing.cc:737:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("quark"), FunctionTemplate::New(quark)->GetFunction()); ^ ../multihashing.cc:737:73: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:738:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("x11"), FunctionTemplate::New(x11)->GetFunction()); ^ ../multihashing.cc:738:69: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("x11"), FunctionTemplate::New(x11)->GetFunction()); ^ ../multihashing.cc:738:69: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:739:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("scrypt"), FunctionTemplate::New(scrypt)->GetFunction()); ^ ../multihashing.cc:739:75: error: no matching function for call to ‘v8::FunctionTemplate::New(<unresolved overloaded function type>)’ exports->Set(String::NewSymbol("scrypt"), FunctionTemplate::New(scrypt)->GetFunction()); ^ ../multihashing.cc:739:75: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘<unresolved overloaded function type>’ to ‘v8::Isolate*’ ../multihashing.cc:740:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("scryptn"), FunctionTemplate::New(scryptn)->GetFunction()); ^ ../multihashing.cc:740:77: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("scryptn"), FunctionTemplate::New(scryptn)->GetFunction()); ^ ../multihashing.cc:740:77: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:741:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("scryptjane"), FunctionTemplate::New(scryptjane)->GetFunction()); ^ ../multihashing.cc:741:83: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("scryptjane"), FunctionTemplate::New(scryptjane)->GetFunction()); ^ ../multihashing.cc:741:83: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:742:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("yescrypt"), FunctionTemplate::New(yescrypt)->GetFunction()); ^ ../multihashing.cc:742:79: error: no matching function for call to ‘v8::FunctionTemplate::New(<unresolved overloaded function type>)’ exports->Set(String::NewSymbol("yescrypt"), FunctionTemplate::New(yescrypt)->GetFunction()); ^ ../multihashing.cc:742:79: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘<unresolved overloaded function type>’ to ‘v8::Isolate*’ ../multihashing.cc:743:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("keccak"), FunctionTemplate::New(keccak)->GetFunction()); ^ ../multihashing.cc:743:75: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("keccak"), FunctionTemplate::New(keccak)->GetFunction()); ^ ../multihashing.cc:743:75: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:744:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("bcrypt"), FunctionTemplate::New(bcrypt)->GetFunction()); ^ ../multihashing.cc:744:75: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("bcrypt"), FunctionTemplate::New(bcrypt)->GetFunction()); ^ ../multihashing.cc:744:75: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:745:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("skein"), FunctionTemplate::New(skein)->GetFunction()); ^ ../multihashing.cc:745:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("skein"), FunctionTemplate::New(skein)->GetFunction()); ^ ../multihashing.cc:745:73: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:746:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("groestl"), FunctionTemplate::New(groestl)->GetFunction()); ^ ../multihashing.cc:746:77: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("groestl"), FunctionTemplate::New(groestl)->GetFunction()); ^ ../multihashing.cc:746:77: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:747:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("groestlmyriad"), FunctionTemplate::New(groestlmyriad)->GetFunction()); ^ ../multihashing.cc:747:89: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("groestlmyriad"), FunctionTemplate::New(groestlmyriad)->GetFunction()); ^ ../multihashing.cc:747:89: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:748:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("blake"), FunctionTemplate::New(blake)->GetFunction()); ^ ../multihashing.cc:748:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("blake"), FunctionTemplate::New(blake)->GetFunction()); ^ ../multihashing.cc:748:73: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:749:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("fugue"), FunctionTemplate::New(fugue)->GetFunction()); ^ ../multihashing.cc:749:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("fugue"), FunctionTemplate::New(fugue)->GetFunction()); ^ ../multihashing.cc:749:73: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:750:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("qubit"), FunctionTemplate::New(qubit)->GetFunction()); ^ ../multihashing.cc:750:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("qubit"), FunctionTemplate::New(qubit)->GetFunction()); ^ ../multihashing.cc:750:73: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:751:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("hefty1"), FunctionTemplate::New(hefty1)->GetFunction()); ^ ../multihashing.cc:751:75: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("hefty1"), FunctionTemplate::New(hefty1)->GetFunction()); ^ ../multihashing.cc:751:75: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:752:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("shavite3"), FunctionTemplate::New(shavite3)->GetFunction()); ^ ../multihashing.cc:752:79: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("shavite3"), FunctionTemplate::New(shavite3)->GetFunction()); ^ ../multihashing.cc:752:79: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:753:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("cryptonight"), FunctionTemplate::New(cryptonight)->GetFunction()); ^ ../multihashing.cc:753:85: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("cryptonight"), FunctionTemplate::New(cryptonight)->GetFunction()); ^ ../multihashing.cc:753:85: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:754:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("x13"), FunctionTemplate::New(x13)->GetFunction()); ^ ../multihashing.cc:754:69: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("x13"), FunctionTemplate::New(x13)->GetFunction()); ^ ../multihashing.cc:754:69: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:755:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("x14"), FunctionTemplate::New(x14)->GetFunction()); ^ ../multihashing.cc:755:69: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("x14"), FunctionTemplate::New(x14)->GetFunction()); ^ ../multihashing.cc:755:69: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:756:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("boolberry"), FunctionTemplate::New(boolberry)->GetFunction()); ^ ../multihashing.cc:756:81: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("boolberry"), FunctionTemplate::New(boolberry)->GetFunction()); ^ ../multihashing.cc:756:81: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:757:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("nist5"), FunctionTemplate::New(nist5)->GetFunction()); ^ ../multihashing.cc:757:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("nist5"), FunctionTemplate::New(nist5)->GetFunction()); ^ ../multihashing.cc:757:73: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:758:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("sha1"), FunctionTemplate::New(sha1)->GetFunction()); ^ ../multihashing.cc:758:71: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("sha1"), FunctionTemplate::New(sha1)->GetFunction()); ^ ../multihashing.cc:758:71: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:759:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("x15"), FunctionTemplate::New(x15)->GetFunction()); ^ ../multihashing.cc:759:69: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("x15"), FunctionTemplate::New(x15)->GetFunction()); ^ ../multihashing.cc:759:69: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:760:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("fresh"), FunctionTemplate::New(fresh)->GetFunction()); ^ ../multihashing.cc:760:73: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("fresh"), FunctionTemplate::New(fresh)->GetFunction()); ^ ../multihashing.cc:760:73: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:761:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("s3"), FunctionTemplate::New(s3)->GetFunction()); ^ ../multihashing.cc:761:67: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("s3"), FunctionTemplate::New(s3)->GetFunction()); ^ ../multihashing.cc:761:67: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:762:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("neoscrypt"), FunctionTemplate::New(neoscrypt_hash)->GetFunction()); ^ ../multihashing.cc:762:86: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("neoscrypt"), FunctionTemplate::New(neoscrypt_hash)->GetFunction()); ^ ../multihashing.cc:762:86: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:763:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("dcrypt"), FunctionTemplate::New(dcrypt)->GetFunction()); ^ ../multihashing.cc:763:75: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("dcrypt"), FunctionTemplate::New(dcrypt)->GetFunction()); ^ ../multihashing.cc:763:75: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc:764:18: error: ‘NewSymbol’ is not a member of ‘v8::String’ exports->Set(String::NewSymbol("jh"), FunctionTemplate::New(jh)->GetFunction()); ^ ../multihashing.cc:764:67: error: no matching function for call to ‘v8::FunctionTemplate::New(v8::Handle<v8::Value> (&)(const int&))’ exports->Set(String::NewSymbol("jh"), FunctionTemplate::New(jh)->GetFunction()); ^ ../multihashing.cc:764:67: note: candidate is: In file included from /home/nompuser/.node-gyp/0.12.4/src/node.h:61:0, from ../multihashing.cc:1: /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: static v8::Local<v8::FunctionTemplate> v8::FunctionTemplate::New(v8::Isolate*, v8::FunctionCallback, v8::Handle<v8::Value>, v8::Handle<v8::Signature>, int) static Local<FunctionTemplate> New( ^ /home/nompuser/.node-gyp/0.12.4/deps/v8/include/v8.h:3455:34: note: no known conversion for argument 1 from ‘v8::Handle<v8::Value>(const int&)’ to ‘v8::Isolate*’ ../multihashing.cc: In function ‘v8::Handle<v8::Value> except(const char*)’: ../multihashing.cc:43:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> quark(const int&)’: ../multihashing.cc:65:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> x11(const int&)’: ../multihashing.cc:87:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> x5(const int&)’: ../multihashing.cc:109:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> scrypt(const int&)’: ../multihashing.cc:136:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> neoscrypt_hash(const int&)’: ../multihashing.cc:158:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> scryptn(const int&)’: ../multihashing.cc:188:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> scryptjane(const int&)’: ../multihashing.cc:222:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> yescrypt(const int&)’: ../multihashing.cc:244:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> keccak(const int&)’: ../multihashing.cc:266:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> bcrypt(const int&)’: ../multihashing.cc:287:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> skein(const int&)’: ../multihashing.cc:309:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> groestl(const int&)’: ../multihashing.cc:332:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> groestlmyriad(const int&)’: ../multihashing.cc:355:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> blake(const int&)’: ../multihashing.cc:378:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> dcrypt(const int&)’: ../multihashing.cc:400:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> fugue(const int&)’: ../multihashing.cc:422:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> qubit(const int&)’: ../multihashing.cc:445:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> s3(const int&)’: ../multihashing.cc:467:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> hefty1(const int&)’: ../multihashing.cc:489:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> shavite3(const int&)’: ../multihashing.cc:512:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> cryptonight(const int&)’: ../multihashing.cc:545:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> x13(const int&)’: ../multihashing.cc:567:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> x14(const int&)’: ../multihashing.cc:589:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> boolberry(const int&)’: ../multihashing.cc:624:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> nist5(const int&)’: ../multihashing.cc:646:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> sha1(const int&)’: ../multihashing.cc:668:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> x15(const int&)’: ../multihashing.cc:690:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> fresh(const int&)’: ../multihashing.cc:712:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ../multihashing.cc: In function ‘v8::Handle<v8::Value> jh(const int&)’: ../multihashing.cc:734:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [Release/obj.target/multihashing/multihashing.o] Error 1 make: Leaving directory/home/nompuser/unomp/node_modules/merged-pooler/node_modules/multi-hashing/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.13.0-52-generic
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/nompuser/unomp/node_modules/merged-pooler/node_modules/multi-hashing
gyp ERR! node -v v0.12.4
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! Linux 3.13.0-52-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "update"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the multi-hashing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls multi-hashing
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/nompuser/unomp/npm-debug.log
nompuser@Singa:~/unomp$ gcc --version
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

undefined symbol: GetNfactorJane

root@iZ23f56a10sZ:~/unomp# node init.js
[2015-07-04 13:53:01.840] [INFO] [default] - New Relic
[2015-07-04 13:53:01.842] [DEBUG] [default] - NewRelic Monitor New Relic initiated
[2015-07-04 13:53:01.844] [INFO] [default] - POSIX Not Installed
[2015-07-04 13:53:01.845] [DEBUG] [default] - POSIX Connection Limit (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
[2015-07-04 13:53:01.845] [INFO] [default] - Run Workers
[2015-07-04 13:53:02.106] [DEBUG] [default] - Master PoolSpawner Spawned 1 pool(s) on 1 thread(s)
[2015-07-04 13:53:02.964] [INFO] [default] - New Relic
[2015-07-04 13:53:02.968] [INFO] [default] - POSIX Not Installed
[2015-07-04 13:53:02.969] [INFO] [default] - Run Workers
[2015-07-04 13:53:02.979] [INFO] [default] - Switching Setup Thread 1 Loading last proxy state from redis
[2015-07-04 13:53:02.991] [DEBUG] [default] - Pool jbcoin Thread 1 Share processing setup with redis (127.0.0.1:6379)
[2015-07-04 13:53:03.046] [DEBUG] [default] - Pool jbcoin Thread 1 No rewardRecipients have been setup which means no fees will be taken
[2015-07-04 13:53:03.062] [DEBUG] [default] - Pool jbcoin Thread 1 started for jbcoin [JBC] {scrypt-jane}
Network Connected: Mainnet
Detected Reward Type: POS
Current Block Height: 909443
Current Connect Peers: 7
Current Block Diff: 161.383645184
Network Difficulty: 161.18054912
Network Hash Rate: 155.37 KH
Stratum Port(s): 3344
Pool Fee Percent: 0%
Block polling every: 1000 ms
[2015-07-04 13:53:03.065] [DEBUG] [default] - Switching Setup scrypt-jane Setting proxy difficulties after pool start
[2015-07-04 13:53:11.855] [DEBUG] [default] - Master CLI CLI listening on port 17117
[2015-07-04 13:53:12.686] [INFO] [default] - New Relic
[2015-07-04 13:53:12.691] [INFO] [default] - POSIX Not Installed
[2015-07-04 13:53:12.692] [INFO] [default] - Run Workers
[2015-07-04 13:53:12.763] [DEBUG] [default] - Website Server Website started on 0.0.0.0:80
[2015-07-04 13:53:32.808] [DEBUG] [default] - Pool jbcoin Thread 1 Authorized yadan87.101:101 [115.212.123.81]
/root/.nvm/v0.10.25/bin/node: symbol lookup error: /root/unomp/node_modules/merged-pooler/node_modules/multi-hashing/build/Release/multihashing.node: undefined symbol: GetNfactorJane
[2015-07-04 13:53:43.820] [ERROR] [default] - Master PoolSpawner Fork 0 died, spawning replacement worker...

how to resolve this issuse.....

payment processor [$20 awarded]

Currently the payment processor uses a sendtomany feature and collects all of the workers from CoinName:balances inside of redis. The reason payment processing is set to only send coins for an absurd amount is so that the payment processing doesnt fail when running a multipool. since your no longer verifying worker addresses. the payment processor tries to send to every worker on the pool. what i would like to do is implement a feature to verify the worker address inside of paymentprocessor.js so that you can include direct ports for each of the coins on the multipool. as well as a multipool port for each of the algos.

--- The **[$20 bounty](https://www.bountysource.com/issues/11497651-payment-processor?utm_campaign=plugin&utm_content=tracker%2F12403606&utm_medium=issues&utm_source=github)** on this issue has been claimed at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12403606&utm_medium=issues&utm_source=github).

Error when trying to start

anyone know how to fix this?

/home/uNOMP/init.js:138
for (var i=0; i < poolOptions.auxes.length; i++){
^
TypeError: Cannot read property 'length' of undefined
at /home/uNOMP/init.js:138:43
at Array.forEach (native)
at buildPoolConfigs (/home/uNOMP/init.js:134:21)
at init (/home/uNOMP/init.js:525:19)
at Object. (/home/uNOMP/init.js:541:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)

Installation Problem

Hello,
I just did a fresh install of unomp according to the documentation. I had an installation previously which worked fine, but this time I am facing an error. When using "npm update" after cloning the "unified-node-open-mining-portal" this ends with an error.
Looking at the npb-debug.log this ends with:
...
8101 verbose lock tar:///root/.npm/chalk/1.0.0/package.tgz /root/.npm/a8f758a7-root-npm-chalk-1-0-0-package-tgz.lock
8102 silly lockFile a19af42d-root-npm-debug-2-1-3-package-tgz tar:///root/.npm/debug/2.1.3/package.tgz
8103 silly lockFile a19af42d-root-npm-debug-2-1-3-package-tgz tar:///root/.npm/debug/2.1.3/package.tgz
8104 silly gunzTarPerm extractEntry lib/crc16.js
8105 silly gunzTarPerm extractEntry lib/crc16_ccitt.js
8106 silly gunzTarPerm modes [ '755', '644' ]
8107 silly gunzTarPerm modes [ '755', '644' ]
8108 silly gunzTarPerm modes [ '755', '644' ]
8109 silly gunzTarPerm modes [ '755', '644' ]
8110 error Error: ENOENT, open '/root/tmp/npm-24299-cpgTHqtT/1429800590383-0.5597856724634767/package/package.json'
8111 error If you need help, you may report this entire log,
8111 error including the npm and node versions, at:
8111 error http://github.com/isaacs/npm/issues
8112 error System Linux 3.13.0-042stab094.8
8113 error command "/root/.nvm/v0.10.25/bin/node" "/root/.nvm/v0.10.25/bin/npm" "update"
8114 error cwd /root/unomp
8115 error node -v v0.10.25
8116 error npm -v 1.3.24
8117 error path /root/tmp/npm-24299-cpgTHqtT/1429800590383-0.5597856724634767/package/package.json
8118 error code ENOENT
8119 error errno 34
8120 verbose exit [ 34, true ]

I tried to install it again on two other Ubuntu Server (latest version) but received the same error.
Does anyone have an idea what could be wrong? As mentioned I had a previous installation (only a few weeks old) which did not have this problem using the same installation guide.
Thank you and kind regards!

Submitted shares not showing x13

Submitted shares per worker are not showing on the workers page for x13 coins. They show properly on the "stats" page and payouts process properly, but shares on the "workers" page remain 0 indefinitely. I have tested this today with two different x13 coins.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26601849-submitted-shares-not-showing-x13?utm_campaign=plugin&utm_content=tracker%2F12403606&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12403606&utm_medium=issues&utm_source=github).

Problems with cryptotarget coin

Cryptotarget is a new sha256 coin created some days ago.
https://bitcointalk.org/index.php?topic=1078787

The problem is that cryptotarget not use decimal because it has a enormous suppy.

when I start unomp said in [payments]: "Error detecting number of satoshis in a coin, cannot do payment processing. Tried parsing"

Where can I modified the source to accept this coin?
Thank you!!!

on the direction of coins auxes? where will be sent

I send you greetings and congratulations on your excellent work, actually just writing because I have a question and do not know if it's here the place to resolve it, will I'm missing document myself more about how it works merged-mining, did the correct installation in a virtual machine, but my question is where the direction of wallet for coins set in "auxes" is set: []? If I think other files .json example litecoin.json and dogecoin.json in folder pool_configs /, and add auxes litecoin.json [dogecoin.json], the web interface shows as if they were running two workes (being just 1 connected ) and not whether so-mining work merged, or learns dogecoind have gotten one block, thank you and excuse the question

mining.extranonce.subscribe

Mintsy and a few of the other asic technologies are starting to use a feature called mining.extranonce.subscribe currently atleast in the nomp repo it is not supported this would have to do more with the node module stratum-pool for nomp and stratum-merged for unomp.
This will also give us support for changing the extranonce for the miners that allow it on the fly and no longer have to re establish a connection
bonesoul/node-hpool-stratum#1

currently the error provided when a miner with that stratum implementation tried to connect is
Unknown stratum method from (unauthorized) [79.109.251.102]: mining.extranonce.subscribe

here is the file i am referencing
https://github.com/sigwo/node-merged-pool/blob/master/lib/stratum.js#L62-L102

nicehash/cgminer-ckolivas@4e9c7ce

no blocks being reported found/pending/orphand in any pool.

Hi after bringing down the latest version via git clone, I've found that after setting everything up I'm not getting any block reporting whatsoever.

Blocks are definitely being found as I have mounting balances in the hot wallets.

Any ideas! Or am I being a numpty once more :-)

(suppose I had better check my pool confs for the hundredth tome)
Mind you, my daemon datadirs are In a non standard location, would this cause this?

cryptcollector.
Btw I'm only running in standard merge pool configuration just now, no multipool.

Problem

hi guys. i hav setted up multiple pools. easy deal. i setted up litecoins with dogecoin and unomp everything word great except this thing

Pool litecoin Thread 1 Share processing setup with redis (127.0.0.1:6379)
[DEBUG] [default] - Pool litecoin Thread 1 getauxblock call failed for daemon instance 0 with error {"code":-10,"message":"Dogecoin is downloading blocks..."}
[DEBUG] [default] - Pool litecoin Thread 1 could not update auxillary chains: [object Object]

/root/unomp/node_modules/merged-pooler/lib/jobManager.js:123
var pos = util.getAuxMerklePosition(auxData[i].chainid, size);
^
TypeError: Cannot read property 'chainid' of undefined
at buildMerkleTree (/root/unomp/node_modules/merged-pooler/lib/jobManager.js:123:63)
at JobManager.processTemplate (/root/unomp/node_modules/merged-pooler/lib/jobManager.js:187:29)
at /root/unomp/node_modules/merged-pooler/lib/pool.js:696:69
at itemFinished (/root/unomp/node_modules/merged-pooler/lib/daemon.js:156:36)
at /root/unomp/node_modules/merged-pooler/lib/daemon.js:169:17
at parseJson (/root/unomp/node_modules/merged-pooler/lib/daemon.js:85:17)
at IncomingMessage. (/root/unomp/node_modules/merged-pooler/lib/daemon.js:95:17)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
[ERROR] [default] - Master PoolSpawner Fork 0 died, spawning replacement worker...

any help would be appresiated

Multihashing 100% problem

multihashing.target.mk:141: ошибка выполнения рецепта для цели «Release/obj.target/multihashing/multihashing.o»
make: *** [Release/obj.target/multihashing/multihashing.o] Ошибка 1
make: выход из каталога «/home/ileonidze/unomp/node_modules/merged-pooler/node_modules/multi-hashing/build»
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.18.11-1-MANJARO
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ileonidze/unomp/node_modules/merged-pooler/node_modules/multi-hashing
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! Linux 3.18.11-1-MANJARO
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "update"
npm ERR! node v0.12.2
npm ERR! npm v2.7.5
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the multi-hashing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls multi-hashing
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/ileonidze/unomp/npm-debug.log
multihashing.target.mk:141: ошибка выполнения рецепта для цели «Release/obj.target/multihashing/multihashing.o»
make: *** [Release/obj.target/multihashing/multihashing.o] Ошибка 1
make: выход из каталога «/home/ileonidze/unomp/node_modules/merged-pooler/node_modules/multi-hashing/build»
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.18.11-1-MANJARO
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ileonidze/unomp/node_modules/merged-pooler/node_modules/multi-hashing
gyp ERR! node -v v0.12.2
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! Linux 3.18.11-1-MANJARO
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "update"
npm ERR! node v0.12.2
npm ERR! npm v2.7.5
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the multi-hashing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls multi-hashing
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/ileonidze/unomp/npm-debug.log

The same problem as issue#16, but on Archlinux

Multihashing 100% problem

Every time I'm tryilng to install UNOMP or NOMP I get the same problem:
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http 200 https://registry.npmjs.org/async/-/async-0.2.10.tgz
npm http 200 https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/semver/-/semver-1.1.4.tgz
npm http 200 https://registry.npmjs.org/semver/-/semver-1.1.4.tgz
[email protected] node_modules/log4js
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
npm http GET https://registry.npmjs.org/nan
npm http 304 https://registry.npmjs.org/nan

[email protected] install /home/ubuntu/unomp/node_modules/merged-pooler/node_modules/bignum
node-gyp configure build

make: Entering directory /home/ubuntu/unomp/node_modules/merged-pooler/node_modules/bignum/build' CXX(target) Release/obj.target/bignum/bignum.o make: g++: Command not found make: *** [Release/obj.target/bignum/bignum.o] Error 127 make: Leaving directory/home/ubuntu/unomp/node_modules/merged-pooler/node_modules/bignum/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/ubuntu/.nvm/v0.10.25/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.16.0-30-generic
gyp ERR! command "node" "/home/ubuntu/.nvm/v0.10.25/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"
gyp ERR! cwd /home/ubuntu/unomp/node_modules/merged-pooler/node_modules/bignum
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm http GET https://registry.npmjs.org/bindings
npm http 304 https://registry.npmjs.org/bindings

[email protected] install /home/ubuntu/unomp/node_modules/merged-pooler/node_modules/multi-hashing
node-gyp rebuild

gyp: binding.gyp not found (cwd: /home/ubuntu/unomp/node_modules/merged-pooler/node_modules/multi-hashing)
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/home/ubuntu/.nvm/v0.10.25/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:337:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 3.16.0-30-generic
gyp ERR! command "node" "/home/ubuntu/.nvm/v0.10.25/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/unomp/node_modules/merged-pooler/node_modules/multi-hashing
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ubuntu/unomp/npm-debug.log
npm ERR! not ok code 0
ubuntu@ubuntu:~/unomp$

Well, I have already saw all issue-requests and please, DO NOT REDIRECT ME THERE!
At first I tried to install UNOMP to the latest Archlinux Manjanro, but multihashing-error occured. Okay, then I downloaded, installed latest Ubuntu, started npm update, but! the same problem. On the clean Ubuntu! So I tried all this actions both on x32Intel and x64AMD, the same problem everywhere. Seemed to be UNOMP problem, not mine...

the portal seem to stuck

the portal show less hashrate,less found blocks

logfile like this:
�[31m[2015-04-07 15:09:21.771] [ERROR] [default] - �[39mStats Global error with getting global stats [{},{}]
�[31m[2015-04-07 15:09:21.771] [ERROR] [default] - �[39mStats Global error getting all stats[{},{}]
�[36m[2015-04-07 15:09:21.775] [DEBUG] [default] - �[39mPool litecoin Thread 1 No new blocks for 55 seconds - updating transactions & rebroadcasting work
�[36m[2015-04-07 15:09:26.819] [DEBUG] [default] - �[39mPool litecoin Thread 1 updating work for auxillary chains undefined
�[36m[2015-04-07 15:09:29.980] [DEBUG] [default] - �[39mPool litecoin Thread 2 updating work for auxillary chains undefined
�[36m[2015-04-07 15:10:06.793] [DEBUG] [default] - �[39mPool litecoin Thread 1 updating work for auxillary chains undefined
�[36m[2015-04-07 15:10:10.010] [DEBUG] [default] - �[39mPool litecoin Thread 2 updating work for auxillary chains undefined

BTC merged

what coins should i put merged mining with BTC ?
some ideas ?

also looking for someone to create multipool and merged mining. he get's 0.5% of the pools earnings (1% in total)

to what extent are the merged mine coins working correctly?

are they logging properly in the redis instance? ie, are they updating the appropriate :balances properly?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/10391675-to-what-extent-are-the-merged-mine-coins-working-correctly?utm_campaign=plugin&utm_content=tracker%2F12403606&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F12403606&utm_medium=issues&utm_source=github).

graphs

In the original nomp package there is are some nice graphs how to add these here

Secondly I want people to choose between BTC an other coins to payout how to accomplish this

Logging issue

Currently I log unomp to a log file -- and with that I have "logColors": false in the config.json
When I review the logfile -- here is what I see:

�[32m[2015-10-27 23:19:46.469] [INFO] [default] - �[39mNew Relic
�[36m[2015-10-27 23:19:46.474] [DEBUG] [default] - �[39mNewRelic Monitor New Relic initiated
�[32m[2015-10-27 23:19:46.486] [INFO] [default] - �[39mPOSIX Not Installed
�[36m[2015-10-27 23:19:46.487] [DEBUG] [default] - �[39mPOSIX Connection Limit (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised

It seems (log4js ?) is inserting some strange characters into the log line.

address does not refer to a key , deamon does not own pool address

when setup pool for applebytecoin, i receive this error, my pool config is this..

{
"enabled": true,
"coin": "applebytecoin.json",

"auxes": [ // Defines auxillery coins

],
"address": "AG7QsEYnjExR5VeBYYJPSjgeAaoVaGznBk",

"rewardRecipients": {
    "AKZGcadujHpkHP2cNJPs5NaGsjVFAFEh2a": 0.9,

"AZz5BPnY6FBCvJTaeimEf96aoZy1usQqYY":0.1

},

x11 worker shares at 0

Hi guys..

I made x11 pool with startcoin and unitus as merged. everything works great but at workers addresses it shows zero accepted. any ideas ? all other coins works great

Memory leak issue

zone117x/node-open-mining-portal#400

The issue im referencing is above. i've got about 40 coins on the pool and seem to be having some memory issues, i've got 24gb of ram allocated to the VM and around ~13.5 of it is used for the coin daemons. the rest for the remaining OS and the pool.
The memory leak has resulted in multiple database problems from crashes and i think it should be one of the first things addressed since it is still happening.

The switchover to unomp had minimal file changes, so i tried to modify as little as possible needed to get everything i have working properly. i added a redis command inside of profitswitch.js and some things needed for the miner stats page. i made sure to close the redis connection after i was done.

the error seems to be coming from stratum-pool and merged-pooler. both in stratum.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.