Git Product home page Git Product logo

Comments (3)

DavidVorick avatar DavidVorick commented on May 22, 2024

Now that we have unit tests, it's pretty clear that it's unrelated to large transactions, it just happens sometimes and it seems to happen more often when your transactions are large.

from sia.

lukechampine avatar lukechampine commented on May 22, 2024

any theories as to why? How does the codepath for a large transaction differ from that of a small transaction?

from sia.

DavidVorick avatar DavidVorick commented on May 22, 2024

The biggest difference is that there are multiple signatures. Three ideas:

  1. There's a bug or race condition in the wallet somewhere that only triggers once in a while.
  2. There's a bug in the encoding library somewhere that only triggers once in a while.
  3. Either we're misusing the crypto library or that has a bug that only triggers once in a while.

I have a good way to probe this further, I'll get to it soon. Should be pretty easy to figure out where the mistake is by making thousands of small transactions.

from sia.

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.