OSDN Git Service

add txCh for synmanager
[bytom/bytom.git] / netsync / block_keeper.go
index 5badaf2..dbb938a 100644 (file)
@@ -21,6 +21,9 @@ const (
        maxBlocksPending = 1024
        maxtxsPending    = 32768
        maxQuitReq       = 256
+
+       // txChanSize is the size of channel listening to Txpool newTxCh.
+       maxTxChanSize = 1000
 )
 
 var (