Giter Site home page Giter Site logo

Comments (10)

vekexasia avatar vekexasia commented on August 23, 2024

What are you passing as "options" address ? Which coin is it?

from node-stratum-pool.

bmatusiak avatar bmatusiak commented on August 23, 2024

ftc:6vXUt1tYCgNagA9pgUWiW1uXwGGZrZY8eL

from node-stratum-pool.

vekexasia avatar vekexasia commented on August 23, 2024

Are you passing ftc:address entirely? Or ftc is the coin and the rest is the address?

from node-stratum-pool.

bmatusiak avatar bmatusiak commented on August 23, 2024

ftc is the coin and rest is the address

addr = "6vXUt1tYCgNagA9pgUWiW1uXwGGZrZY8eL";

from node-stratum-pool.

vekexasia avatar vekexasia commented on August 23, 2024

Would you mind doing the following command?

feathercoin validateaddress 6vXUt1tYCgNagA9pgUWiW1uXwGGZrZY8eL

And paste us the whole output, including your launched command?

from node-stratum-pool.

bmatusiak avatar bmatusiak commented on August 23, 2024
var coin = require("node-litecoin");
var client = new coin.Client({
...
});
client.cmd('validateaddress',"6vXUt1tYCgNagA9pgUWiW1uXwGGZrZY8eL",  function(err) {
    if (err) return console.log(err);
    console.log(arguments);
});
{ '0': null,
  '1':
   { isvalid: true,
     address: '6vXUt1tYCgNagA9pgUWiW1uXwGGZrZY8eL',
     ismine: true,
     isscript: false,
     pubkey: '...',
     iscompressed: true,
     account: 'MyWallet' } }

from node-stratum-pool.

vekexasia avatar vekexasia commented on August 23, 2024

TRy changing line between 186 and 189 with the following and let me know. Btw it's strange.

                    publicKeyBuffer = options.reward === 'POW' ?
                    util.script_to_address(results.addressInfo['1'].address) :
                    util.script_to_pubkey(results.addressInfo.pubkey);

from node-stratum-pool.

bmatusiak avatar bmatusiak commented on August 23, 2024

i didnt understand that last part mabe highlight it from the source

from node-stratum-pool.

vekexasia avatar vekexasia commented on August 23, 2024

the file is pool.js replace lines between 186 189.

from node-stratum-pool.

bmatusiak avatar bmatusiak commented on August 23, 2024

you know what,, its all my mistake i was using node8 not node10.. ide settings was backwards

from node-stratum-pool.

Related Issues (20)

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.