Files
opentimestamps/verifier.go
2023-09-21 18:09:20 -03:00

12 lines
261 B
Go

package opentimestamps
import (
"github.com/btcsuite/btcd/chaincfg/chainhash"
"github.com/btcsuite/btcd/wire"
)
type Bitcoin interface {
GetBlockHash(height int64) (*chainhash.Hash, error)
GetBlockHeader(hash *chainhash.Hash) (*wire.BlockHeader, error)
}