lnd/lnwallet/btcwallet
Jason Dufair 84551c616f lnwallet/lnrpc: Expose sync status to gRPC interface
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
2018-02-20 19:00:06 -08:00
..
blockchain.go multi: add bitcoind drivers and tests 2018-01-15 13:59:34 -08:00
btcwallet.go lnwallet/lnrpc: Expose sync status to gRPC interface 2018-02-20 19:00:06 -08:00
config.go multi: fix several typos in godoc comments 2017-12-17 18:40:05 -08:00
driver.go multi: add bitcoind drivers and tests 2018-01-15 13:59:34 -08:00
signer.go multi: comprehensive typo fixes across all packages 2018-02-06 19:11:11 -08:00