thenewboston-blockchain / Kotlin-SDK

Kotlin-SDK for thenewboston.
https://thenewboston.com
MIT License
42 stars 19 forks source link

Implement POST request for update endpoint in Confirmation Validator API #138

Closed IanArb closed 3 years ago

IanArb commented 3 years ago

AS an SDK user and confirmation validator I WANT to send notice to other banks that I am leaving the network SO THAT I can switch to a new Primary Validator

Description Implement POST request in PostDataSource and expose the function in ConfirmationDataSource layer and then expose to the ConfirmationRepository.

Please write unit tests to cover cases.

**Note: If you can see where we can reuse some data models, please consider doing that.

Documentation - https://thenewboston.com/confirmation-validator-api/upgrade-request