git.gammaspectra.live/P2Pool/consensus@v0.0.0-20240403173234-a039820b20c9/monero/block/func.go (about)

     1  package block
     2  
     3  import (
     4  	"git.gammaspectra.live/P2Pool/consensus/types"
     5  )
     6  
     7  type GetDifficultyByHeightFunc func(height uint64) types.Difficulty
     8  type GetSeedByHeightFunc func(height uint64) (hash types.Hash)
     9  type GetBlockHeaderByHashFunc func(hash types.Hash) *Header
    10  type GetBlockHeaderByHeightFunc func(height uint64) *Header