thenewboston-blockchain / Kotlin-SDK

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

Implement POST request for Crawl endpoint in Confirmation Validator API #137

Closed IanArb closed 3 years ago

IanArb commented 3 years ago

AS an SDK user and confirmation validator I WANT to browse nodes in order to discover new ones SO THAT I can connect to any new node encountered and send a crawl status notifications with results.

Description Reuse 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/crawl