Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/bitcoin/database/impl/query/batch/ecdsa.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ size_t CLASS::ecdsa_records(bool bank) const NOEXCEPT
}

TEMPLATE
bool CLASS::verify_ecdsa_signatures(const stopper& cancel,
header_links& links, bool& device, bool bank, bool gpu) NOEXCEPT
bool CLASS::verify_ecdsa_signatures(const stopper& cancel, bool& use_gpu,
header_links& links, bool bank) NOEXCEPT
{
auto& bank_table = store_.ecdsa_bank(bank);
const auto correlate_ptr = bank_table.correlate.get_memory();
Expand Down Expand Up @@ -64,7 +64,7 @@ bool CLASS::verify_ecdsa_signatures(const stopper& cancel,
};

// False return only implies canceled.
links = ecdsa::batch::verify(device, cancel, batch, gpu);
links = ecdsa::batch::verify(cancel, use_gpu, batch);
return !cancel;
}

Expand Down
6 changes: 3 additions & 3 deletions include/bitcoin/database/impl/query/batch/schnorr.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ size_t CLASS::schnorr_records(bool bank) const NOEXCEPT
}

TEMPLATE
bool CLASS::verify_schnorr_signatures(const stopper& cancel,
header_links& links, bool& device, bool bank, bool gpu) NOEXCEPT
bool CLASS::verify_schnorr_signatures(const stopper& cancel, bool& use_gpu,
header_links& links, bool bank) NOEXCEPT
{
auto& bank_table = store_.schnorr_bank(bank);
const auto correlate_ptr = bank_table.correlate.get_memory();
Expand Down Expand Up @@ -63,7 +63,7 @@ bool CLASS::verify_schnorr_signatures(const stopper& cancel,
};

// False return only implies canceled.
links = schnorr::batch::verify(device, cancel, batch, gpu);
links = schnorr::batch::verify(cancel, use_gpu, batch);
return !cancel;
}

Expand Down
Loading
Loading