nav-io / navio-core

Navio Core v8 [WIP]
https://nav.io
MIT License
3 stars 6 forks source link

getwalletinfo rpc method does not update scanning progress value #167

Open sakdeniz opened 3 weeks ago

sakdeniz commented 3 weeks ago

Is there an existing issue for this?

Current behaviour

Currently getwalletinfo rpc method does not update scanning progress value and always shows 0 { "walletname": "Faucet", "walletversion": 169900, "format": "sqlite", "balance": "74966637.62600000", "staked_commitment_balance": 20000, "unconfirmed_balance": 0, "immature_balance": 0, "txcount": 8422, "keypoololdest": 1726398627, "keypoolsize": 0, "keypoolsize_hd_internal": 0, "paytxfee": 0, "private_keys_enabled": false, "avoid_reuse": false, "scanning": { "duration": 199, "progress": 0 }, "descriptors": false, "external_signer": false, "blsct": true, "blank": false, "birthtime": 1720532304, "lastprocessedblock": { "hash": "aadc0eb07b0a0548138ba1feae63500601104ab29a8a566076b13c70fbe69fd4", "height": 71751 } }

Expected behaviour

It should update progress value according to sync progress

Steps to reproduce

Use rescanblockchain 0 to start rescan blockchain and monitor sync progress with getwalletinfo rpc call

Relevant log output

No response

How did you obtain Bitcoin Core

Compiled from source

What version of Bitcoin Core are you using?

524d402

Operating system and version

Ubuntu 20.04 LTS

Machine specifications

No response