@@ -27,14 +27,14 @@ namespace database {
2727
2828TEMPLATE
2929bool CLASS::verify_ecdsa_signatures (const stopper& cancel,
30- header_links& links ) NOEXCEPT
30+ header_links& ) NOEXCEPT
3131{
3232 // False return only implies canceled.
33- using batch = system::ecdsa::batch;
34- const auto count = store_.ecdsa .count ().value ;
35- const auto ptr = store_.ecdsa .get_memory ();
36- const auto rows = system::pointer_cast<const batch>(ptr->data ());
37- links = batch::verify (cancel, { rows, count });
33+ // // using batch = system::ecdsa::batch;
34+ // // const auto count = store_.ecdsa.count().value;
35+ // // const auto ptr = store_.ecdsa.get_memory();
36+ // // const auto rows = system::pointer_cast<const batch>(ptr->data());
37+ // // links = batch::verify(cancel, { rows, count });
3838 return !cancel;
3939}
4040
@@ -46,48 +46,50 @@ bool CLASS::purge_ecdsa_signatures() NOEXCEPT
4646{
4747 // ========================================================================
4848 const auto scope = store_.get_transactor ();
49- return store_.ecdsa .truncate (0 );
49+ return true ; // // store_.ecdsa.truncate(0);
5050 // ========================================================================
5151}
5252
5353TEMPLATE
54- bool CLASS::set_signature (const hash_digest& digest , const ec_compressed& point ,
55- const ec_signature& signature , uint16_t id , const header_link& link ) NOEXCEPT
54+ bool CLASS::set_signature (const hash_digest& , const ec_compressed& ,
55+ const ec_signature& , uint16_t , const header_link& ) NOEXCEPT
5656{
5757 // ========================================================================
5858 const auto scope = store_.get_transactor ();
5959
6060 // Clean single allocation failure (e.g. disk full).
61- return store_.ecdsa .put (table::ecdsa::put_single_ref
62- {
63- {},
64- digest,
65- point,
66- signature,
67- id,
68- link
69- });
61+ // //return store_.ecdsa.put(table::ecdsa::put_single_ref
62+ // //{
63+ // // {},
64+ // // digest,
65+ // // point,
66+ // // signature,
67+ // // id,
68+ // // link
69+ // //});
70+ return {};
7071 // ========================================================================
7172}
7273
7374TEMPLATE
74- bool CLASS::set_signatures (const hash_digest& digest ,
75- const ec_compresseds& keys , const ec_signatures& sigs , uint16_t id ,
76- const header_link& link ) NOEXCEPT
75+ bool CLASS::set_signatures (const hash_digest& ,
76+ const ec_compresseds& , const ec_signatures& , uint16_t ,
77+ const header_link& ) NOEXCEPT
7778{
7879 // ========================================================================
7980 const auto scope = store_.get_transactor ();
8081
8182 // Clean single allocation failure (e.g. disk full).
82- return store_.ecdsa .put (table::ecdsa::put_multiple_ref
83- {
84- {},
85- digest,
86- keys,
87- sigs,
88- id,
89- link
90- });
83+ // //return store_.ecdsa.put(table::ecdsa::put_multiple_ref
84+ // //{
85+ // // {},
86+ // // digest,
87+ // // keys,
88+ // // sigs,
89+ // // id,
90+ // // link
91+ // //});
92+ return {};
9193 // ========================================================================
9294}
9395
0 commit comments