Page MenuHomePhabricator

[Chronik] Add `BitcoinSer` and `BitcoinSerializer`
ClosedPublic

Authored by tobias_ruck on Apr 29 2023, 22:33.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC28742beefd35: [Chronik] Add `BitcoinSer` and `BitcoinSerializer`
Summary

BitcoinSer is implemented by structs to serialize them. BitcoinSerializer is implemented to define how the serialization should be performed, e.g. BytesMut appends the bytes, and usize accumulates the length of the data.

Depends on D13831.

Test Plan

ninja check-crates

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-bitcoin-ser
Lint
Lint Passed
SeverityLocationCodeMessage
Auto-Fixchronik/bitcoinsuite-core/src/ser.rs:19WHITESPACE1Found trailing whitespace(s).
Unit
No Test Coverage
Build Status
Buildable 23575
Build 46764: Build Diffbuild-chronik
Build 46763: arc lint + arc unit