forked from EpicCash/epic
-
Notifications
You must be signed in to change notification settings - Fork 1
Publish crates for v3.6.0 #1
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
Open
Likho
wants to merge
126
commits into
cypherstack:master
Choose a base branch
from
Likho:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or 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
- Removes need to specify these as arguments to server on initialization - Both config options have no effect on mainnet (added 'is_test_network()' boolean fn for checking) - Above bulletpoint allows these flags to take effect only on AutomatedTesting, UserTesting, or Floonet ChainTypes
Add 'only_randomx' and 'no_progpow' options to config
… body;fix smaller rust format issues
… all headers received
…epic-wallet installation
Updates running.org doc with latest instructions
- Appears we do actually need to mutate this. This makes the only change removal of 'cycle()' member function on peers.iter()
- Essentially buckets the operations into more readable functions, removes unnecessary and hard-to-read code - Maybe a small speedup here
- Because we are not looping through OrphanBlockPool recursively any longer, reducing this constant speeds up our sync - And locks OprhanBlockPool RwLock for a lesser time period
- This is the same function as the original 'check_orphans' function in Grin - We want to call it and loop through our full orphan list when we are within 120 blocks to chaintip, OR when our OrphanBlockPool is nearly full - This combines efficiency of lock-avoidance in our new mechanics, while preserving benefits of loop logic in original function (but only calling when it makes sense to do so)
- We will start looping through orphans when orphan.len() >= 50 - We will stop looping when check_orphans_loop hits >= 29 iterations (first counted as 1, not 0)
- Same behavior, but adds 'outside_forced_pow_threshold' bool to make mechanics clearer
Improvements to BodySync portion of Sync phases
Version bump (3.5.0), update checkpoints to height 2.2M
- Also accomodate new semantics
- Also removes dependency on a git repository, instead using published crate
Update cursive dep to 0.17, tableview to 0.14.0
Update croaring dependency to 1.0.1, croaring-sys 1.1.0
14 tasks
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.
Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes
Relevant notes
Notes about your pull request that may be useful for the reviewer