Skip to content
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

Transactions Can Have Multiple Jobs - Not Yet Handled #70

Open
owenkellogg opened this issue Jul 25, 2023 · 0 comments
Open

Transactions Can Have Multiple Jobs - Not Yet Handled #70

owenkellogg opened this issue Jul 25, 2023 · 0 comments

Comments

@owenkellogg
Copy link
Contributor

It may be the case that boostpow-cpuminer is fetching jobs by txid but not referencing a specific outpoint. The problem with that is it will often but attempting to fetch a job contained in an output index > 0 but the API will return only the job in the 0th output unless _${vout} is appended to the end of the request URL, i.e. https://pow.co/api/v1/boost/jobs/a5457b5e34d2f048b5e85dd334aade670090cf4488fb441fe4b1f23c057fade5_1

Bitcoin::prevout pow_co::job (const Bitcoin::txid &txid) {

Likely the pow_co_api file needs to be updated as well as wherever a call to fetch a job by txid takes place. These calls should replace txid with the txid_vout pattern.

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

No branches or pull requests

1 participant