Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define new grpc bsq/btc balances protos #4793

Merged
merged 1 commit into from
Dec 3, 2020

Conversation

ghubstan
Copy link
Contributor

This change adds proto serivces and messages to support future api implementations for serving bsq, btc or all wallet balances.

  • RPC GetBsqBalances will return complete BSQ balance info.

  • Message BsqBalanceInfo is proto returned by rpc GetBsqBalances.

  • RPC GetBtcBalances wil return complete BTC balance info.

  • Message BtcBalanceInfo is proto returned by rpc GetBtcBalances.

  • RPC GetBalances returns complete BTC and BSQ balance info.

  • Message BalancesInfo is proto returned by rpc GetBalances.

RPC GetBalance remains unchnaged; it still returns only the available
BTC balance. It may be deprecated and removed in a future PR.

This change adds proto serivces and messages to support new api
implementations for serving bsq, btc or all wallet balances.

- RPC GetBsqBalances will return complete BSQ balance info.
- Message BsqBalanceInfo is proto returned by rpc GetBsqBalances.

- RPC GetBtcBalances wil return complete BTC balance info.
- Message BtcBalanceInfo is proto returned by rpc GetBtcBalances.

- RPC GetBalances returns complete BTC and BSQ balance info.
- Message BalancesInfo is proto returned by rpc GetBalances.

RPC GetBalance remains unchnaged, still returns only the available
BTC balance.  It may be deprecated and removed in a future PR.
Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

Will merge after 1.5.0 is merged to master

@sqrrm sqrrm merged commit fc8af8c into bisq-network:master Dec 3, 2020
@ghubstan ghubstan deleted the 01-getbalances-protos branch December 3, 2020 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants