View definition

(*txPriorityQueue).SetLessFunc

Defined in github.com/btcsuite/btcd/mining.go

Description

SetLessFunc sets the compare function for the priority queue to the provided function. It also invokes heap.Init on the priority queue using the new function so it can immediately be used with heap.Push/Pop.

SetLessFunc is referenced in 1 repository

github.com/btcsuite/btcd