Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation since 07/01/21 in all areas

  1. Copy Pasta of how to remove garbage from addresses that NOMP can't handle. reference: https://bitcoin.stackexchange.com/questions/34057/error-trying-to-send-payments-with-rpc-sendmany Eliminate the whitespace from workers' names. This commit shows how to do that. Combine payouts together when there is more than one worker with the same address. The code for that is shown below. In paymentProcessor.js, change var address = worker.address = (worker.address || getProperAddress(w)); worker.sent = addressAmounts[address] = satoshisToCoins(toSend); to var address = worker.address = (worker.address || getProperAddress(w)).trim(); if (!worker.sent) { worker.sent = 0; } worker.sent += satoshisToCoins(toSend); if (!(address in addressAmounts)) { addressAmounts[address] = 0; } addressAmounts[address] += satoshisToCoins(toSend);
    1 point
  2. I think the Parallel instance feature of Snapcraft is highly under-rated....It is an amazing feature of Snap and allows one to run multiple instances of Denarius on the same machine including a mix of testnet/mainnet nodes.
    1 point
  3. Couldn't get nvm to work on xenial, this helped https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-16-04
    1 point
  4. when the database gets destroyed an easy way to reset is by stopping the pool and then redis-cli FLUSHALL quit then remove the dump file cd /var/lib/redis rm dump.rdb cd ~ restart redis /etc/init.d/redis-server restart restart pool cd nomp node init.js Â
    1 point
×
×
  • Create New...