mintlayer-core
                                
                                 mintlayer-core copied to clipboard
                                
                                    mintlayer-core copied to clipboard
                            
                            
                            
                        Use chain-trust instead of block height in the wallet-controller synchronization mechanism
Currently, the block height is used in the function fetch_and_sync, and there's a TODO about it: https://github.com/mintlayer/mintlayer-core/blob/72b0e1c8d56b8b6fc9b9d2ff332c68eb79c7bf3c/wallet/wallet-controller/src/sync/mod.rs#L162C13-L162C13
The same problem may be also in the API server since the initial scanning code is derived from the wallet.