-
Notifications
You must be signed in to change notification settings - Fork 11
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
Validate BEEFs Using Block-Header-Service #629
Comments
To use go-paymail one need to implement PaymailServiceProvider interface We're leaving to the adopter to choose any implementation and any service that could provide this functionality. Is it sufficient for you? |
// VerifyMerkleRoots will verify the merkle roots by checking them in external header service - Block Headers Service
} here it is gotcha thanks @dorzepowski |
but i didnt find that it was getting used while receiving beef payment through paymail it should be called there what u think @dorzepowski |
@nikhil478 Hope this answered your question and doubts. |
Proposed Solution
Integrate the block-header-service to validate BEEFs when transactions are received from Paymail. This can be implemented by referencing the go-paymail examples.
Steps to Implement
Add integration code to validate BEEFs using the block-header-service.
Update relevant documentation to reflect the new validation process.
(Optional) Provide example code snippets or tests to demonstrate the validation process.
Additional Context
If there is a specific reason why the current implementation does not validate BEEFs using the block-header-service, please provide details. I am in the process of creating a customized version of this project and want to ensure proper BEEF validation.
Questions
Am I missing where the current implementation is verifying BEEFs?
Are there any challenges or reasons for not using the block-header-service for BEEF validation?
References : https://github.com/bitcoin-sv/go-paymail/blob/main/server/p2p_receive_transaction.go
The text was updated successfully, but these errors were encountered: