VeriBlock / community

0 stars 0 forks source link

Users are facing wallet crashes #23

Closed IsmaelAznarCarmona closed 2 years ago

reb0rn21 commented 2 years ago

in general RPC get overloaded and wallet stall, rising RPC limit do not help as wallet can not hold then and is slow to respond to any call

and in hole PC crash mostly look as this: 2022-02-25T15:01:42Z [alt-cpp] [warn] comparePopScore: Comparing two chains. Current tip: ALT:51323:b55fd31ea7d6a778c269fa84898ea035dc286b037212eda7a01e000000000000, Candidate: ALT:51324:587ff7cbd08d46cad64291c42bfe472ad4f9f86bc0d9a2886e1b000000000000. Result: Candidate wins (-1), reason: candidate is valid and after current tip. 2022-02-25T15:01:42Z UpdateTip: new best=ALT:51324:0000000000001b6e88a2d9c06bf8f9d42a47fe2bc49142d6ca468dd0cbf77f58 VBK:2981256:0000000001f7c70d0d17c35300d4c0f880d0e7eb57d27540 BTC:724885:000000000000000000070010ca94a645666336dc8b18b4b85c6cf7b7f7083c35 version=0x20080000 log2_work=70.53724 tx=68543 date='2022-02-25T15:01:39Z' progress=1.000000 cache=1.9MiB(14625txo) 2022-02-25T15:03:33Z [alt-cpp] [info] acceptBlock: Accept pop data: PopData{VBKs=5, VTBs=0, ATVs=68, version=1}, for the block: ALTBlockIndex(height=51325, hash=2f64f13786ba4ce41f443f82458b1bc0afe622bcaaaa5775510d000000000000, next=0, status=1, header=AltBlock{height=51325, hash=2f64f13786ba4ce41f443f82458b1bc0afe622bcaaaa5775510d000000000000}, ATVs=0[], VTBs=0[], VBKs=0[]) 2022-02-25T15:03:33Z [alt-cpp] [warn] comparePopScore: Comparing two chains. Current tip: ALT:51324:587ff7cbd08d46cad64291c42bfe472ad4f9f86bc0d9a2886e1b000000000000, Candidate: ALT:51325:2f64f13786ba4ce41f443f82458b1bc0afe622bcaaaa5775510d000000000000. Result: Candidate wins (-1), reason: candidate is valid and after current tip. 2022-02-25T15:32:33Z socket sending timeout: 1755s 2022-02-25T15:32:33Z socket sending timeout: 1754s 2022-02-25T15:32:33Z socket sending timeout: 1756s 2022-02-25T15:32:33Z socket sending timeout: 1753s 2022-02-25T15:32:33Z socket sending timeout: 1756s 2022-02-25T15:32:33Z socket sending timeout: 1753s 2022-02-25T15:32:33Z socket sending timeout: 1754s 2022-02-25T15:32:33Z socket sending timeout: 1754s 2022-02-25T15:32:33Z socket sending timeout: 1745s 2022-02-25T15:32:33Z socket sending timeout: 1754s 2022-02-25T15:32:33Z socket sending timeout: 1754s 2022-02-25T15:32:33Z socket sending timeout: 1740s 2022-02-25T15:32:33Z socket sending timeout: 1740s 2022-02-25T15:32:33Z socket sending timeout: 1757s 2022-02-25T15:32:33Z socket sending timeout: 1754s 2022-02-25T15:32:33Z socket sending timeout: 1754s 2022-02-25T15:32:33Z socket sending timeout: 1754s 2022-02-25T15:32:33Z socket sending timeout: 1754s

IsmaelAznarCarmona commented 2 years ago

Version : BTCSQ Core version v0.19.99.0-734a3a0

Mr-Leshiy commented 2 years ago

@reb0rn21 Am I right that the main problem in the not responding RPC ? Or you have faced with the application crash ?

reb0rn21 commented 2 years ago

On my main PC at home under widows wallet would crash but after few restart it would sync On my pool its mostly RPC issue that can lead to non resposive wallet

Warchant commented 2 years ago

@reb0rn21 please every time your daemon crashes, send +-100 last lines of debug.log

reb0rn21 commented 2 years ago

This is linux crash after RPC overload version: BTCSQ-master-4ca0304-linux-x64.zip btcsq.conf is set to: rpcworkqueue=2048

