HomePhabricator

streams: Create VectorReader stream interface for vectors.

Description

streams: Create VectorReader stream interface for vectors.

Summary:
This is a read analogue for the existing CVectorWriter.

For BIP158; is cherry-picked from two commits (947133d and 87f2d9e) from:
https://github.com/bitcoin/bitcoin/pull/12254/commits

In addition, the buggy seek() method was removed per later backport:
https://github.com/bitcoin/bitcoin/pull/14357

Test Plan: make check

Reviewers: #bitcoin_abc, deadalnix, Fabien

Reviewed By: #bitcoin_abc, deadalnix, Fabien

Subscribers: Fabien

Maniphest Tasks: T589

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

Details

Provenance
jimpoAuthored on Jan 23 2018, 23:59
Mark Lundeberg <36528214+markblundeberg@users.noreply.github.com>Committed on Apr 16 2019, 22:34
markblundebergPushed on Apr 17 2019, 00:44
Reviewer
Restricted Project
Differential Revision
D2797: streams: Create VectorReader stream interface for vectors.
Parents
rSTAGINGbcaab422dcc8: [wallet] Close DB on error.
Branches
Unknown
Tags
Unknown