Cortina.3 - Push Query Reduction
·
1384 commits
to master
since this release
This version is backwards compatible to v1.10.0. It is optional, but encouraged. The supported plugin version is 26
.
Users must specify the --allowed-hosts-flag
to receive inbound API traffic from non-local hosts.
APIs
- Added health metrics based on tags
avalanche_health_checks_failing{tag="TAG"}
avalanche_liveness_checks_failing{tag="TAG"}
avalanche_readiness_checks_failing{tag="TAG"}
- Removed P-chain VM percent connected metrics
avalanche_P_vm_percent_connected
avalanche_P_vm_percent_connected_subnet{subnetID="SUBNETID"}
- Added percent connected metrics by chain
avalanche_{ChainID}_percent_connected
- Removed
avalanche_network_send_queue_portion_full
metric
Configs
- Added
--http-allowed-hosts
with a default value oflocalhost
- Removed
--snow-mixed-query-num-push-vdr
- Removed
--snow-mixed-query-num-push-non-vdr
- Removed
minPercentConnectedStakeHealthy
from the subnet config
Fixes
- Fixed
platformvm.GetValidatorSet
returning incorrect BLS public keys - Fixed IPv6 literal binding with
--http-host
- Fixed P2P message log format
What's Changed
x/sync
-- Add proto for P2P messages by @dboehm-avalabs in #1472- Bump Protobuf and tooling and add section to proto docs outlining buf publishing by @hexfusion in #1552
- Minor pchain UTs cleanup by @abi87 in #1554
- Add ping uptimes test by @ceyonur in #1550
- Add workflow to mark stale issues and PRs by @joshua-kim in #1443
- Enforce inlining functions with a single error return in
require.NoError
by @dhrubabasu in #1500 x/sync
/x/merkledb
-- addSyncableDB
interface by @danlaine in #1555- Rename beacon to boostrapper, define bootstrappers in JSON file for cross-language compatiblity by @gyuho in #1439
- add P-chain height indexing by @dhrubabasu in #1447
- Add P-chain
GetBlockByHeight
API method by @dhrubabasu in #1448 x/sync
-- use for sending Range Proofs by @danlaine in #1537- Add test to ensure that database packing produces sorted values by @StephenButtolph in #1560
- Randomize unit test execution order to identify unwanted dependency by @marun in #1565
- use
http.Error
instead of separately writing error code and message by @danlaine in #1564 - Adding allowed http hosts flag by @joshua-kim in #1566
x/sync
-- Use proto for sending Change Proofs by @danlaine in #1541- Only send
PushQuery
messages after building the block by @joshua-kim in #1428 - Rename APIAllowedOrigins to HTTPAllowedOrigins by @joshua-kim in #1567
- Add GetBalance examples for the P-chain and X-chain wallets by @StephenButtolph in #1569
- Reduce number of test iterations by @danlaine in #1568
- Re-add upgrade tests by @StephenButtolph in #1410
- Remove lists from Chits messages by @StephenButtolph in #1412
- Add more X-chain tests by @coffeeavax in #1487
- fix typo by @meaghanfitzgerald in #1570
- Reduce the number of test health checks by @StephenButtolph in #1571
- Fix proposervm.GetAncestors test flake by @StephenButtolph in #1572
- Remove list from AcceptedFrontier message by @StephenButtolph in #1578
- Remove version db from merkle db by @dboehm-avalabs in #1534
MerkleDB
-- add eviction batch size config by @danlaine in #1586MerkleDB
-- fixonEvictCache.Flush
by @danlaine in #1589- Revert P-Chain height index by @StephenButtolph in #1591
x/sync
-- AddSyncableDB
proto by @danlaine in #1559- Clarify break on error during ancestors lookup by @hexfusion in #1580
- Add buf-push github workflow by @hexfusion in #1556
- Pchain bls key diff fix by @abi87 in #1584
- Cleanup fx interface compliance by @StephenButtolph in #1599
- Improve metrics error msging by @anusha-ctrl in #1598
- Separate health checks by tags by @StephenButtolph in #1579
- Separate subnet stake connected health and metrics from P-chain by @ceyonur in #1358
- Merkle db iterator by @dboehm-avalabs in #1533
- Fix unreadable message errors by @morrisettjohn in #1585
- Log unexpected errors during GetValidatorSet by @hexfusion in #1592
merkleDB
-- add inner heap type to syncWorkHeap by @danlaine in #1582sync
-- explain algorithm in readme by @danlaine in #1600- Rename license header file to avoid unintended license indexing by @StephenButtolph in #1608
merkledb
andsync
-- use time based rand seed by @danlaine in #1607- add
local-prefixes
setting forgoimports
by @dhrubabasu in #1612 - snow/engine/snowman: instantiate voter after issuer by @gyuho in #1610
- Update CodeQL to v2 by @StephenButtolph in #1616
- Remove old networking metric by @StephenButtolph in #1619
- Fix --http-host flag to support IPv6 by @StephenButtolph in #1620
New Contributors
- @marun made their first contribution in #1565
- @meaghanfitzgerald made their first contribution in #1570
- @anusha-ctrl made their first contribution in #1598
- @morrisettjohn made their first contribution in #1585
Full Changelog: v1.10.2...v1.10.3