lbryio / lbryio/lbrycrd

RPC Calls are very slow to respond

Open
#385 15 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

The wallet rpc calls are very slow to respond

This takes 12 seconds to get executed
```
./lbrycrd-cli -getinfo
{
"version": 170302,
"protocolversion": 70015,
"walletversion": 169900,
"balance": 0.00000000,
"blocks": 750800,
"timeoffset": 0,
"connections": 8,
"proxy": "",
"difficulty": 455175102026.4689,
"testnet": false,
"keypoololdest": 1557683735,
"keypoolsize": 1000,
"paytxfee": 0.00000000,
"relayfee": 0.00001000,
"warnings": ""
}
```

The wallet is almost always using 100% of a CPU core.
Running v17.3.2

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported delay with `./lbrycrd-cli -getinfo` on v17.3.2 while observing CPU usage. No source file or test is named, so trace the RPC and wallet execution paths to identify the cause. Done means wallet RPC calls respond promptly without a core remaining at 100% CPU.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
blockchain
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.