Giter Club home page Giter Club logo

Comments (4)

moodmosaic avatar moodmosaic commented on June 21, 2024

Which Bitcoin Core version you're using? Also, can you send us the stack trace of the exception?

from bitcoinlib.

Leonardiae avatar Leonardiae commented on June 21, 2024

I'm using 0.18.0

I'm a starter dev and don't know how to make a stack trace :(
But this is my function:

static public void GetRawMempoolLocalNode()
{
try
{

            IBitcoinService BitcoinService = new BitcoinService("localhost", "x", "x", "x", 2);
            var response = BitcoinService.GetRawMemPool(true);
        }
        catch (Exception exception)
        {
                    //
        }
    }

If I call GetRawMemPool without a parameter then I get results (a list of txid's).

from bitcoinlib.

moodmosaic avatar moodmosaic commented on June 21, 2024

I'm a starter dev and don't know how to make a stack trace :(

That's totally fine, we're more than happy to help 👍 — So, in your catch block, trying doing something like var err = exception.ToString(); and then hover your debugger there and copy the text.

Or do a System.Console.WriteLine(exception.ToString()); and let us know what the output is.


That is,

catch (Exception exception)
{
    var err = exception.ToString();
    // What is the value of `err`?
}

or

catch (Exception exception)
{
    System.Console.WriteLine(exception.ToString());
    // What gets printed in the console?
}

from bitcoinlib.

Leonardiae avatar Leonardiae commented on June 21, 2024

System.Exception: Unkown property: fees in GetRawMemPool()
at BitcoinLib.Services.CoinService.GetRawMemPool(Boolean verbose)
at Prog.Program.GetRawMempoolLocalNode() in C:\Users\Leonardiae\source\repos\Prog .netframework\Prog .netframework\Program.cs:line 71

from bitcoinlib.

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.