nspcc-dev / neo-go

Go Node and SDK for the Neo blockchain
MIT License
123 stars 79 forks source link

Add ability to customize `batchTime` and `batchSize` for transactions broadcaster #3555

Open AnnaShaleva opened 3 months ago

AnnaShaleva commented 3 months ago

Is your feature request related to a problem? Please describe.

Networks with small TimePerBlock setting should be able to react on new transactions faster. Ref. https://github.com/nspcc-dev/neofs-node/issues/2864.

Describe the solution you'd like

Custom batchTime and batchSize settings of transactions broadcaster should be configured via P2P ApplicationConfiguration setting with default values of 50ms and 42 respectively. Need to add appropriate documentation.

Describe alternatives you've considered

No alternatives.