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 Passed - Unit
No Test Coverage - Build Status
Buildable 15379 Build 30684: Build Diff build-diff · lint-circular-dependencies · build-without-wallet · build-clang-tidy · build-clang · build-debug Build 30683: arc lint + arc unit
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?