Skip to content

Adding Validations  #50

Description

@granthoff1107

We should Add validations for certain things such as creating transactions.
When creating transactions amounts should be fixed at 8 decimal places, etc

Activity

  1. bchavez commented on Jan 4, 2019

    @bchavez
    Owner

    Does Coinbase give back an error if the number of decimal places is off?

    I prefer not to have any (or very little) validation in the client and have all validation being done on their servers. Mostly for maintenance reasons, as their limits/validation-rules can change over time wont require us to change too.

    It could be helpful to have the client throw before an HTTP request gets sent; however, if the consumer gets the same error result client-side as they do server-side, then I think it would just be duplicate validation work.

    IMHO, we should just provide the minimum transport mechanism to get requests on-boarded to their server network to do work.

    What other validation did you have in mind besides the fixed 8 decimal places?

  2. granthoff1107 commented on Jan 5, 2019

    @granthoff1107
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions