Skip to content

Commit

Permalink
chaincfg/chainhash/hash.go: add BIP0322 generic signed message tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedawnallah committed Mar 30, 2024
1 parent 95330bc commit 1a43f80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chaincfg/chainhash/hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ const HashSize = 32
const MaxHashStringSize = HashSize * 2

var (
// TagBIP0322SignedMsg is the BIP-0322 tag for generic signed messages.
TagBIP0322SignedMsg = []byte("BIP0322-signed-message")

// TagBIP0340Challenge is the BIP-0340 tag for challenges.
TagBIP0340Challenge = []byte("BIP0340/challenge")

Expand Down

0 comments on commit 1a43f80

Please sign in to comment.