• Péter Szilágyi's avatar
    common/prque: generic priority queue (#26290) · bf1798e0
    Péter Szilágyi authored
    * common, core, eth, les, trie: make prque generic
    
    * les/vflux/server: fixed issues in priorityPool
    
    * common, core, eth, les, trie: make priority also generic in prque
    
    * les/flowcontrol: add test case for priority accumulator overflow
    
    * les/flowcontrol: avoid priority value overflow
    
    * common/prque: use int priority in some tests
    
    No need to convert to int64 when we can just change the type used by the
    queue.
    
    * common/prque: remove comment about int64 range
    
    ---------
    Co-authored-by: 's avatarZsolt Felfoldi <zsfelfoldi@gmail.com>
    Co-authored-by: 's avatarFelix Lange <fjl@twurst.com>
    bf1798e0
Name
Last commit
Last update
..
bitutil Loading commit data...
compiler Loading commit data...
fdlimit Loading commit data...
hexutil Loading commit data...
lru Loading commit data...
math Loading commit data...
mclock Loading commit data...
prque Loading commit data...
big.go Loading commit data...
bytes.go Loading commit data...
bytes_test.go Loading commit data...
debug.go Loading commit data...
format.go Loading commit data...
path.go Loading commit data...
size.go Loading commit data...
size_test.go Loading commit data...
test_utils.go Loading commit data...
types.go Loading commit data...
types_test.go Loading commit data...