mintlayer-core icon indicating copy to clipboard operation
mintlayer-core copied to clipboard

Use chain-trust instead of block height in the wallet-controller synchronization mechanism

Open TheQuantumPhysicist opened this issue 2 years ago • 0 comments

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.

TheQuantumPhysicist avatar Aug 05 '23 21:08 TheQuantumPhysicist