2022-03-07T06:33:19Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:33:19Z [alt-cpp] [warn] filterInvalidPayloads: Filtered valid: PopData{VBKs=100, VTBs=50, ATVs=100, version=1} 2022-03-07T06:33:19Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:33:19Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:33:19Z CreateNewBlock(): block weight: 60368 txs: 1 fees: 148910 sigops 404 2022-03-07T06:33:19Z [alt-cpp] [info] acceptBlock: Accept pop data: PopData{VBKs=100, VTBs=50, ATVs=100, version=1}, for the block: ALTBlockIndex(height=56714 hash=3b20d5ec722fa72199d9aa284e1f0c3e825866a1b8d5ed0488237868df45124b prev=56713:df255ee3eedd512a648eb2ac412c543158f0e6335b2dd9d7761d000000000000 next=0 status=1 ATVs=0[], VTBs=0[], VBKs=0[]) 2022-03-07T06:33:19Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:33:19Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:33:19Z [alt-cpp] [info] acceptBlock: Accept pop data: PopData{VBKs=100, VTBs=0, ATVs=100, version=1}, for the block: ALTBlockIndex(height=56714 hash=e218cd87f640e053ff02e0e6a5dec32023f102614549b0d97c03000000000000 prev=56713:df255ee3eedd512a648eb2ac412c543158f0e6335b2dd9d7761d000000000000 next=0 status=1 ATVs=0[], VTBs=0[], VBKs=0[]) 2022-03-07T06:33:19Z [alt-cpp] [warn] comparePopScore: Comparing two chains. Current tip: ALT:56713:df255ee3eedd512a648eb2ac412c543158f0e6335b2dd9d7761d000000000000, Candidate: ALT:56714:e218cd87f640e053ff02e0e6a5dec32023f102614549b0d97c03000000000000. Result: Candidate wins (-1), reason: candidate is valid and after current tip. 2022-03-07T06:33:20Z UpdateTip: new best=ALT:56714:000000000000037cd9b049456102f12320c3dea5e6e002ff53e040f687cd18e2 VBK:3007905:00000000022cf637ff6e344cecc5db2da830eff38d19a3ac BTC:726123:00000000000000000003e2b0974c08fe61c8d21846cfa4056c2390e331dda6e5 version=0x20080000 log2_work=70.537467 tx=74127 date='2022-03-07T06:22:29Z' progress=0.999919 cache=11.1MiB(616txo) 2022-03-07T06:33:20Z [default wallet] AddToWallet 362f01d035e848e2bf13d6b14c2b6d4a802b4fedbdd6ff709b443aaa9a4c2e3c update 2022-03-07T06:33:20Z [default wallet] AddToWallet fcde7db3764cbfa9a200d8c687c1987ccf1bea0e718c0bf5770e21877df8fabe update 2022-03-07T06:33:20Z [alt-cpp] [info] generatePopData: Generating a new pop data from mempool for the current tip. 2022-03-07T06:33:20Z [alt-cpp] [warn] filterInvalidPayloads: Trying to add PopData{VBKs=1769, VTBs=217, ATVs=13847, version=1} to next block... 2022-03-07T06:33:20Z [alt-cpp] [info] acceptBlock: Accept pop data: PopData{VBKs=0, VTBs=0, ATVs=0, version=1}, for the block: ALTBlockIndex(height=56715 hash=0202020202020202020202020202020202020202020202020202020202020202 prev=56714:e218cd87f640e053ff02e0e6a5dec32023f102614549b0d97c03000000000000 next=0 status=1 ATVs=0[], VTBs=0[], VBKs=0[]) 2022-03-07T06:33:21Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting2022-03-07T06:37:16Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:16Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:16Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:16Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:17Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:17Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:17Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:17Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:17Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:17Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:18Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:18Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:18Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:18Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:18Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:18Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:19Z [alt-cpp] [warn] filterInvalidPayloads: Filtered valid: PopData{VBKs=100, VTBs=50, ATVs=100, version=1} 2022-03-07T06:37:19Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:19Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:19Z CreateNewBlock(): block weight: 60368 txs: 1 fees: 148910 sigops 404 2022-03-07T06:37:19Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:19Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting 2022-03-07T06:37:19Z [alt-cpp] [info] acceptBlock: Accept pop data: PopData{VBKs=100, VTBs=50, ATVs=100, version=1}, for the block: ALTBlockIndex(height=56715 hash=b4e2d101f00527557b62f6a50424d87effa39266e06806424758121412d0c719 prev=56714:e218cd87f640e053ff02e0e6a5dec32023f102614549b0d97c03000000000000 next=0 status=1 ATVs=0[], VTBs=0[], VBKs=0[]) 2022-03-07T06:37:20Z [alt-cpp] [info] acceptBlock: Accept pop data: PopData{VBKs=100, VTBs=0, ATVs=100, version=1}, for the block: ALTBlockIndex(height=56715 hash=02c5427cc905900904fbd8aaf64638acc6347bf8c2270240af14000000000000 prev=56714:e218cd87f640e053ff02e0e6a5dec32023f102614549b0d97c03000000000000 next=0 status=1 ATVs=0[], VTBs=0[], VBKs=0[]) 2022-03-07T06:37:20Z [alt-cpp] [warn] comparePopScore: Comparing two chains. Current tip: ALT:56714:e218cd87f640e053ff02e0e6a5dec32023f102614549b0d97c03000000000000, Candidate: ALT:56715:02c5427cc905900904fbd8aaf64638acc6347bf8c2270240af14000000000000. Result: Candidate wins (-1), reason: candidate is valid and after current tip. 2022-03-07T06:37:20Z [alt-cpp] [critical] AssertDecodeBase58: Assertion failed at /opt/alt-integration-cpp-dfc4373ba69191818d3539c46fcae04682cb4de8/src/pop/base58.cpp:160 inside AssertDecodeBase58: status Invalid input: 𜸱1—lޜx7f\x00\x00ACpzC7iFEk37ESLXuGWW8U

Warchant commented 2 years ago

@reb0rn21 I see. This is known issue: https://github.com/VeriBlock/alt-integration-cpp/issues/961

Please use latest version. Will be available here after CI completes.

Warchant commented 2 years ago

Closing this issue in favor of https://github.com/VeriBlock/alt-integration-cpp/issues/961