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

Release v0.52.0 #506

Merged
merged 24 commits into from
Nov 4, 2022
Merged

Release v0.52.0 #506

merged 24 commits into from
Nov 4, 2022

Conversation

jansegre and others added 20 commits October 12, 2022 22:43
* chore: measure sync and load times

* feat: log the network name as well

* fix: network name in the logs

* style: fix linters

* ci: create unit test for the check_sync method

* refactor: use vertex_count nomenclature

* fix: make sure tests get the environment info where needed

* style: fix linters

* ci: fix failing tests

* refactor: pass args as str

* refactor: move magic number to a constant

* chore: also collect the network full name

* refactor: rename total_load_time variable

* refactor: change the logged string indicating recent activity

* style: fix linters
Co-authored-by: Jan Segre <jan@hathor.network>
feat: add storage mechanism for events
fix(cli): regression made it so testnet couldn't be selected
Co-authored-by: Jan Segre <jan@hathor.network>
feat(tx): improved reward lock verification algorithm
* chore: avoid using RocksDB key estimation

* refactor: move get_count_tx_blocks method to the info index and rename it to get_vertices_count

* fix: make sure we dont count twice on the info index for txs that are changing its state

* refactor: do not use specific storage implementations as fallback for get_vertices_count

* refactor: better way to tell if rocksdb is empty
…ptional

feat(indexes): make sync-v2 indexes only load when sync-v2 is enabled
chore: bump version and update checkpoints
@jansegre jansegre self-assigned this Nov 3, 2022
@jansegre jansegre requested a review from msbrogli as a code owner November 3, 2022 20:06
msbrogli
msbrogli previously approved these changes Nov 3, 2022
@codecov
Copy link

codecov bot commented Nov 3, 2022

Codecov Report

Merging #506 (c72a127) into master (da526d0) will decrease coverage by 0.39%.
The diff coverage is 81.00%.

@@            Coverage Diff             @@
##           master     #506      +/-   ##
==========================================
- Coverage   83.62%   83.23%   -0.40%     
==========================================
  Files         179      186       +7     
  Lines       16381    16862     +481     
  Branches     2512     2640     +128     
==========================================
+ Hits        13699    14035     +336     
- Misses       2231     2334     +103     
- Partials      451      493      +42     
Impacted Files Coverage Δ
hathor/conf/mainnet.py 100.00% <ø> (ø)
hathor/transaction/storage/__init__.py 75.00% <ø> (-5.00%) ⬇️
hathor/transaction/storage/cache_storage.py 91.97% <57.14%> (-2.73%) ⬇️
hathor/transaction/resources/mempool.py 70.17% <57.50%> (-29.83%) ⬇️
hathor/indexes/partial_rocksdb_tips_index.py 67.28% <61.11%> (-2.93%) ⬇️
hathor/transaction/storage/rocksdb_storage.py 94.73% <68.18%> (-5.27%) ⬇️
hathor/transaction/storage/transaction_storage.py 90.00% <71.42%> (-5.13%) ⬇️
hathor/builder.py 73.38% <73.38%> (ø)
hathor/indexes/mempool_tips_index.py 92.07% <76.47%> (-3.67%) ⬇️
...tion/storage/migrations/add_min_height_metadata.py 80.00% <80.00%> (ø)
... and 35 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

msbrogli
msbrogli previously approved these changes Nov 4, 2022
…ssion

fix(cli): builder refactor regression skipped register_resources
@jansegre jansegre merged commit 75e07d7 into master Nov 4, 2022
@jansegre jansegre mentioned this pull request Nov 9, 2022
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.

4 participants