HomePhabricator

[test_framework] Move hash160 to hash.py

Description

[test_framework] Move hash160 to hash.py

Summary:
There's really no good reason to have it part of script.py. This is part of an effort to make script.py independent of the rest of the framework so we can use it in the plugin system.

In the future, we can move the other hash frunctions from messages.py to hash.py, too.

Test Plan: ninja check-functional

Reviewers: Fabien, #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
tobias_ruckAuthored on Jul 30 2024, 11:48
tobias_ruckPushed on Jul 30 2024, 15:26
Reviewer
Restricted Project
Differential Revision
D16549: [test_framework] Move hash160 to hash.py
Parents
rABC61fc15d7c0df: [Chronik] Add `/plugin/:plugin_name/:group_hex/utxos` HTTP endpoint
Branches
Unknown
Tags
Unknown