-
Notifications
You must be signed in to change notification settings - Fork 286
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
[Feature] use custom cosmos-sdk
and tendermint
#655
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* oracle tx mempool priority * configurable iavl cache size * configurable inter-block cache size
Codecov Report
@@ Coverage Diff @@
## main #655 +/- ##
=======================================
Coverage 44.63% 44.63%
=======================================
Files 120 120
Lines 6999 6999
=======================================
Hits 3124 3124
Misses 3630 3630
Partials 245 245 |
@faddat This PR and #654 PR will make COSMOS_BUILD_OPTIONS=rocksdb make install
# or you can set this config in ~/.terra/config/app.toml
terrad start --iavl-cache-size=100000 --inter-block-cache-size=10000 in # InterBlockCache enables inter-block caching.
inter-block-cache = true
# InterBlockCacheSize set the size (the number of cache items) of interblock cache item
# Each item consumes 128 bytes, so the value should be dividend by 128
# Default cache size is 10mb.
# Ex) 10mb = 10,000,000 / 128 = 78,125
inter-block-cache-size = 78125
# IndexEvents defines the set of events in the form {eventType}.{attributeKey},
# which informs Tendermint what to index. If empty, all events will be indexed.
#
# Example:
# ["message.sender", "message.recipient"]
index-events = []
# IAVLCacheSize set the cache size (the number of cache items) of the iavl tree.
# Each item size consumes 128 bytes, so the value should be dividend by 128
# Default cache size is 100mb.
# Ex) 100mb = 100,000,000 / 128 = 781,250
iavl-cache-size = 781250 |
hanjukim
approved these changes
Jan 7, 2022
This was referenced Jan 10, 2022
Merged
yun-yeo
pushed a commit
that referenced
this pull request
Jan 11, 2022
* Update README.md (#651) update gentx parameter * This paves the way for the use of rocksdb by default. (#642) * [Feature] use custom `cosmos-sdk` and `tendermint` (#655) * use custom cosmos-sdk to use follow features * oracle tx mempool priority * configurable iavl cache size * configurable inter-block cache size * change dependencies to tag * [BugFix] makefile to properly pass RocksDB build options (#654) * fix db configuration and create snapshot dir if not exist * add example cmd to use rocksdb * update tendermint and cosmos-sdk to performance branch which is using RWMutex for querying Co-authored-by: Geoff Lee <geoff@terra.money> Co-authored-by: Jacob Gadikian <jacobgadikian@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Use custom
cosmos-sdk
with customtendermint
for following itemsNode Operators can configure new settings
in
~/.terra/config/app.toml
Summary of changes
Report of required housekeeping
(FOR ADMIN) Before merging