forked from kaspanet/rusty-kaspa
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cherry-picked patches from upstream and updated README #3
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
* fix account derivation index relay in bip32 * fix serializations and sanity checks * zeroize bip39 mnemonic after bip44 scan * code formatting
…tracks dynamic data sizes (kaspanet#351)
* fix new unused imports warns by running `cargo clippy --fix --all --tests --benches --features devnet-prealloc` note that all these `pub use` were not really exposed publicly on the crate level * fix `variant name ends with the enum's name` warnings
- Modified relevant functions and structures to accommodate the calculation of circulating supply for multiple assets. - Introduced `AssetCirculatingSupply` and `AssetCirculatingSupplyDiffs`. - Overloaded operators for these classes to streamline calculations and data handling.
* Add a pruning exit point on advance_pruning_utxoset * Fix log
* Add timestamps to IBD progress * Add timezone * Address review comments * Change error message
* Implement basic tx throttling on high P2P load When P2P load is high: 1. Limit the number of peers to broadcast to 2. Limit the number of transactions requested when requesting missing transactions 3. Reduce the size of the invs channel and allow dropping invs when it's full * Renames and small fixes * Saturating sub for unknown tx limit * Some fixes * Remove redundant collect * Fix lint * restore collect --------- Co-authored-by: Ori Newman <orinewman1@gmail.com> Co-authored-by: Michael Sutton <msutton@cs.huji.ac.il> Co-authored-by: Michael Sutton <mikisiton2@gmail.com>
* move frequent logs to debug * wip storage mass calculation * use checked add and return Option<u64> * add mass field * add mass to all necessary communication structs * rename `calculated_mass` to `calculated_compute_mass` to make it explicit that storage mass is not included in this field * apply bew mass as mempool rule * apply storage mass rule to body processor * apply storage mass rule to virtual in context validation * some important prints * simplify inner hashing condition + add todo * add low-level storage mass tests * add future todo * fix tx hashing for BBT * fix mass counting in body validation * set mass in the correct place (in consensus) * remove spam blocking patch * fix fee rate (safe bcs fee is unwrapped which happens only for validated txs) * fix tests * renames and minor review comments * fix mass sum * add storage mass to simpa + activation switch * prevent rothschild from sending dust * new genesis * new dns seeder * activate storage mass on start * new db version * bump version * make is synced smaller on TNets * fix min items allocation for GD data --------- Co-authored-by: Ori Newman <orinewman1@gmail.com>
Co-authored-by: aspect <anton.yemelyanov@gmail.com> Co-authored-by: Ori Newman <orinewman1@gmail.com>
* Update testnet11.md * Another update * Some fixes * Some fixes * Some fixes
Removed "first experiment" section
* fix timestamp deviation tolerance for 10 bps (note that the change does not affect 1bps -> target time =1000) * bump version
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.