• J
    core: reduce CPU load by reducing calls to checkQueue · 61ca780f
    Jeffrey Wilcke 提交于
    * Reduced maxQueue count
    * Added proper deletion past maxQueue limit
    * Added cheap stats method to txpool
    
    queueCheck was called for **every** transaction instead of:
    1. add all txs
    2. check queue
    
    previously
    
    1. add txs[i]
    2. check queue
    3. if i < len(txs) goto 1.
    61ca780f
transaction_pool.go 12.0 KB