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 d3c2799 commit 744145e
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions doc/network_performance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,15 @@ To achieve these performance results we completely changed most of ethereum tran

Results of this tuning you may see below:


--markup test:

.. code-block:: python
:linenos:
:emphasize-lines: 3,5
def some_function():
interesting = False
print 'This line is highlighted.'
print 'This one is not...'
print '...but this one is.'
* ``tx_pool.go`` class that contains most of logic for the transaction pool:

.. container:: codeset

.. code-block:: javascript
.. sourcecode:: before

const (
// chainHeadChanSize is the size of channel listening to ChainHeadEvent.
chainHeadChanSize = 10
chainHeadChanSize = 100
)
...
DefaultTxPoolConfig = TxPoolConfig{
Expand All @@ -40,7 +27,7 @@ Results of this tuning you may see below:
GlobalQueue: 1024,
}

.. code-block:: javascript
.. sourcecode:: after
:linenos:
:emphasize-lines: 4,11,12,13,14

Expand Down

0 comments on commit 744145e

Please sign in to comment.