mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 22:25:24 +01:00
This commit adds wallet_best_block_timestamp to the gRPC interface. This is done in order to allow clients to calculate progress while lnd syncs to the blockchain. wallet_best_block_timestamp is exposed via the GetInfo() rpc call. Additionally, IsSynced() returns the WalletBestBlockTimestamp as the second value in the tuple that is returned, providing additional detail when querying about the status of the sync. The BtcWallet interface has also been updated accordingly. This commit was created to support the issue to [Add progress bar for chain sync] (lightninglabs/lightning-app#10) in lightning-app |
||
---|---|---|
.. | ||
blockchain.go | ||
btcwallet.go | ||
config.go | ||
driver.go | ||
signer.go |