-
Notifications
You must be signed in to change notification settings - Fork 4
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
Adding isCleanUp to Transaction #38
Conversation
proto/api.proto
Outdated
@@ -610,6 +610,11 @@ message PostCancelAllRequest { | |||
repeated string openOrdersAddresses = 3; | |||
} | |||
|
|||
message Transaction { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DimaCantemir suggestion:
message TransactionMessage {
string content = 1;
bool isCleanup = 2;
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thoughts on if you want to make this universal, including endpoints that only return a single transaction? I'm a little mixed on the consistency of all endpoints vs. teh useless data fields
what specific endpoint you have in mind? I checked all other endpoints. they look clean to me so far. there is some validity with the consistency point that you are raising. if it looks awkwardly inconsistent, we can apply the same change later as well. it's a minor change. |
I was thinking all of them, for example
I'm leaning a bit more to consistency of fields vs. the unnecessary ones, but could be swayed either way. any thoughts @DimaCantemir @kdonthi @atulsriv @yobloxroute ? |
I think consistency of fields looks a bit cleaner. Not sure how much it really matters vs. keeping the unnecessary fields, but it looks better imo. |
hmm, that would be a bigger change, let's create a ticket for it, if we decide to go for all. |
i merge this for now |
No description provided.