Skip to content

Refactor PushTx network code to use Moya#4

Closed
dergigi wants to merge 2 commits intoAlamofire5from
refactor-pushtx
Closed

Refactor PushTx network code to use Moya#4
dergigi wants to merge 2 commits intoAlamofire5from
refactor-pushtx

Conversation

@dergigi
Copy link
Owner

@dergigi dergigi commented Apr 21, 2020

Using SamouraiAPI and the existing Samourai MoyaProvider streamlines the code and eliminates duplicate code (most importantly the endpoint definition). Will make using a different endpoint (🧅) for all API calls easier.

Note: Having the possibility to use testnet for DEBUG builds would be great. It would make testing easier and less expensive. A comprehensive test suite would be awesome as well, but I'll have to give that some thought. Some things might be challenging to test properly in an automatic fashion.

@dergigi
Copy link
Owner Author

dergigi commented Apr 30, 2020

Merged upstream with Samourai-Wallet#11

@dergigi dergigi closed this Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant