We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d84c886 commit dc5fa28Copy full SHA for dc5fa28
opentimestamps/client/bitcoin.go
@@ -15,6 +15,12 @@ type BitcoinAttestationVerifier struct {
15
btcrpcClient *btcrpcclient.Client
16
}
17
18
+func NewBitcoinAttestationVerifier(
19
+ c *btcrpcclient.Client,
20
+) *BitcoinAttestationVerifier {
21
+ return &BitcoinAttestationVerifier{c}
22
+}
23
+
24
// VerifyAttestation checks a BitcoinAttestation using a given hash digest. It
25
// returns the time of the block if the verification succeeds, an error
26
// otherwise.
0 commit comments