// txPricedList is a priced-sorted heap to allow operating on transactions pool
// contents in a priced-incrementing way.
type txPricedList struct {
all *txLookup // Pointer to the map of all transactions
items *priceHeap // Heap of prices of all the stored transactions
stales int // Number of stale priced points to (re-heap trigger)
}
priceHeap
// priceHeap is a heap.Interface implementation over transactions for retrieving
// priced-sorted transactions to discard when the pool fills up.
type priceHeap []*types.Transaction