Page MenuHomePhabricator

Merge #12752: [MOVEONLY] Move compressor utility functions out of class
ClosedPublic

Authored by nakihito on Aug 17 2019, 01:07.

Details

Summary

76a9aac Move compressor utility functions out of class (Pieter Wuille)

Pull request description:

This is a refactor from #10785 with no functionality change.

Move the compresion utility functions out of CScriptCompressor, as a preparation for making the class templated. I'm submitting it as a separate PR as I think it's a general improvement to code readability, and to reduce the diff further on.

Tree-SHA512: 3b3d17c2b96e43f752f512dd573296a6bb15cae165fbe3c79212a0970f5196a62a59a821d5100f29638af1e7461c9171f3dccb8112f005ee08da0ec7fe0073fd

Backport of Core PR12752
https://github.com/bitcoin/bitcoin/pull/12752/

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a reviewer: Restricted Owners Package.Aug 17 2019, 01:07
Fabien requested changes to this revision.Aug 19 2019, 06:33
Fabien added inline comments.
src/test/compress_tests.cpp
33 ↗(On Diff #10853)

Undo

This revision now requires changes to proceed.Aug 19 2019, 06:33
This revision is now accepted and ready to land.Aug 19 2019, 19:22