From 3c71f8511d0a35af37e8e58bb1ff378a92f2fecd Mon Sep 17 00:00:00 2001 From: Matthew Weeks Date: Wed, 15 Jan 2025 17:32:46 -0500 Subject: [PATCH] Simplify streaming.FilterSubaccountStreamUpdates and forward entire StreamUpdate if any OffchainUpdateV1 message is in scope --- .../src/codegen/dydxprotocol/clob/query.ts | 24 +- proto/dydxprotocol/clob/query.proto | 2 +- .../streaming/full_node_streaming_manager.go | 113 ++++----- .../full_node_streaming_manager_test.go | 89 ++++--- .../x/clob/keeper/grpc_stream_orderbook.go | 2 +- protocol/x/clob/types/query.pb.go | 240 +++++++++--------- 6 files changed, 231 insertions(+), 239 deletions(-) diff --git a/indexer/packages/v4-protos/src/codegen/dydxprotocol/clob/query.ts b/indexer/packages/v4-protos/src/codegen/dydxprotocol/clob/query.ts index 0c3450582c..437cbe6580 100644 --- a/indexer/packages/v4-protos/src/codegen/dydxprotocol/clob/query.ts +++ b/indexer/packages/v4-protos/src/codegen/dydxprotocol/clob/query.ts @@ -278,9 +278,12 @@ export interface StreamOrderbookUpdatesRequest { /** Market ids for price updates. */ marketIds: number[]; - /** Filter order updates in addition to position updates */ + /** + * Filter order updates by subaccount IDs. + * If true, the orderbook updates only include orders from provided subaccount IDs. + */ - filterOrders: boolean; + filterOrdersBySubaccountId: boolean; } /** * StreamOrderbookUpdatesRequest is a request message for the @@ -296,9 +299,12 @@ export interface StreamOrderbookUpdatesRequestSDKType { /** Market ids for price updates. */ market_ids: number[]; - /** Filter order updates in addition to position updates */ + /** + * Filter order updates by subaccount IDs. + * If true, the orderbook updates only include orders from provided subaccount IDs. + */ - filter_orders: boolean; + filter_orders_by_subaccount_id: boolean; } /** * StreamOrderbookUpdatesResponse is a response message for the @@ -1305,7 +1311,7 @@ function createBaseStreamOrderbookUpdatesRequest(): StreamOrderbookUpdatesReques clobPairId: [], subaccountIds: [], marketIds: [], - filterOrders: false + filterOrdersBySubaccountId: false }; } @@ -1331,8 +1337,8 @@ export const StreamOrderbookUpdatesRequest = { writer.ldelim(); - if (message.filterOrders === true) { - writer.uint32(32).bool(message.filterOrders); + if (message.filterOrdersBySubaccountId === true) { + writer.uint32(32).bool(message.filterOrdersBySubaccountId); } return writer; @@ -1378,7 +1384,7 @@ export const StreamOrderbookUpdatesRequest = { break; case 4: - message.filterOrders = reader.bool(); + message.filterOrdersBySubaccountId = reader.bool(); break; default: @@ -1395,7 +1401,7 @@ export const StreamOrderbookUpdatesRequest = { message.clobPairId = object.clobPairId?.map(e => e) || []; message.subaccountIds = object.subaccountIds?.map(e => SubaccountId.fromPartial(e)) || []; message.marketIds = object.marketIds?.map(e => e) || []; - message.filterOrders = object.filterOrders ?? false; + message.filterOrdersBySubaccountId = object.filterOrdersBySubaccountId ?? false; return message; } diff --git a/proto/dydxprotocol/clob/query.proto b/proto/dydxprotocol/clob/query.proto index d69f053489..ba807bdce3 100644 --- a/proto/dydxprotocol/clob/query.proto +++ b/proto/dydxprotocol/clob/query.proto @@ -189,7 +189,7 @@ message StreamOrderbookUpdatesRequest { // Filter order updates by subaccount IDs. // If true, the orderbook updates only include orders from provided subaccount IDs. - bool filter_orders = 4; + bool filter_orders_by_subaccount_id = 4; } // StreamOrderbookUpdatesResponse is a response message for the diff --git a/protocol/streaming/full_node_streaming_manager.go b/protocol/streaming/full_node_streaming_manager.go index 24354a3061..ac3476df0c 100644 --- a/protocol/streaming/full_node_streaming_manager.go +++ b/protocol/streaming/full_node_streaming_manager.go @@ -220,60 +220,51 @@ func (sm *FullNodeStreamingManagerImpl) getNextAvailableSubscriptionId() uint32 return id } +func doFilterSubaccountStreamUpdate( + orderBookUpdate *clobtypes.StreamUpdate_OrderbookUpdate, + subaccountIdNumbers []uint32, + logger log.Logger, +) bool { + for _, orderBookUpdate := range orderBookUpdate.OrderbookUpdate.Updates { + orderBookUpdateSubaccountIdNumber, err := streaming_util.GetOffChainUpdateV1SubaccountIdNumber(orderBookUpdate) + if err == nil { + if slices.Contains(subaccountIdNumbers, orderBookUpdateSubaccountIdNumber) { + return true + } + } else { + logger.Error(err.Error()) + } + } + return false +} + // Filter StreamUpdates for subaccountIdNumbers // If a StreamUpdate_OrderUpdate contains no updates for subscribed subaccounts, drop message // If a StreamUpdate_OrderUpdate contains updates for subscribed subaccounts, construct a new // StreamUpdate_OrderUpdate with updates only for subscribed subaccounts -func (sub *OrderbookSubscription) FilterSubaccountStreamUpdates( - output chan []clobtypes.StreamUpdate, +func FilterSubaccountStreamUpdates( + updates []clobtypes.StreamUpdate, + subaccountIdNumbers []uint32, logger log.Logger, -) { - subaccountIdNumbers := make([]uint32, len(sub.subaccountIds)) - for i, subaccountId := range sub.subaccountIds { - subaccountIdNumbers[i] = subaccountId.Number - } - +) *[]clobtypes.StreamUpdate { // If reflection becomes too expensive, split updatesChannel by message type - for updates := range sub.updatesChannel { - filteredUpdates := []clobtypes.StreamUpdate{} - for _, update := range updates { - switch updateMessage := update.UpdateMessage.(type) { - case *clobtypes.StreamUpdate_OrderbookUpdate: - orderBookUpdates := []ocutypes.OffChainUpdateV1{} - for _, orderBookUpdate := range updateMessage.OrderbookUpdate.Updates { - orderBookUpdateSubaccountIdNumber, err := streaming_util.GetOffChainUpdateV1SubaccountIdNumber(orderBookUpdate) - if err == nil { - if slices.Contains(subaccountIdNumbers, orderBookUpdateSubaccountIdNumber) { - orderBookUpdates = append(orderBookUpdates, orderBookUpdate) - } - } else { - logger.Error(err.Error()) - } - } - // Drop the StreamUpdate_OrderbookUpdate if all updates inside were dropped - if len(orderBookUpdates) > 0 { - if len(orderBookUpdates) < len(updateMessage.OrderbookUpdate.Updates) { - update = clobtypes.StreamUpdate{ - BlockHeight: update.BlockHeight, - ExecMode: update.ExecMode, - UpdateMessage: &clobtypes.StreamUpdate_OrderbookUpdate{ - OrderbookUpdate: &clobtypes.StreamOrderbookUpdate{ - Snapshot: updateMessage.OrderbookUpdate.Snapshot, - Updates: orderBookUpdates, - }, - }, - } - } - filteredUpdates = append(filteredUpdates, update) - } - default: + filteredUpdates := []clobtypes.StreamUpdate{} + for _, update := range updates { + switch updateMessage := update.UpdateMessage.(type) { + case *clobtypes.StreamUpdate_OrderbookUpdate: + if doFilterSubaccountStreamUpdate(updateMessage, subaccountIdNumbers, logger) { filteredUpdates = append(filteredUpdates, update) } - } - if len(filteredUpdates) > 0 { - output <- filteredUpdates + default: + filteredUpdates = append(filteredUpdates, update) } } + + if len(filteredUpdates) > 0 { + return &filteredUpdates + } else { + return nil + } } // Subscribe subscribes to the orderbook updates stream. @@ -281,7 +272,7 @@ func (sm *FullNodeStreamingManagerImpl) Subscribe( clobPairIds []uint32, subaccountIds []*satypes.SubaccountId, marketIds []uint32, - filterOrders bool, + filterOrdersBySubAccountId bool, messageSender types.OutgoingMessageSender, ) ( err error, @@ -290,11 +281,17 @@ func (sm *FullNodeStreamingManagerImpl) Subscribe( if len(clobPairIds) == 0 && len(subaccountIds) == 0 && len(marketIds) == 0 { return types.ErrInvalidStreamingRequest } + if filterOrdersBySubAccountId && (len(subaccountIds) == 0) { + sm.logger.Error("filterOrdersBySubaccountId with no subaccountIds") + return types.ErrInvalidStreamingRequest + } sm.Lock() sIds := make([]satypes.SubaccountId, len(subaccountIds)) + subaccountIdNumbers := make([]uint32, len(subaccountIds)) for i, subaccountId := range subaccountIds { sIds[i] = *subaccountId + subaccountIdNumbers[i] = subaccountId.Number } subscription := sm.NewOrderbookSubscription(clobPairIds, sIds, marketIds, messageSender) @@ -346,27 +343,15 @@ func (sm *FullNodeStreamingManagerImpl) Subscribe( sm.EmitMetrics() sm.Unlock() - // If filterOrders, listen to filtered channel and start filter goroutine - // Error if filterOrders but no subaccounts are subscribed - filteredUpdateChannel := subscription.updatesChannel - if filterOrders { - if len(subaccountIds) == 0 { - sm.logger.Error( - fmt.Sprintf( - "filterOrders requires subaccountIds for subscription id: %+v", - subscription.subscriptionId, - ), - ) - } else { - filteredUpdateChannel = make(chan []clobtypes.StreamUpdate, sm.maxSubscriptionChannelSize) - defer close(filteredUpdateChannel) - go subscription.FilterSubaccountStreamUpdates(filteredUpdateChannel, sm.logger) - } - } - // Use current goroutine to consistently poll subscription channel for updates // to send through stream. - for updates := range filteredUpdateChannel { + for updates := range subscription.updatesChannel { + if filterOrdersBySubAccountId { + filteredUpdates := FilterSubaccountStreamUpdates(updates, subaccountIdNumbers, sm.logger) + if filteredUpdates != nil { + updates = *filteredUpdates + } + } metrics.IncrCounterWithLabels( metrics.GrpcSendResponseToSubscriberCount, 1, diff --git a/protocol/streaming/full_node_streaming_manager_test.go b/protocol/streaming/full_node_streaming_manager_test.go index 8d8e63eaeb..bf7bcad61d 100644 --- a/protocol/streaming/full_node_streaming_manager_test.go +++ b/protocol/streaming/full_node_streaming_manager_test.go @@ -255,7 +255,7 @@ func NewOrder(id clobtypes.OrderId) *clobtypes.Order { } type TestCase struct { - updates *[]clobtypes.StreamUpdate + updates []clobtypes.StreamUpdate subaccountIds []uint32 filteredUpdates *[]clobtypes.StreamUpdate } @@ -317,137 +317,147 @@ func TestFilterStreamUpdates(t *testing.T) { tests := map[string]TestCase{ "baseInScope": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate}, subaccountIds: []uint32{orderId.SubaccountId.Number}, filteredUpdates: &[]clobtypes.StreamUpdate{baseStreamUpdate}, }, "baseNotInScope": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate}, subaccountIds: []uint32{0}, filteredUpdates: nil, }, "otherInScope": { - updates: &[]clobtypes.StreamUpdate{otherStreamUpdate}, + updates: []clobtypes.StreamUpdate{otherStreamUpdate}, subaccountIds: []uint32{otherSubaccountIdNumber}, filteredUpdates: &[]clobtypes.StreamUpdate{otherStreamUpdate}, }, "otherNotInScope": { - updates: &[]clobtypes.StreamUpdate{otherStreamUpdate}, + updates: []clobtypes.StreamUpdate{otherStreamUpdate}, subaccountIds: []uint32{subaccountIdNumber}, filteredUpdates: nil, }, "bothInScope": { - updates: &[]clobtypes.StreamUpdate{bothStreamUpdate}, + updates: []clobtypes.StreamUpdate{bothStreamUpdate}, subaccountIds: []uint32{subaccountIdNumber, otherSubaccountIdNumber}, filteredUpdates: &[]clobtypes.StreamUpdate{bothStreamUpdate}, }, "bothOtherInScope": { - updates: &[]clobtypes.StreamUpdate{bothStreamUpdate}, + updates: []clobtypes.StreamUpdate{bothStreamUpdate}, + subaccountIds: []uint32{otherSubaccountIdNumber}, + filteredUpdates: &[]clobtypes.StreamUpdate{bothStreamUpdate}, + }, + "bothSequentiallyOtherInScope": { + updates: []clobtypes.StreamUpdate{baseStreamUpdate, otherStreamUpdate}, subaccountIds: []uint32{otherSubaccountIdNumber}, filteredUpdates: &[]clobtypes.StreamUpdate{otherStreamUpdate}, }, "bothBaseInScope": { - updates: &[]clobtypes.StreamUpdate{bothStreamUpdate}, + updates: []clobtypes.StreamUpdate{bothStreamUpdate}, + subaccountIds: []uint32{subaccountIdNumber}, + filteredUpdates: &[]clobtypes.StreamUpdate{bothStreamUpdate}, + }, + "bothSequentiallyBaseInScope": { + updates: []clobtypes.StreamUpdate{baseStreamUpdate, otherStreamUpdate}, subaccountIds: []uint32{subaccountIdNumber}, filteredUpdates: &[]clobtypes.StreamUpdate{baseStreamUpdate}, }, "bothNoneInScopeWrongId": { - updates: &[]clobtypes.StreamUpdate{bothStreamUpdate}, + updates: []clobtypes.StreamUpdate{bothStreamUpdate}, subaccountIds: []uint32{404}, filteredUpdates: nil, }, "bothNoneInScopeNoId": { - updates: &[]clobtypes.StreamUpdate{bothStreamUpdate}, + updates: []clobtypes.StreamUpdate{bothStreamUpdate}, subaccountIds: []uint32{}, filteredUpdates: nil, }, "noUpdates": { - updates: &[]clobtypes.StreamUpdate{}, + updates: []clobtypes.StreamUpdate{}, subaccountIds: []uint32{subaccountIdNumber}, filteredUpdates: nil, }, "noUpdatesNoId": { - updates: &[]clobtypes.StreamUpdate{}, + updates: []clobtypes.StreamUpdate{}, subaccountIds: []uint32{}, filteredUpdates: nil, }, "orderBookFillUpdates": { - updates: &[]clobtypes.StreamUpdate{*orderBookFillUpdate}, + updates: []clobtypes.StreamUpdate{*orderBookFillUpdate}, subaccountIds: []uint32{}, filteredUpdates: &[]clobtypes.StreamUpdate{*orderBookFillUpdate}, }, "orderBookFillUpdatesDropUpdate": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *orderBookFillUpdate, otherStreamUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate, *orderBookFillUpdate, otherStreamUpdate}, subaccountIds: []uint32{}, filteredUpdates: &[]clobtypes.StreamUpdate{*orderBookFillUpdate}, }, "orderBookFillUpdatesFilterUpdate": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *orderBookFillUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate, *orderBookFillUpdate}, subaccountIds: []uint32{subaccountIdNumber}, filteredUpdates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *orderBookFillUpdate}, }, "orderBookFillUpdatesFilterAndDropUpdate": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *orderBookFillUpdate, otherStreamUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate, *orderBookFillUpdate, otherStreamUpdate}, subaccountIds: []uint32{subaccountIdNumber}, filteredUpdates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *orderBookFillUpdate}, }, "takerOrderUpdates": { - updates: &[]clobtypes.StreamUpdate{*takerOrderUpdate}, + updates: []clobtypes.StreamUpdate{*takerOrderUpdate}, subaccountIds: []uint32{}, filteredUpdates: &[]clobtypes.StreamUpdate{*takerOrderUpdate}, }, "takerOrderUpdatesDropUpdate": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *takerOrderUpdate, otherStreamUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate, *takerOrderUpdate, otherStreamUpdate}, subaccountIds: []uint32{}, filteredUpdates: &[]clobtypes.StreamUpdate{*takerOrderUpdate}, }, "takerOrderUpdatesFilterUpdate": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *takerOrderUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate, *takerOrderUpdate}, subaccountIds: []uint32{subaccountIdNumber}, filteredUpdates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *takerOrderUpdate}, }, "takerOrderUpdatesFilterAndDropUpdate": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *takerOrderUpdate, otherStreamUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate, *takerOrderUpdate, otherStreamUpdate}, subaccountIds: []uint32{subaccountIdNumber}, filteredUpdates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *takerOrderUpdate}, }, "subaccountUpdates": { - updates: &[]clobtypes.StreamUpdate{*subaccountUpdate}, + updates: []clobtypes.StreamUpdate{*subaccountUpdate}, subaccountIds: []uint32{}, filteredUpdates: &[]clobtypes.StreamUpdate{*subaccountUpdate}, }, "subaccountUpdatesDropUpdate": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *subaccountUpdate, otherStreamUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate, *subaccountUpdate, otherStreamUpdate}, subaccountIds: []uint32{}, filteredUpdates: &[]clobtypes.StreamUpdate{*subaccountUpdate}, }, "subaccountUpdatesFilterUpdate": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *subaccountUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate, *subaccountUpdate}, subaccountIds: []uint32{subaccountIdNumber}, filteredUpdates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *subaccountUpdate}, }, "subaccountUpdatesFilterAndDropUpdate": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *subaccountUpdate, otherStreamUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate, *subaccountUpdate, otherStreamUpdate}, subaccountIds: []uint32{subaccountIdNumber}, filteredUpdates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *subaccountUpdate}, }, "priceUpdates": { - updates: &[]clobtypes.StreamUpdate{*priceUpdate}, + updates: []clobtypes.StreamUpdate{*priceUpdate}, subaccountIds: []uint32{}, filteredUpdates: &[]clobtypes.StreamUpdate{*priceUpdate}, }, "priceUpdatesDropUpdate": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *priceUpdate, otherStreamUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate, *priceUpdate, otherStreamUpdate}, subaccountIds: []uint32{}, filteredUpdates: &[]clobtypes.StreamUpdate{*priceUpdate}, }, "priceUpdatesFilterUpdate": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *priceUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate, *priceUpdate}, subaccountIds: []uint32{subaccountIdNumber}, filteredUpdates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *priceUpdate}, }, "priceUpdatesFilterAndDropUpdate": { - updates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *priceUpdate, otherStreamUpdate}, + updates: []clobtypes.StreamUpdate{baseStreamUpdate, *priceUpdate, otherStreamUpdate}, subaccountIds: []uint32{subaccountIdNumber}, filteredUpdates: &[]clobtypes.StreamUpdate{baseStreamUpdate, *priceUpdate}, }, @@ -455,23 +465,12 @@ func TestFilterStreamUpdates(t *testing.T) { for name, testCase := range tests { t.Run(name, func(t *testing.T) { - func() { - filteredUpdatesChannel := make(chan []clobtypes.StreamUpdate, maxSubscriptionChannelSize) - defer close(filteredUpdatesChannel) - updatesChannel := make(chan []clobtypes.StreamUpdate, maxSubscriptionChannelSize) - defer close(updatesChannel) - - subscription := NewOrderbookSubscription(testCase.subaccountIds, updatesChannel) - go subscription.FilterSubaccountStreamUpdates(filteredUpdatesChannel, logger) - updatesChannel <- *testCase.updates - - if testCase.filteredUpdates != nil { - require.Equal(t, <-filteredUpdatesChannel, *testCase.filteredUpdates) - } else { - time.Sleep(noMessagesMaxSleep) - require.Equal(t, len(filteredUpdatesChannel), 0) - } - }() + filteredUpdates := streaming.FilterSubaccountStreamUpdates(testCase.updates, testCase.subaccountIds, logger) + if testCase.filteredUpdates != nil { + require.Equal(t, *filteredUpdates, *testCase.filteredUpdates) + } else { + require.Nil(t, filteredUpdates) + } }) } } diff --git a/protocol/x/clob/keeper/grpc_stream_orderbook.go b/protocol/x/clob/keeper/grpc_stream_orderbook.go index f770fead66..0de49b3c81 100644 --- a/protocol/x/clob/keeper/grpc_stream_orderbook.go +++ b/protocol/x/clob/keeper/grpc_stream_orderbook.go @@ -12,7 +12,7 @@ func (k Keeper) StreamOrderbookUpdates( req.GetClobPairId(), req.GetSubaccountIds(), req.GetMarketIds(), - req.GetFilterOrders(), + req.GetFilterOrdersBySubaccountId(), stream, ) if err != nil { diff --git a/protocol/x/clob/types/query.pb.go b/protocol/x/clob/types/query.pb.go index 5055651264..97904a6572 100644 --- a/protocol/x/clob/types/query.pb.go +++ b/protocol/x/clob/types/query.pb.go @@ -858,8 +858,9 @@ type StreamOrderbookUpdatesRequest struct { SubaccountIds []*types.SubaccountId `protobuf:"bytes,2,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"` // Market ids for price updates. MarketIds []uint32 `protobuf:"varint,3,rep,packed,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"` - // Filter order updates in addition to position updates - FilterOrders bool `protobuf:"varint,4,opt,name=filter_orders,json=filterOrders,proto3" json:"filter_orders,omitempty"` + // Filter order updates by subaccount IDs. + // If true, the orderbook updates only include orders from provided subaccount IDs. + FilterOrdersBySubaccountId bool `protobuf:"varint,4,opt,name=filter_orders_by_subaccount_id,json=filterOrdersBySubaccountId,proto3" json:"filter_orders_by_subaccount_id,omitempty"` } func (m *StreamOrderbookUpdatesRequest) Reset() { *m = StreamOrderbookUpdatesRequest{} } @@ -916,9 +917,9 @@ func (m *StreamOrderbookUpdatesRequest) GetMarketIds() []uint32 { return nil } -func (m *StreamOrderbookUpdatesRequest) GetFilterOrders() bool { +func (m *StreamOrderbookUpdatesRequest) GetFilterOrdersBySubaccountId() bool { if m != nil { - return m.FilterOrders + return m.FilterOrdersBySubaccountId } return false } @@ -1449,119 +1450,120 @@ func init() { func init() { proto.RegisterFile("dydxprotocol/clob/query.proto", fileDescriptor_3365c195b25c5bc0) } var fileDescriptor_3365c195b25c5bc0 = []byte{ - // 1789 bytes of a gzipped FileDescriptorProto + // 1798 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x58, 0x4d, 0x6c, 0xdc, 0xc6, - 0x15, 0x5e, 0x4a, 0xb2, 0x2d, 0xbd, 0x95, 0x14, 0x69, 0x1c, 0x3b, 0x9b, 0x95, 0xbc, 0x92, 0xe9, + 0x15, 0x5e, 0x4a, 0xb2, 0x2d, 0xbd, 0xb5, 0x14, 0x69, 0x1c, 0x3b, 0x9b, 0x95, 0xbc, 0x92, 0xe9, 0x58, 0xd6, 0x3a, 0xf1, 0x52, 0x56, 0x82, 0x20, 0xb5, 0x8b, 0x14, 0x96, 0x5b, 0x5b, 0x46, 0xad, - 0x44, 0xa1, 0x15, 0x47, 0x68, 0x03, 0x10, 0xb3, 0xe4, 0xec, 0x6a, 0x20, 0x92, 0xb3, 0x22, 0x87, + 0x44, 0xa1, 0x14, 0x47, 0x68, 0x03, 0x10, 0xb3, 0xe4, 0xec, 0x6a, 0x20, 0x92, 0xb3, 0x22, 0x87, 0x0b, 0x09, 0x45, 0x51, 0xa0, 0x87, 0x5c, 0xda, 0x02, 0x05, 0x7a, 0xe8, 0xa1, 0xe8, 0xa9, 0xe7, - 0x02, 0xbd, 0xf4, 0xd8, 0xbf, 0x5b, 0x8e, 0x06, 0xda, 0x43, 0x0f, 0x45, 0x51, 0xd8, 0x3d, 0xf7, - 0xd8, 0x73, 0xc0, 0x99, 0xe1, 0x2e, 0xb9, 0x24, 0x57, 0xb2, 0x2e, 0x12, 0xe7, 0xcd, 0x7b, 0xdf, - 0x7c, 0xef, 0xcd, 0x9b, 0x37,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c, 0x0b, 0x0f, 0x98, 0xdc, - 0xfd, 0x69, 0x73, 0x30, 0x46, 0xfb, 0xc3, 0x7c, 0x93, 0xa7, 0xe3, 0xa3, 0x2c, 0x1f, 0xd5, 0x4c, - 0xb7, 0xf2, 0xad, 0xf3, 0xa7, 0x9d, 0xce, 0xc3, 0x58, 0x20, 0x17, 0x79, 0x7e, 0x77, 0x34, 0x11, - 0x7f, 0xaf, 0xc1, 0xe5, 0x82, 0xcd, 0x43, 0xf7, 0x41, 0x1c, 0x52, 0xd9, 0x37, 0xa9, 0xba, 0xb4, - 0x5c, 0xd2, 0xef, 0x89, 0xbe, 0xc8, 0x14, 0xed, 0xa1, 0xf8, 0x44, 0x1f, 0xc2, 0x45, 0x75, 0xbc, - 0x24, 0xdb, 0x5a, 0xd9, 0x25, 0xa1, 0xd8, 0x28, 0xed, 0xf8, 0x10, 0xa4, 0x0a, 0xb5, 0x3c, 0xbe, - 0x53, 0x66, 0x75, 0x58, 0xa9, 0x43, 0xfd, 0xab, 0x09, 0x58, 0x18, 0x4d, 0x11, 0xb4, 0x01, 0x17, - 0x64, 0x5a, 0x49, 0x9e, 0xa5, 0xcb, 0x6d, 0x57, 0x4c, 0xa9, 0x88, 0xf6, 0x61, 0x31, 0x55, 0x37, - 0x55, 0x52, 0x4e, 0x94, 0x5e, 0x37, 0x72, 0xc5, 0x54, 0x0d, 0x4e, 0xe0, 0x16, 0xdc, 0x11, 0x19, - 0xfa, 0x02, 0x50, 0x2a, 0xd1, 0xad, 0x90, 0x63, 0x1e, 0x85, 0xea, 0x28, 0x36, 0xcf, 0x90, 0xef, - 0xcf, 0x84, 0x81, 0xb9, 0xc0, 0x47, 0x24, 0x5b, 0x73, 0x99, 0x13, 0xa4, 0xff, 0x41, 0x83, 0xab, - 0xc5, 0xb6, 0x71, 0x18, 0x33, 0x8b, 0xab, 0x5a, 0xc2, 0x52, 0x2a, 0x77, 0x00, 0x05, 0xc4, 0xc3, - 0xd4, 0xa7, 0x7e, 0xd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 0xa6, 0x56, 0x21, 0xba, 0x0e, 0xe0, 0xe1, 0xe0, 0x90, 0x48, 0x55, 0x93, + 0xe2, 0xb8, 0x19, 0x49, 0x89, 0xb7, 0x37, 0xa1, 0xd1, 0xa1, 0x2e, 0x27, 0x81, 0x25, 0x72, 0x24, + 0xb4, 0xda, 0x27, 0x56, 0xe6, 0xf8, 0xda, 0x94, 0x08, 0x7f, 0x5d, 0x72, 0x09, 0xb3, 0xc2, 0xcd, + 0x93, 0xf4, 0x89, 0x3a, 0x86, 0x46, 0x99, 0xd1, 0xca, 0x85, 0xdf, 0x81, 0x4b, 0x6a, 0x74, 0x51, + 0xe5, 0x79, 0xb9, 0x20, 0xa2, 0x52, 0x87, 0x14, 0x4d, 0xae, 0x8a, 0x92, 0xd2, 0xff, 0x3f, 0x09, + 0x97, 0xd3, 0xfb, 0xe8, 0x06, 0x5c, 0x96, 0x25, 0xe0, 0x80, 0xd0, 0xee, 0x01, 0x57, 0xf1, 0xa8, + 0x0a, 0xda, 0x96, 0x20, 0xa1, 0x45, 0x98, 0x21, 0xc7, 0xc4, 0xb6, 0x3c, 0xe6, 0x10, 0x91, 0xe3, + 0xb3, 0xe6, 0x74, 0x4c, 0xd8, 0x66, 0x0e, 0x41, 0x9f, 0xc3, 0x3c, 0x4b, 0xd0, 0xaa, 0xb1, 0x4a, + 0x24, 0x7a, 0x75, 0x63, 0xad, 0x14, 0xda, 0x88, 0x79, 0x5b, 0x15, 0xf3, 0x0d, 0x96, 0x25, 0xc5, + 0x4d, 0x5d, 0xde, 0xd9, 0xf8, 0x32, 0x09, 0xd7, 0x15, 0xf7, 0xd6, 0x11, 0x85, 0x8f, 0xa9, 0xeb, + 0x6e, 0x55, 0xcc, 0x19, 0x21, 0x1b, 0x2f, 0xd0, 0x63, 0xa8, 0x72, 0x7c, 0x98, 0x84, 0xa5, 0x76, + 0x41, 0x68, 0xba, 0x59, 0xaa, 0x69, 0x2f, 0xe6, 0x15, 0xea, 0xb6, 0x2a, 0x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 0xf7, 0x84, 0x47, 0x56, + 0xd1, 0x3b, 0x05, 0x1e, 0xc9, 0xcd, 0xe8, 0xe8, 0x27, 0x49, 0xc5, 0x1f, 0x9d, 0x4b, 0xd1, 0xfa, + 0x59, 0x67, 0xbc, 0x64, 0x6e, 0xaf, 0xdf, 0x7b, 0x0d, 0x09, 0x09, 0x76, 0x5d, 0xdb, 0xdc, 0xf9, + 0xfa, 0x65, 0x43, 0x7b, 0xf1, 0xb2, 0xa1, 0xfd, 0xfb, 0x65, 0x43, 0xfb, 0xe5, 0xab, 0x46, 0xe5, + 0xc5, 0xab, 0x46, 0xe5, 0x1f, 0xaf, 0x1a, 0x95, 0x1f, 0x7c, 0xd8, 0xa5, 0xfc, 0x20, 0x6a, 0xb7, + 0x6c, 0xe6, 0x65, 0x4d, 0xe9, 0x7f, 0x70, 0x57, 0x0c, 0x24, 0xc6, 0x80, 0x72, 0x2c, 0xcd, 0xe3, + 0x27, 0x3d, 0x12, 0xb6, 0x2f, 0x0a, 0xf2, 0xfb, 0xdf, 0x04, 0x00, 0x00, 0xff, 0xff, 0x55, 0xfb, + 0x6d, 0x6f, 0xdd, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2568,9 +2570,9 @@ func (m *StreamOrderbookUpdatesRequest) MarshalToSizedBuffer(dAtA []byte) (int, _ = i var l int _ = l - if m.FilterOrders { + if m.FilterOrdersBySubaccountId { i-- - if m.FilterOrders { + if m.FilterOrdersBySubaccountId { dAtA[i] = 1 } else { dAtA[i] = 0 @@ -3304,7 +3306,7 @@ func (m *StreamOrderbookUpdatesRequest) Size() (n int) { } n += 1 + sovQuery(uint64(l)) + l } - if m.FilterOrders { + if m.FilterOrdersBySubaccountId { n += 2 } return n @@ -5114,7 +5116,7 @@ func (m *StreamOrderbookUpdatesRequest) Unmarshal(dAtA []byte) error { } case 4: if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field FilterOrders", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field FilterOrdersBySubaccountId", wireType) } var v int for shift := uint(0); ; shift += 7 { @@ -5131,7 +5133,7 @@ func (m *StreamOrderbookUpdatesRequest) Unmarshal(dAtA []byte) error { break } } - m.FilterOrders = bool(v != 0) + m.FilterOrdersBySubaccountId = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:])