HomePhabricator

refactor: Take Span in SetSeed

Description

refactor: Take Span in SetSeed

Summary:
This makes calling code less verbose and less fragile. Also, by adding
the CKey::data() member function, it is now possible to call HexStr()
with a CKey object.

This is a backport of core#23409

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, roqqit

Reviewed By: roqqit

Differential Revision: https://reviews.bitcoinabc.org/D17156

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Nov 1 2021, 12:59
PiRKCommitted on Nov 18 2024, 19:56
PiRKPushed on Nov 18 2024, 19:56
Reviewer
roqqit
Differential Revision
D17156: refactor: Take Span in SetSeed
Parents
rABC2ce28a323c56: scripted-diff: Rename ValidAsCString to ContainsNoNUL
Branches
Unknown
Tags
Unknown