Page MenuHomePhabricator

[Chronik] Add `PubKey` struct
ClosedPublic

Authored by tobias_ruck on Mar 30 2023, 11:13.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCc68074a858a5: [Chronik] Add `PubKey` struct
Summary

PubKey is mostly intended as a struct to encapsulate the bytes of pubkeys and provide nice helper methods.

Test Plan

ninja check-crates

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-pubkey
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22837
Build 45294: Build Diffbuild-chronik
Build 45293: arc lint + arc unit

Event Timeline

Move PUBKEY_LENGTH to PubKey::SIZE

Make PubKey(array) the way to create PubKeys

This revision is now accepted and ready to land.Mar 30 2023, 14:59

add PubKeyArray and UncompressedPubKey

tobias_ruck retitled this revision from [Chronik] Add `PubKey` struct to [Chronik] Add `PubKey` and `UncompressedPubKey`.Apr 1 2023, 13:57
tobias_ruck edited the summary of this revision. (Show Details)
tobias_ruck edited the summary of this revision. (Show Details)
tobias_ruck edited the summary of this revision. (Show Details)

Revert back to the previous diff

tobias_ruck retitled this revision from [Chronik] Add `PubKey` and `UncompressedPubKey` to [Chronik] Add `PubKey` struct.Apr 1 2023, 14:13
tobias_ruck edited the summary of this revision. (Show Details)
This revision was landed with ongoing or failed builds.Apr 1 2023, 14:19
This revision was automatically updated to reflect the committed changes.