Skip to content

use watcher's /deposits.all endpoint to fetch past deposits #91

@Pongch

Description

@Pongch

web-wallet should use watcher's endpoint to fetch all the confirmed deposits instead of calling Ethereum node.

As for the unconfirmed deposits (deposits not yet seen by Watcher passed the configured block confirmations), the web-wallet could look only for pending statuses from Ethereum node.

ie. wallet call Eth node for deposits between
web3.eth.isSyncing().currentBlockHeight - services_synced_heights.depositor as opposed to searching from the genesis block/block 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions