Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxCacheLen = 128 //number of jobs held in cache
)
Variables ¶
View Source
var (
ErrCacheFull = errors.New("Cache: Cache filled up")
)
Functions ¶
This section is empty.
Types ¶
type JobCache ¶
type JobCache struct {
// contains filtered or unexported fields
}
func NewJobCache ¶
func NewJobCache(bc *core.BlockChain) *JobCache
func NewJobCacheNoWatch ¶
func NewJobCacheNoWatch(bc *core.BlockChain) *JobCache
creates a new jobcache without updating every minute
Click to show internal directories.
Click to hide internal directories.