Skip to content

Commit f16d93a

Browse files
authored
Merge pull request #1896 from evoskuil/master
Change silent payment scan_key to ec_secret.
2 parents 1287f51 + 607556a commit f16d93a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

include/bitcoin/system/crypto/secp256k1_batch.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ struct BC_API batch
115115
batched::tx_link link;
116116

117117
static void scan(const stopper& cancel, const span& batch,
118-
const ec_compressed& scan_key, const handler& callback) NOEXCEPT;
118+
const ec_secret& scan_key, const handler& callback) NOEXCEPT;
119119
};
120120

121121
} // namespace silent

src/crypto/secp256k1/batch.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ links_t schnorr::batch::verify(const stopper& cancel,
348348
#if defined(HAVE_ULTRAFAST)
349349

350350
void silent::batch::scan(const stopper& , const span& ,
351-
const ec_compressed& , const handler& ) NOEXCEPT
351+
const ec_secret& , const handler& ) NOEXCEPT
352352
{
353353
// TODO: iterate over chunked subsets or entire set.
354354
// TODO: correlate matches to tx link column and invoke callback.
@@ -357,7 +357,7 @@ void silent::batch::scan(const stopper& , const span& ,
357357
#else
358358

359359
void silent::batch::scan(const stopper& , const span& ,
360-
const ec_compressed& , const handler& ) NOEXCEPT
360+
const ec_secret& , const handler& ) NOEXCEPT
361361
{
362362
// TODO: iterate results set in cancellable parallel loop over full space.
363363
// TODO: correlate matches to tx link and invoke callback.

0 commit comments

Comments
 (0)