question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Staking sections self DDoSes

See original GitHub issue

UI Version: 0.7.0

Description: Polling each validator for amount of user’s stake DDoSes the LCD and often crashes gaia causing a reconnect. This happens on mounted event for the staking page as well as wallet page with the action updateDelegates.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fedekunzecommented, Aug 10, 2018

@faboweb this will reduce the requests to just 2 instead of running a for loop though all the addresses of the latest validator set to ask if there’s a delegation

0reactions
fabowebcommented, Aug 10, 2018

In #1068 it is implemented like that:

  • query all delegations a delegator has via one call to /stake/delegators/{addr}
  • query all candidates via one call to /stake/validators
  • map delegations to candidats

Am I missing something?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Implement tests for new staking endpoints #1939 - GitHub
The new endpoints are the following and are needed to query each of the validators that a delegator is bonded to. // x/stake/client/rest/query....
Read more >
Run a Validator - Ethermint Documentation
Self -delegates the provided amount of staking tokens. Link the operator account with a Tendermint node pubkey that will be used for signing...
Read more >
Everything you need to know to participate in Superfluid Staking
Superfluid Staking is a groundbreaking innovation that allows liquidity providers on Osmosis to simultaneously participate in liquidity ...
Read more >
Insulin stacking: Definition and how to avoid
People with diabetes may require regular insulin doses to help them ... This is known as insulin stacking, which can lead to negative...
Read more >
Validator FAQ - Terra Docs
Staking occurs when Luna holders delegate their Luna to a validator. ... If the validator's self-bonded stake falls below this limit, its entire...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found