OSDN Git Service
(root)
/
bytom
/
bytom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add txCh for synmanager
[bytom/bytom.git]
/
netsync
/
block_keeper.go
diff --git
a/netsync/block_keeper.go
b/netsync/block_keeper.go
index
5badaf2
..
dbb938a
100644
(file)
--- a/
netsync/block_keeper.go
+++ b/
netsync/block_keeper.go
@@
-21,6
+21,9
@@
const (
maxBlocksPending = 1024
maxtxsPending = 32768
maxQuitReq = 256
+
+ // txChanSize is the size of channel listening to Txpool newTxCh.
+ maxTxChanSize = 1000
)
var (