Skip to content

Commit

Permalink
Update network_performance.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
svyatmikh committed Jun 6, 2019
1 parent f5f88cb commit 4dc24b1
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions doc/network_performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,33 @@ Results of this tuning you may see below:
// chainHeadChanSize is the size of channel listening to ChainHeadEvent.
chainHeadChanSize = 10
)
...
DefaultTxPoolConfig = TxPoolConfig{
PriceLimit: 1,
PriceBump: 10,

AccountSlots: 16,
GlobalSlots: 4096,
AccountQueue: 64,
GlobalQueue: 1024,
}

.. sourcecode:: after

const (
// chainHeadChanSize is the size of channel listening to ChainHeadEvent.
chainHeadChanSize = 10
)
...
DefaultTxPoolConfig = TxPoolConfig{
PriceLimit: 1,
PriceBump: 10,

AccountSlots: 8192,
GlobalSlots: 131072,
AccountQueue: 4096,
GlobalQueue: 32768,
}


After that we added transaction batching.
Expand Down

0 comments on commit 4dc24b1

Please sign in to comment.