Cortina.2 - Post-Linearization Cleanup
StephenButtolph
released this
24 May 03:13
·
1404 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
.
APIs
- Significantly improved the performance of
platform.getStake
- Added
portion_filled
metric for all metered caches - Added resource metrics by process
avalanche_system_resources_num_cpu_cycles
avalanche_system_resources_num_disk_read_bytes
avalanche_system_resources_num_disk_reads
avalanche_system_resources_num_disk_write_bytes
avalanche_system_resources_num_disk_writes
Configs
- Deprecated
--genesis
in favor of--genesis-file
- Deprecated
--genesis-content
in favor of--genesis-file-content
- Deprecated
--inbound-connection-throttling-cooldown
in favor of--network-inbound-connection-throttling-cooldown
- Deprecated
--inbound-connection-throttling-max-conns-per-sec
in favor of--network-inbound-connection-throttling-max-conns-per-sec
- Deprecated
--outbound-connection-throttling-rps
in favor of--network-outbound-connection-throttling-rps
- Deprecated
--outbound-connection-timeout
in favor of--network-outbound-connection-timeout
- Deprecated
--staking-enabled
in favor of--sybil-protection-enabled
- Deprecated
--staking-disabled-weight
in favor of--sybil-protection-disabled-weight
- Deprecated
--consensus-gossip-frequency
in favor of--consensus-accepted-frontier-gossip-frequency
Fixes
- Fixed
--network-compression-type
to correctly honor the requested compression type, rather than always using gzip - Fixed CPU metrics on macos
What's Changed
- use
require
library functions in tests by @dhrubabasu in #1451 - style nits in vm clients by @dhrubabasu in #1449
- utils/logging: add "Enabled" method to remove redundant verbo logs by @gyuho in #1461
- ban
require.EqualValues
by @dhrubabasu in #1457 - chains: do not hold write subnetsLock in health checks by @gyuho in #1460
- remove zstd check by @dhrubabasu in #1459
- use
require.IsType
for type assertions in tests by @dhrubabasu in #1458 - vms/platformvm/service: nits (preallocate address slice, error msg) by @gyuho in #1477
- ban
require.NotEqualValues
by @dhrubabasu in #1470 - use
require
inapi
andutils/password
packages by @dhrubabasu in #1471 - use "golang.org/x/term" as "golang.org/x/crypto/ssh/terminal" is deprecated by @gyuho in #1464
- chains: move "msgChan" closer to the first use (readability) by @gyuho in #1484
- ban function params for
require.ErrorIs
by @dhrubabasu in #1486 - standardize imports by @dhrubabasu in #1466
- fix license header test by @dhrubabasu in #1492
- use blank identifier for interface compliance by @dhrubabasu in #1493
- codec: remove "SetMaxSize" from "Manager", remove unnecessary lock by @gyuho in #1481
- config: disallow "ThrottlerConfig.MaxRecheckDelay" < 1 ms by @gyuho in #1435
- ban
require.Equal
when testing for0
by @dhrubabasu in #1495 - Clean up MerkleDVB Sync Close lock by @dboehm-avalabs in #1469
- MerkleDB Cleanup by @dboehm-avalabs in #1465
- Remove comment referencing old IP based tracking by @StephenButtolph in #1509
- ban usage of
require.Len
when testing for length0
by @dhrubabasu in #1496 - ban usage of
require.Equal
when testing for length by @dhrubabasu in #1497 - ban usage of
nil
in require functions by @dhrubabasu in #1498 - Sized LRU cache by @abi87 in #1517
- engine/snowman: clean up some comments in "bubbleVotes" unit tests by @gyuho in #1444
- snow/networking/sender: add missing verbo check by @gyuho in #1504
- Delete duplicate test var definitions by @StephenButtolph in #1518
- utils/bag: print generic type for bag elements by @gyuho in #1507
- Fix incorrect test refactor by @abi87 in #1526
- Pchain validators repackaging by @abi87 in #1284
- Config overhaul by @ceyonur in #1370
- rename enabled staking to sybil protection enabled by @ceyonur in #1441
- Fix network compression type flag usage by @StephenButtolph in #1532
- Deprecate uptimes in pong message by @ceyonur in #1362
- Add CPU cycles and number of disk read/write metrics by pid by @coffeeavax in #1334
- Fetch process resource stats as best-effort by @StephenButtolph in #1543
- Add serialization tests for transactions added in Banff by @StephenButtolph in #1513
- Log chain shutdown duration by @StephenButtolph in #1545
- add interface for MerkleDB by @danlaine in #1519
New Contributors
- @gyuho made their first contribution in #1461
- @coffeeavax made their first contribution in #1334
Full Changelog: v1.10.1...v1.10.2