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
optimise unconfirmed transaction API
[bytom/bytom.git]
/
netsync
/
block_keeper.go
diff --git
a/netsync/block_keeper.go
b/netsync/block_keeper.go
index
dbb938a
..
6ea62d6
100644
(file)
--- a/
netsync/block_keeper.go
+++ b/
netsync/block_keeper.go
@@
-22,8
+22,7
@@
const (
maxtxsPending = 32768
maxQuitReq = 256
- // txChanSize is the size of channel listening to Txpool newTxCh.
- maxTxChanSize = 1000
+ maxTxChanSize = 1000 // txChanSize is the size of channel listening to Txpool newTxCh
)
var (