mirror of
https://github.com/grassrootseconomics/eth-tracker.git
synced 2026-09-04 08:23:15 +02:00
init: base structure
This commit is contained in:
13
internal/queue/queue.go
Normal file
13
internal/queue/queue.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package queue
|
||||
|
||||
import (
|
||||
"github.com/celo-org/celo-blockchain/core/types"
|
||||
"github.com/ef-ds/deque/v2"
|
||||
)
|
||||
|
||||
type (
|
||||
Queue struct {
|
||||
BlocksQueue *deque.Deque[types.Block]
|
||||
BatchQueue *deque.Deque[uint64]
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user