Page MenuHomePhabricator

move buildRemoteSighash out of the avalanche codebase
ClosedPublic

Authored by PiRK on Jun 28 2021, 09:31.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABC1829624f325e: move buildRemoteSighash out of the avalanche codebase
Summary

This function is only used once, and only in the network layer.
Move the code where it is needed, to make it easier to maintain.

This will make it easier to protect CNode::m_avalanche_state with a lock if we
decide to do so (see review of D9686)

Test Plan

ninja all check-all

Diff Detail

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