forked from TrueCloudLab/frostfs-api
[#33] accounting: Remove LockAccounts field from BalanceResponse
Remove BalanceResponse field that carried the list of lock account since it ceased to be externally controlled and is now managed by Smart Contract. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
40420f3ab0
commit
9454d1adad
2 changed files with 1 additions and 6 deletions
|
@ -6,7 +6,6 @@ option csharp_namespace = "NeoFS.API.Accounting";
|
||||||
import "service/meta.proto";
|
import "service/meta.proto";
|
||||||
import "service/verify.proto";
|
import "service/verify.proto";
|
||||||
import "decimal/decimal.proto";
|
import "decimal/decimal.proto";
|
||||||
import "accounting/types.proto";
|
|
||||||
import "refs/types.proto";
|
import "refs/types.proto";
|
||||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||||
|
|
||||||
|
@ -30,8 +29,5 @@ message BalanceRequest {
|
||||||
|
|
||||||
message BalanceResponse {
|
message BalanceResponse {
|
||||||
// Balance contains current account balance state
|
// Balance contains current account balance state
|
||||||
decimal.Decimal Balance = 1;
|
decimal.Decimal Balance = 1;
|
||||||
// LockAccounts contains information about locked funds. Locked funds appear
|
|
||||||
// when user pays for storage or withdraw assets.
|
|
||||||
repeated Account LockAccounts = 2;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -100,7 +100,6 @@ Balance returns current balance status of the NeoFS user
|
||||||
| Field | Type | Label | Description |
|
| Field | Type | Label | Description |
|
||||||
| ----- | ---- | ----- | ----------- |
|
| ----- | ---- | ----- | ----------- |
|
||||||
| Balance | [decimal.Decimal](#decimal.Decimal) | | Balance contains current account balance state |
|
| Balance | [decimal.Decimal](#decimal.Decimal) | | Balance contains current account balance state |
|
||||||
| LockAccounts | [Account](#accounting.Account) | repeated | LockAccounts contains information about locked funds. Locked funds appear when user pays for storage or withdraw assets. |
|
|
||||||
|
|
||||||
<!-- end messages -->
|
<!-- end messages -->
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue