• George Knee's avatar
    batcher: use abstract Queue type for blocks state (#12180) · d1f6501b
    George Knee authored
    * op-service: add queue package
    
    * batcher: use Queue type for blocks
    
    * revert changes to errors.As/Is
    
    * implement and use Peek operation
    
    * queue: add unit tests
    
    * add godoc
    
    * add more test cases
    
    permute expected / got
    
    * ensure enqueue and prepend are noops when args is empty
    
    * use queue.PeekN and queue.DequeueN
    
    * typo
    
    * queue: simplify method implementations
    
    * revert to old dequeue impl
    d1f6501b
Name
Last commit
Last update
..
batcher Loading commit data...
cmd Loading commit data...
compressor Loading commit data...
flags Loading commit data...
metrics Loading commit data...
rpc Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...