Skip to content
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

Dev 0.3.16 merge into main for next release #21

Merged
merged 54 commits into from
Oct 24, 2024
Merged

Dev 0.3.16 merge into main for next release #21

merged 54 commits into from
Oct 24, 2024

Conversation

x100111010 and others added 30 commits August 18, 2024 20:10
Update `Inner::open_db` to use `set_unique()`
* fixes compiling on debian
microsoft/mimalloc#883
…plate

* fix transaction hash merkle root calculation in modify block template to consider storage mass activation
* avoid similar future errors: expose only a single calc_hash_merkle_root function with `include_mass_field` arg and update all test usages explicitly
* move subnet checks to inner location
* reorganize cache mem estimators
* In `ParentsBuilder` optimize the execution path of the common case for high levels
* Prune relations for all levels below the affiliated proof level for block
* Keep relations for multi-level parents of pruning point and its anticone
* refactored Borsh serialization (wRPC v2)
* refactored watch-only
* fix Rust v1.81 lints
* using latest resolver APIs (guards)
* updated TypeScript bindings (typescript-v2)
* fixes related to "insufficient-funds"
* `Hex View for ScriptBuilder`:
  * formatted hex view for scripts

* `Kip9 Updates`:
  * improvements to mass calculator (Kip9::Beta variant)

** New RPC Methods
* `get_sync_status()`:
  * node sync status polling

* `get_connection_count()`:
  * total TCP sockets in use

* `get_system_info()`:
  * unique ID, git commit hash, total RAM, CPU cores, internal FD limit

* `get_metrics()`:
  * provisional dictionary*based map for custom metrics

### Important Notes
* `get_server_info()`:
  * broken due to data structure changes

* `wRPC v2 Breaking Changes`:
  * new public node infrastructure deployment
  * custom serializers for elastic data structure serialization
- getCurrentBlockColor algorithm and RPC functions
- move `get_current_block_color` to consensus and apply standard sorting
- check for block existence on `get_current_block_color`
- add extra DAG order checks to ensure about children
- Includes:
  1. Stylistic changes using ?
  2. `is_dag_ancestor_of(a, b)` is different than `!is_dag_ancestor_of(b, a)`
- Bug fix:
  1. Hash -> child
  2. Make store calls only where they are actually used (within the if)
- Style:
  1. Use struct unfolding syntax
  2. Use a name such as `decedent` which reflects the relation to `hash`
- remove Borsh derivations
- fix gRPC message codes
- fix gRPC `getCurrentBlockColorResponse`
- improve tests
* add case to test_evict
* remove explicit check for too big transactions
* raise DEFAULT_MEMPOOL_SIZE_LIMIT to 1GB
* move to estimated size
* remove estimated_size field
…urate

* remove crate-level mutable access to inner mempool tx
* fix bytes size tracking
* update `update_revalidated_transaction` only if validation result is OK
* remove transaction if validation fails
…f the outlier transaction

* deals with outliers (high feerate transactions)
* captures block space
* estimates feerate for remaining block space
* inaccurate average tx mass for outliers
* fix: Capture block space by specific mass of outlier transaction
* includes test to verify changes
* rename verbose data mass to `compute_mass`
* fix TS interface verbose transaction data property name
* relocate consensus core processes `MassCalculator` to consensus core
* WASM fix ECDSA pubkey generation
* error variant related to ECDSA from `PublicKey` creation
* refactor client mass APIs
  * propagate `minimum_signatures` via pending tx
  * rename mass calc functions to `unsigned` for clarity
* introduce change index to PTX
* fix missing transfer of client Transaction mass to `RpcTransaction`
* introduce `IRawBlock` and `IRawHeader` TS types used in `GetBlockTemplateResponse` and `SubmitBlockRequest`
* fix docs
* refactor mass calculator and extract global storage mass function that operates on iterators + use from wallet mass calculator
TN and TN11 DNS seeders
@0xA001113 0xA001113 changed the title Dev 0.3.16 merge into main for next relase Dev 0.3.16 merge into main for next release Oct 24, 2024
@0xA001113 0xA001113 merged commit c7ca43a into main Oct 24, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants