buildLocalSighash is extracted from sendHello and buildRemoteSighash will be used in D9327 to check the AVAHELLO message sent by a peer.
- Group Reviewers
- rABCf07ea60dfe3a: [avalanche] implement buildRemoteSighash and buildLocalSighash
ninja all check-all
I just noticed that buildRemoteChallenge is already implemented in the test framework and is called get_sighash: https://reviews.bitcoinabc.org/source/bitcoin-abc/browse/master/test/functional/test_framework/messages.py$998
Maybe getSigHash is a more descriptive name?