-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Refactorings for api support #3611
Refactorings for api support #3611
Conversation
API will use getTradeStatistics and expect TradeStatistics2 not PersistableNetworkPayload
- Rename estimateTxSize to updateEstimatedFeeAndTxSize - Add getEstimatedFeeAndTxSize method to CreateOfferService - Add dependent methods and fields
- Use getBuyerSecurityDepositAsCoin and getSellerSecurityDepositAsCoin from CreateOfferService
- Use getEstimatedFeeAndTxSize from CreateOfferService for txFeeFromFeeService
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.
Ack - ie. passed a small smoke test. Changes look good though.
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.
ACK - Tested trading and offer editing on Regtest and everything still seems to work as is. Code looks fine as well.
For API access we need to move code for creating an offer to the core module.
https://github.com/chimp1984/bisq/tree/grpc is based on that code. This PR does not add anythign API related just prepares the required refactoring.