-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase default recv_rate
and send_rate
#4213
Comments
On the latest v3.x binary, a freshly generated config: # Rate at which packets can be sent, in bytes/second
send_rate = 5120000
# Rate at which packets can be received, in bytes/second
recv_rate = 5120000
# Note, if ttl-duration is also defined, a transaction will be removed if it
# has existed in the mempool at least ttl-num-blocks number of blocks or if
# it's insertion time into the mempool is beyond ttl-duration.
ttl-num-blocks = 12 And after running the configure-v3 command, they look like this: # Rate at which packets can be sent, in bytes/second
send_rate = 10485760
# Rate at which packets can be received, in bytes/second
recv_rate = 10485760
# Note, if ttl-duration is also defined, a transaction will be removed if it
# has existed in the mempool at least ttl-num-blocks number of blocks or if
# it's insertion time into the mempool is beyond ttl-duration.
ttl-num-blocks = 12 so the TTL num blocks default does not need to be modified. But the send and recv rates do. |
Looks like the rates should already be overridden to 10 MiB but these lines don't work as expected celestia-app/app/default_overrides.go Lines 277 to 279 in ada5cde
|
Looks like inside celestia-core the config is based on |
The default overrides that we configured are getting overridden by Cosmos SDK https://github.com/celestiaorg/cosmos-sdk/blame/d2163cecdef80591e86d0e5c8c7e6b8f70e2d0ad/server/util.go#L216-L217 |
Part of #4213 The real fix is in celestiaorg/cosmos-sdk#425 but this is a nice to have.
sorry didn't mean to close, I think it auto closed with the merging of #celelstiaorg/cosmos-sdk/425 |
Yea no worries |
Closes #4213 by upgrading to https://github.com/celestiaorg/cosmos-sdk/releases/tag/v1.26.1-sdk-v0.46.16 which contains the fix. (cherry picked from commit 9d906c7)
Closes #4213 by upgrading to https://github.com/celestiaorg/cosmos-sdk/releases/tag/v1.26.1-sdk-v0.46.16 which contains the fix.<hr>This is an automatic backport of pull request #4220 done by [Mergify](https://mergify.com). Co-authored-by: Rootul P <[email protected]>
Context
celestia-app/Makefile
Lines 337 to 348 in 2e16394
Problem
The defaults for those fields are still low.
Proposal
configure-v3
command isn't necessary if someone downloads a new binary and generates a new config.The text was updated successfully, but these errors were encountered: