buildLocalSighash is extracted from sendHello and buildRemoteSighash will be used in D9327 to check the AVAHELLO message sent by a peer.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABCf07ea60dfe3a: [avalanche] implement buildRemoteSighash and buildLocalSighash
ninja all check-all
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
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?