Code Monkey home page Code Monkey logo

Comments (8)

listenaddress avatar listenaddress commented on August 15, 2024

Yep, got it again. The third time I go to sign a message, it gets really slow. The screen says "Sign the transaction on your Ledger device to confirm." but it takes ~15 seconds for the transaction to show up on my device, and then after signing the transaction on my device, another ~15 seconds for the transaction to show on the browser.

from wallet.

listenaddress avatar listenaddress commented on August 15, 2024

After refreshing my browser, it works quickly again for a couple transactions.

from wallet.

listenaddress avatar listenaddress commented on August 15, 2024

It actually takes ~1 minute sometimes. It's not totally consistent. And now it seems only to be the wait between when the screen initially says "Sign the transaction..." and when it shows up on my device. After signing, the tx updates right away.

from wallet.

listenaddress avatar listenaddress commented on August 15, 2024

It does seem to be working tho.

from wallet.

listenaddress avatar listenaddress commented on August 15, 2024

Another interesting bit—after a couple slow transactions, it speeds back up.

from wallet.

Schwartz10 avatar Schwartz10 commented on August 15, 2024

Good find here @listenaddress - this is because the StateWaitMsg endpoint on the lotus jsonrpc is blocking. So when we try to submit too many transactions and confirm them all at once, it blocks a future call to get a nonce for an upcoming transaction.

Hoping we can switch to https://github.com/filecoin-project/lotus/blob/7e0be91cfd44c1664ac18f81080544b1341872f1/node/impl/full/state.go#L287 for message confirmation because it's non blocking

from wallet.

Schwartz10 avatar Schwartz10 commented on August 15, 2024

https://filecoinproject.slack.com/archives/GRT37S147/p1583440322084600 relative conversation in slack

from wallet.

Schwartz10 avatar Schwartz10 commented on August 15, 2024

Will fix pending filecoin-project/lotus#1412

from wallet.

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.