HomePhabricator

[Chronik] Add `compress_script` and `decompress_script` to `chronik-bridge` FFI

Description

[Chronik] Add compress_script and decompress_script to chronik-bridge FFI

Summary: Used to reduce the size of scripts in the DB. We re-use the existing compression from the node.

Test Plan: ninja test_bitcoin && ./src/test/test_bitcoin -t bridgecompression_tests

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

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

Details

Provenance
tobias_ruckAuthored on Apr 3 2023, 13:11
tobias_ruckPushed on Apr 3 2023, 17:12
Reviewer
Restricted Project
Differential Revision
D13534: [Chronik] Add `compress_script` and `decompress_script` to `chronik-bridge` FFI
Parents
rABC5e3e2c388afd: [Chronik] Add `ScriptVariant` and `ScriptType`
Branches
Unknown
Tags
Unknown