-
Notifications
You must be signed in to change notification settings - Fork 208
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
Test/pack mine tests 2024115 #654
Draft
JamesPiechota
wants to merge
37
commits into
master
Choose a base branch
from
test/pack-mine-tests-2024115
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.
Draft
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
Should be easier to write tests against it
Tests run in e2e mode will more closely match the normal node operation. Notably: full randomx and normal poa1 vs. poa2 difficulty. There are still a lot of constants that are reset in this mode - *mostly* to speed up the test run and allow it to work on smaller blockchains. But if material differences are discovered we can reset some of those constants back to more representative values as needed
…ess" This reverts commit d209fb2.
Co-authored-by: Lev Berman <[email protected]>
This commit adds the packing difficulty in `v2_index_data_size_by_packing` metric. see: ArweaveTeam/arweave-dev#568
This gives a truer estimate of the miner's expected read performance
This fixes an issue where read performance was severely degradeed when multiple storage modules were stored on a single disk. This was particularly bad for SATA, although was noticeable on SAS disks as well.
Only current (active) peers should be able to receive the chunks, others will generate unnecessary timeouts. In fact using the active peers from the last 24 hours can also be a great solution if we assume a peer seen during the last 24 hours will probably be come back quick. When chunks are propagated across the network, the to be acknowledged are the trusted peer. On the previous version, the trusted peer where put at the end of the list. Cleaned up ar_tx_emitter_sup, converting old tuple to map. Refacto and added comments and documentation. see: ArweaveTeam/arweave-dev#720
When a server has the full transaction locally, and uses spinning disk, the amount of requests from other nodes is too high, and leads to a bottleneck on rocksdb database. This commit adds a semaphore to control the amount of requests on `ar_http_iface_middleware:handle_get_tx/3` function, to avoid a node to be overflooded by requests.
For the first ~2 months after the 2.8 HF activation nodes may have less than the required 3 months of reward history. This is okay.
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.
No description provided.