Drop the Avalanche-heritage /ext prefix; /v1 is the single canonical route surface (one way, no backward compat). The node's baseURL is the source of truth; clients, SDKs, CLI, indexer, maker, genesis, netrunner, and the k8s/compose/gateway/explorer configs are updated to match. Co-authored-by: Hanzo Dev <dev@hanzo.ai>
288 KiB
Release Notes
v1.13.2
This version is backwards compatible to v1.13.0. It is optional, but encouraged.
The plugin version is updated to 41 all plugins must update to be compatible.
APIs
- Added initial support for HTTP2 connections into VMs
- Removed native support for gzip compression of HTTP requests
Fixes
- Fixed message timeout handling on L1s configured with
validatorOnly=true - Fixed segfault on ARM64 when profiling is enabled
What's Changed
-
chore(tests/load): C-chain load testing by @qdm12 in https://github.com/luxfi/node/pull/3914
-
Improve comments on message Ops by @StephenButtolph in https://github.com/luxfi/node/pull/3987
-
Remove requestID expectation for UnrequestedOps by @StephenButtolph in https://github.com/luxfi/node/pull/3989
-
Add Simplex Messages To p2p.proto by @samliok in https://github.com/luxfi/node/pull/3976
-
[tmpnet] Enable exclusive scheduling by @maru-ava in https://github.com/luxfi/node/pull/3988
-
[testing] Add local kube support for load tests by @RodrigoVillar in https://github.com/luxfi/node/pull/3986
-
Add a label to XSVM tests by @joshua-kim in https://github.com/luxfi/node/pull/3991
-
[tmpnet] Avoid port forwarding when running in a kube cluster by @maru-ava in https://github.com/luxfi/node/pull/3997
-
Add support for VM HTTP2 handlers by @joshua-kim in https://github.com/luxfi/node/pull/3294
-
Move HTTP2 routing information into headers by @joshua-kim in https://github.com/luxfi/node/pull/4001
-
Clarify field names for simplex p2p messages by @samliok in https://github.com/luxfi/node/pull/4002
-
Remove gzip middleware from API server by @mpignatelli12 in https://github.com/luxfi/node/pull/4005
-
fix: allow for load tests to run-in-cluster by @RodrigoVillar in https://github.com/luxfi/node/pull/4003
-
Add support for XSVM grpc server reflection by @joshua-kim in https://github.com/luxfi/node/pull/4010
-
fix: update log commands for stopping collectors by @RodrigoVillar in https://github.com/luxfi/node/pull/4011
-
[tmpnet] Enure node config is saved on restart for both runtimes by @maru-ava in https://github.com/luxfi/node/pull/4015
-
BLS Components for Simplex by @samliok in https://github.com/luxfi/node/pull/3993
-
Capitalize secrets references by @StephenButtolph in https://github.com/luxfi/node/pull/4018
-
Allow internal messages from disallowed nodeIDs by @StephenButtolph in https://github.com/luxfi/node/pull/4024
-
optimize historical range by @rrazvan1 in https://github.com/luxfi/node/pull/3658
New Contributors
- @mpignatelli12 made their first contribution in https://github.com/luxfi/node/pull/4005
- @alarso16 made their first contribution in https://github.com/luxfi/node/pull/4006
Full Changelog: https://github.com/luxfi/node/compare/v1.13.1...v1.13.2
v1.13.1
This version is backwards compatible to v1.13.0. It is optional, but encouraged.
The plugin version is updated to 40 all plugins must update to be compatible.
APIs
- Removed
xvm.getAddressTxsapi - Added L1 validators to
platformvm.GetCurrentValidatorsclient implementation
Configs
- Removed
--tracing-enabledand addeddisabledas an option to--tracing-exporter-type - Removed XVM indexer configs
index-transactionsindex-allow-incomplete
What's Changed
- Export tmpnet functions for CLI interface by @felipemadero in https://github.com/luxfi/node/pull/3727
- Use IPv4 addresses if possible by @StephenButtolph in https://github.com/luxfi/node/pull/3812
- [ci] Source shellcheck from nix instead of installing via script by @maru-ava in https://github.com/luxfi/node/pull/3811
- [ci] Use SHAs instead of tags for 3rd-party github actions by @maru-ava in https://github.com/luxfi/node/pull/3822
- [tmpnet] Add collector log path to readiness check log output by @maru-ava in https://github.com/luxfi/node/pull/3823
- Add context for errors in proposervm
repairAcceptedChainByHeightby @joshua-kim in https://github.com/luxfi/node/pull/3818 - [ci] Enable run-monitored-tmpnet-cmd to use a remote flake file by @maru-ava in https://github.com/luxfi/node/pull/3820
- Add context to errors in
xvmby @joshua-kim in https://github.com/luxfi/node/pull/3821 - Remove block reindexing after Etna by @StephenButtolph in https://github.com/luxfi/node/pull/3813
- Update protobuf dependencies to the same version as nix packages by @maru-ava in https://github.com/luxfi/node/pull/3828
- update: platformvm config doc by @ashucoder9 in https://github.com/luxfi/node/pull/3694
- Expose merkledb defaults by @joshua-kim in https://github.com/luxfi/node/pull/3748
- [tmpnet] Add table of contents to README by @maru-ava in https://github.com/luxfi/node/pull/3837
- fix(metrics): fix c-chain metrics not reporting by @darioush in https://github.com/luxfi/node/pull/3835
- [tmpnet] Update script to run instead of install by @maru-ava in https://github.com/luxfi/node/pull/3830
- [ci] Update to use commit SHAs for non-floating tags by @maru-ava in https://github.com/luxfi/node/pull/3834
- [ci] Configure action/setup-go to read golang version from go.mod by @maru-ava in https://github.com/luxfi/node/pull/3825
- [nix] Install protobuf codegen binaries in the dev shell by @maru-ava in https://github.com/luxfi/node/pull/3829
- [tmpnet] Remove obsolete readme content by @maru-ava in https://github.com/luxfi/node/pull/3827
- [docs] Document requirement to install modern bash on macos by @maru-ava in https://github.com/luxfi/node/pull/3841
- refactor: use the built-in max/min to simplify the code by @evenevent in https://github.com/luxfi/node/pull/3844
- Update BLST to v0.3.14 to support Go 1.24 by @yacovm in https://github.com/luxfi/node/pull/3846
- chore: allow individuals to extend
direnvconfig by @ARR4N in https://github.com/luxfi/node/pull/3847 - [tmpnet] s/Network.ChainConfigs/Network.PrimaryChainConfigs/ by @maru-ava in https://github.com/luxfi/node/pull/3854
- Remove plugins/ from .gitignore by @maru-ava in https://github.com/luxfi/node/pull/3862
- fix: record wrong nil
errby @tinyfoxy in https://github.com/luxfi/node/pull/3851 - [tmpnet] Provide genesis, chain and chain config via content flags by @maru-ava in https://github.com/luxfi/node/pull/3857
- Make sure inner state summary accept is called by @aaronbuchwald in https://github.com/luxfi/node/pull/3831
- avoid tmpnet to create empty genesis on disk by @felipemadero in https://github.com/luxfi/node/pull/3868
- Remove GetAddressTxs by @joshua-kim in https://github.com/luxfi/node/pull/3872
- [tmpnet] Fixed faulty error handling on bootstrap failure by @maru-ava in https://github.com/luxfi/node/pull/3873
- Set
chains.Config.ConsensusParametersto serialize with omitempty by @maru-ava in https://github.com/luxfi/node/pull/3874 - [tmpnet] Update rpc version check to tolerate usage of
go runby @maru-ava in https://github.com/luxfi/node/pull/3869 - Update geth to v0.15.1-rc.0 by @StephenButtolph in https://github.com/luxfi/node/pull/3875
- [tmpnet] Ensure Node has a reference to Network by @maru-ava in https://github.com/luxfi/node/pull/3870
- [tooling] Simplify node build script by @maru-ava in https://github.com/luxfi/node/pull/3861
- Simplify P-Chain block has changes check by @StephenButtolph in https://github.com/luxfi/node/pull/3880
- [tmpnet] Switch back to using maps for chain config by @maru-ava in https://github.com/luxfi/node/pull/3877
- [tmpnet] Refactor runtime configuration in preparation for kube by @maru-ava in https://github.com/luxfi/node/pull/3867
- [tooling] Add scripts that build+run tools and put them in the path by @maru-ava in https://github.com/luxfi/node/pull/3878
- [tooling] Add support for the Task (go-task) task runner by @maru-ava in https://github.com/luxfi/node/pull/3863
- [Docs] Fix links and make paths absolute by @martineckardt in https://github.com/luxfi/node/pull/3885
- Remove unused constant checkIndexedFrequency by @yacovm in https://github.com/luxfi/node/pull/3887
- [tmpnet] Unify start network flag usage between e2e and tmpnetctl by @maru-ava in https://github.com/luxfi/node/pull/3871
- [tmpnet] Avoid serializing the node data directory by @maru-ava in https://github.com/luxfi/node/pull/3881
- [tmpnet] Rename NodeProcess to ProcessRuntime by @maru-ava in https://github.com/luxfi/node/pull/3890
- wrap db in initDatabase with corruptable db by @ceyonur in https://github.com/luxfi/node/pull/3892
- [tmpnet] Switch FlagsMap from map[string]any to map[string]string by @maru-ava in https://github.com/luxfi/node/pull/3884
- [tmpnet] Ensure tmpnet methods always have a logger by @maru-ava in https://github.com/luxfi/node/pull/3893
- [tmpnet] Ensure all node runtime methods accept a context by @maru-ava in https://github.com/luxfi/node/pull/3894
- [tmpnet] Move WaitForHealthy from a function to a tmpnet.Node method by @maru-ava in https://github.com/luxfi/node/pull/3896
- Grant marun ownership of tooling configuration by @maru-ava in https://github.com/luxfi/node/pull/3895
- Bump golang.org/x/net from 0.36.0 to 0.38.0 by @dependabot in https://github.com/luxfi/node/pull/3889
- Fix typos by @omahs in https://github.com/luxfi/node/pull/3908
- Fix typos and add missing hyphens in README files by @Dimitrolito in https://github.com/luxfi/node/pull/3583
- Fix typos in iterator.go by @Marcofann in https://github.com/luxfi/node/pull/3809
- Use EstimateBaseFee in e2e tests by @StephenButtolph in https://github.com/luxfi/node/pull/3782
- docs: fix flag name to
--proposervm-min-block-delayby @ceyonur in https://github.com/luxfi/node/pull/3911 - fix rpcchainvm handling for arbitrary length http body by @joshua-kim in https://github.com/luxfi/node/pull/3910
- Add git to nix packages by @StephenButtolph in https://github.com/luxfi/node/pull/3912
- refactor: use the built-in max/min to simplify the code by @careworry in https://github.com/luxfi/node/pull/3913
- Update codeowners by @joshua-kim in https://github.com/luxfi/node/pull/3915
- [tmpnet] Delegate writing of the flag file to the runtime by @maru-ava in https://github.com/luxfi/node/pull/3897
- [tmpnet] Move monitoring label handling to node by @maru-ava in https://github.com/luxfi/node/pull/3898
- Move database creation to database factory package by @ceyonur in https://github.com/luxfi/node/pull/3899
- Update owner of CODEOWNERS by @StephenButtolph in https://github.com/luxfi/node/pull/3920
- update merkledb codeowners by @rrazvan1 in https://github.com/luxfi/node/pull/3919
- chore: fix some comments by @standstaff in https://github.com/luxfi/node/pull/3584
- Support UnmarshalJSON for
ExporterTypeby @RodrigoVillar in https://github.com/luxfi/node/pull/3565 - Fix change/range proofs + simplify the code by @rrazvan1 in https://github.com/luxfi/node/pull/3688
- [ci] Fix windows build job by reverting to use build script by @maru-ava in https://github.com/luxfi/node/pull/3921
- update: service.md for callouts by @ashucoder9 in https://github.com/luxfi/node/pull/3832
- Reintroduce P-chain block reindexing by @StephenButtolph in https://github.com/luxfi/node/pull/3883
- Bump bufbuild/buf-action from 1.1.0 to 1.1.1 by @dependabot in https://github.com/luxfi/node/pull/3855
- Bump github/codeql-action from 3.28.13 to 3.28.16 by @dependabot in https://github.com/luxfi/node/pull/3916
- Ensure HTTP headers are propagated through the rpcchainvm by @joshua-kim in https://github.com/luxfi/node/pull/3917
- Document lp-118 message verification by @StephenButtolph in https://github.com/luxfi/node/pull/3925
- Add P-Chain state test by @StephenButtolph in https://github.com/luxfi/node/pull/3924
- Document LP-77 handling of 0 weight requests by @StephenButtolph in https://github.com/luxfi/node/pull/3926
- Refactor cache implementations by @StephenButtolph in https://github.com/luxfi/node/pull/3239
- Fix
proposerMinBlockDelaylocation in config doc for L1s by @federiconardelli7 in https://github.com/luxfi/node/pull/3819 - Close stale issues and PRs by @joshua-kim in https://github.com/luxfi/node/pull/3906
- Update wallet to report tx processing duration via event handlers by @marun in https://github.com/luxfi/node/pull/3560
- Pretty print logged durations in E2E by @StephenButtolph in https://github.com/luxfi/node/pull/3930
- Reenable the upgrade test by @StephenButtolph in https://github.com/luxfi/node/pull/3929
- Remove RequestBuildBlock on P-Chain Mempool by @joshua-kim in https://github.com/luxfi/node/pull/3705
- Add test for proposervm BuildBlock after bootstrapping by @StephenButtolph in https://github.com/luxfi/node/pull/2876
- Add logging to corruptabledb closure by @joshua-kim in https://github.com/luxfi/node/pull/3938
- Fix broken Buf documentation link in proto README by @GarmashAlex in https://github.com/luxfi/node/pull/3936
- refactor: replace []byte(fmt.Sprintf) with fmt.Appendf by @findnature in https://github.com/luxfi/node/pull/3932
- Add linkspector CI action by @StephenButtolph in https://github.com/luxfi/node/pull/3939
- Update minimum golang version to v1.23.9 by @StephenButtolph in https://github.com/luxfi/node/pull/3940
- fix: validate allocations locked amount in genesis to prevent panic by @DracoLi in https://github.com/luxfi/node/pull/3941
- [tmpnet] Enable runtime-specific restart behavior by @maru-ava in https://github.com/luxfi/node/pull/3882 [tooling] Misc direnv changes by @maru-ava in https://github.com/luxfi/node/pull/3944 Fully populate test context by @StephenButtolph in https://github.com/luxfi/node/pull/3943 [tmpnet] Define reusable flags for configuring kubernetes client access by @maru-ava in https://github.com/luxfi/node/pull/3945
- Fix flaky bootstrapping test by @StephenButtolph in https://github.com/luxfi/node/pull/3955
- [tmpnet] Separate start of metric and promtail collectors by @maru-ava in https://github.com/luxfi/node/pull/3947
- Add L1 validators to getCurrentValidators response by @ceyonur in https://github.com/luxfi/node/pull/3843
- refactor: use slices.Contains to simplify code by @yetyear in https://github.com/luxfi/node/pull/3952
- Update proposervm summary to roll forward only by @aaronbuchwald in https://github.com/luxfi/node/pull/3950
- Remove dead code by @StephenButtolph in https://github.com/luxfi/node/pull/3966
- Add Granite to the
upgrade.Configby @StephenButtolph in https://github.com/luxfi/node/pull/3964 - refactor genesis building logic in xvm and platformvm by @DracoLi in https://github.com/luxfi/node/pull/3949
- [ci] Update dependabot to only propose security updates for github actions by @maru-ava in https://github.com/luxfi/node/pull/3969
- Bump bufbuild/buf-action from 1.1.1 to 1.1.4 by @dependabot in https://github.com/luxfi/node/pull/3971
- Bump github/codeql-action from 3.28.16 to 3.28.18 by @dependabot in https://github.com/luxfi/node/pull/3970
- Add Load Framework by @RodrigoVillar in https://github.com/luxfi/node/pull/3942
- adds config.json for C-Chain during antithesis - json logs by @aleksandarknezevic in https://github.com/luxfi/node/pull/3968
- [tmpnet] Ensure GetNodeURIs returns locally-accessible URIs to ensure kube compatibility by @maru-ava in https://github.com/luxfi/node/pull/3973
- refactor: use slices.Contains to simplify code by @pullmerge in https://github.com/luxfi/node/pull/3974
- chore(deps): use geth with geth-aligned ethclient package by @qdm12 in https://github.com/luxfi/node/pull/3977
- Remove dead “Turtle’s Way HTTP/gRPC” link by @gap-editor in https://github.com/luxfi/node/pull/3978
- Small cleanup in
AppandNodeby @geoff-vball in https://github.com/luxfi/node/pull/3962 - make GOPROXY overridable in constants.sh by @siphonelee in https://github.com/luxfi/node/pull/3979
- Disallow slow sorting by @StephenButtolph in https://github.com/luxfi/node/pull/3981
- [tmpnet] Enable deployment to kube by @marun in https://github.com/luxfi/node/pull/3615
- [tmpnet] Enable monitoring of nodes running in kube by @maru-ava in https://github.com/luxfi/node/pull/3794
- Bump geth to include fix for large tx handling by @aaronbuchwald in https://github.com/luxfi/node/pull/3984
- Align minCompatibleTime settings across TestNetwork and Network by @michaelkaplan13 in https://github.com/luxfi/node/pull/3842
- Remove dead “Turtle’s Way HTTP/gRPC” link by @gap-editor in https://github.com/luxfi/node/pull/3983
New Contributors
- @evenevent made their first contribution in https://github.com/luxfi/node/pull/3844
- @tinyfoxy made their first contribution in https://github.com/luxfi/node/pull/3851
- @Dimitrolito made their first contribution in https://github.com/luxfi/node/pull/3583
- @Marcofann made their first contribution in https://github.com/luxfi/node/pull/3809
- @careworry made their first contribution in https://github.com/luxfi/node/pull/3913
- @standstaff made their first contribution in https://github.com/luxfi/node/pull/3584
- @RodrigoVillar made their first contribution in https://github.com/luxfi/node/pull/3565
- @federiconardelli7 made their first contribution in https://github.com/luxfi/node/pull/3819
- @GarmashAlex made their first contribution in https://github.com/luxfi/node/pull/3936
- @findnature made their first contribution in https://github.com/luxfi/node/pull/3932
- @yetyear made their first contribution in https://github.com/luxfi/node/pull/3952
- @aleksandarknezevic made their first contribution in https://github.com/luxfi/node/pull/3968
- @pullmerge made their first contribution in https://github.com/luxfi/node/pull/3974
- @gap-editor made their first contribution in https://github.com/luxfi/node/pull/3978
- @geoff-vball made their first contribution in https://github.com/luxfi/node/pull/3962
- @siphonelee made their first contribution in https://github.com/luxfi/node/pull/3979
Full Changelog: https://github.com/luxfi/node/compare/v1.13.0...v1.13.1
v1.13.0
This upgrade consists of the following Lux Community Proposal (LP):
- LP-176 Dynamic EVM Gas Limits and Price Discovery Updates
The LP in this upgrade goes into effect at 11 AM ET (3 PM UTC) on Tuesday, April 8th, 2025 on Mainnet.
All Fortuna supporting Mainnet nodes should upgrade before 11 AM ET, April 8th 2025.
The plugin version is unchanged at 39 and is compatible with version v1.12.2.
APIs
- Added ProposerVM block timestamp metrics:
lux_proposervm_last_accepted_timestamp - Added network health check to alert if a primary network validator has no ingress connections. Runs a configurable time after startup or 10 minutes by default.
Configs
- Added:
--proposervm-min-block-delay--network-no-ingress-connections-grace-periodto configure how long after startup it is expected for a Mainnet validator to have received an ingress connection.
What's Changed
- Implement traversal based early termination by @yacovm in https://github.com/luxfi/node/pull/3337
- Add networked-signer tests by @richardpringle in https://github.com/luxfi/node/pull/3613
- Remove unused code by @yacovm in https://github.com/luxfi/node/pull/3682
- chore(proposervm): timestamp metrics for block acceptance by @ARR4N in https://github.com/luxfi/node/pull/3680
- remove dependency of validator.State from BitSetSignature.Verify by @tsachiherman in https://github.com/luxfi/node/pull/3679
- [docker] Optimize build time by copying and downloading deps first by @maru-ava in https://github.com/luxfi/node/pull/3683
- fix: broken link in README.md by @DeVikingMark in https://github.com/luxfi/node/pull/3681
- [docker] Silence remaining InvalidDefaultArgInFrom warnings by @maru-ava in https://github.com/luxfi/node/pull/3684
- [tmpnet] Update chain configuration in README by @maru-ava in https://github.com/luxfi/node/pull/3686
- testing: improve e2e test bootstrapping by @tsachiherman in https://github.com/luxfi/node/pull/3690
- [tmpnet] Update URI and StakingAddress usage in support of kube by @marun in https://github.com/luxfi/node/pull/3665
- [tmpnet] Re-enable reuse of dynamically allocated API ports by @maru-ava in https://github.com/luxfi/node/pull/3697
- fix spelling issues by @futreall in https://github.com/luxfi/node/pull/3700
- fix: correct typos in parser.go and tmpnet documentation by @avorylli in https://github.com/luxfi/node/pull/3712
- fix: typos in documentation files by @maximevtush in https://github.com/luxfi/node/pull/3710
- Fail fast in tests if lux executable isn't an absolute path by @yacovm in https://github.com/luxfi/node/pull/3707
- [ci] Fix metrics link annotation emitted for e2e and upgrade jobs by @maru-ava in https://github.com/luxfi/node/pull/3713
- Remove Mock Mempool by @joshua-kim in https://github.com/luxfi/node/pull/3687
- cleanup(tmpnet): resolve chainconfig post-etna TODO by @darioush in https://github.com/luxfi/node/pull/3720
- Update to go 1.23.6 by @joshua-kim in https://github.com/luxfi/node/pull/3722
- docs: Fix grammatical errors and improve clarity in documentation and comments by @VolodymyrBg in https://github.com/luxfi/node/pull/3716
- [testing] Replace script-based tool installation with nix by @maru-ava in https://github.com/luxfi/node/pull/3691
- Remove unnecessary function by @richardpringle in https://github.com/luxfi/node/pull/3723
- bump geth to master by @darioush in https://github.com/luxfi/node/pull/3724
- Make
bls.Signerapi fallible by @richardpringle in https://github.com/luxfi/node/pull/3696 - Add comment to seemingly dead code by @richardpringle in https://github.com/luxfi/node/pull/3721
- Bump geth by @richardpringle in https://github.com/luxfi/node/pull/3728
- Comment on the need for
CGO_ENABLED=1to support cross-compilation by @maru-ava in https://github.com/luxfi/node/pull/3735 - [ci] Update to golangci-lint version compatible with go 1.23 by @maru-ava in https://github.com/luxfi/node/pull/3739
- [testing] Provide more logging context for SynchronizedBeforeSuite by @maru-ava in https://github.com/luxfi/node/pull/3741
- refactor: export PeerSample by @Elvis339 in https://github.com/luxfi/node/pull/3745
- [antithesis] Set LUXD_PLUGIN_DIR for VM images by @maru-ava in https://github.com/luxfi/node/pull/3751
- [ci] Drop support for Ubuntu 20.04 by @maru-ava in https://github.com/luxfi/node/pull/3737
- Fix spelling errors in
majority.go,minority.go,compressor.go, andlogger.goby @tomasandroil in https://github.com/luxfi/node/pull/3738 - [ci] Simplify tmpnet monitoring action by @maru-ava in https://github.com/luxfi/node/pull/3736
- Remove apostrophe from Dockerfile comments by @aaronbuchwald in https://github.com/luxfi/node/pull/3706
- fix error 404 link README.md by @futreall in https://github.com/luxfi/node/pull/3750
- fix: typos in documentation files by @leopardracer in https://github.com/luxfi/node/pull/3733
- Add With and WithOptions receivers to the Logger interface by @iansuvak in https://github.com/luxfi/node/pull/3729
- [tmpnet] Minimize duration of tx acceptance for e2e testing by @maru-ava in https://github.com/luxfi/node/pull/3685
- Remove unused
ForceCreateChainfunction fromtestManagerby @strmfos in https://github.com/luxfi/node/pull/3755 - chore: make function comments match function names by @rustco in https://github.com/luxfi/node/pull/3757
- L1 validator eviction block validity by @StephenButtolph in https://github.com/luxfi/node/pull/3758
- Add LP-176 e2e tests by @StephenButtolph in https://github.com/luxfi/node/pull/3749
- [tmpnet] Deploy collectors with golang to simplify cross-repo use by @maru-ava in https://github.com/luxfi/node/pull/3692
- fix spelling issues config_test.go by @futreall in https://github.com/luxfi/node/pull/3760
- [tmpnet] Add check for collection of logs and metrics to custom github action by @maru-ava in https://github.com/luxfi/node/pull/3740
- Deprecate the
consensus.Context.Lockby @StephenButtolph in https://github.com/luxfi/node/pull/3762 - Name F-Upgrade Fortuna by @StephenButtolph in https://github.com/luxfi/node/pull/3761
- Add CodecID to ICM README by @iansuvak in https://github.com/luxfi/node/pull/3759
- Update CODEOWNERS s/marun/maru-ava/ by @maru-ava in https://github.com/luxfi/node/pull/3768
- Support caller-defined namespaces in merkledb by @joshua-kim in https://github.com/luxfi/node/pull/3747
- Fix empty standard block check by @StephenButtolph in https://github.com/luxfi/node/pull/3775
- Enable empty standard block check by @StephenButtolph in https://github.com/luxfi/node/pull/3776
- Restrict ProposerVM P-chain height advancement by @StephenButtolph in https://github.com/luxfi/node/pull/3777
- Add canoto serialization support to the block context by @aaronbuchwald in https://github.com/luxfi/node/pull/3709
- Remove support for XVM tx checksums by @joshua-kim in https://github.com/luxfi/node/pull/3774
- [ci] Disable monitoring for jobs of PRs of fork branches by @maru-ava in https://github.com/luxfi/node/pull/3781
- Update db_test.go by @sky-coderay in https://github.com/luxfi/node/pull/3765
- chore: fix some function names in comment by @tcpdumppy in https://github.com/luxfi/node/pull/3773
- Implement LP-118 Aggregator by @joshua-kim in https://github.com/luxfi/node/pull/3394
- Print git commit version upon startup by @yacovm in https://github.com/luxfi/node/pull/3771
- chore(nix): add darwin.apple_sdk.frameworks.Security by @darioush in https://github.com/luxfi/node/pull/3769
- Add comment to SendConfig documenting how to broadcast by @aaronbuchwald in https://github.com/luxfi/node/pull/3783
- refactor: use a more straightforward return value by @fuyangpengqi in https://github.com/luxfi/node/pull/3726
- [ci] Stop emitting grafana link as an annotation by @maru-ava in https://github.com/luxfi/node/pull/3767
- Remove Etna activation banner by @StephenButtolph in https://github.com/luxfi/node/pull/3789
- Upgrade canoto to v0.13.3 by @tsachiherman in https://github.com/luxfi/node/pull/3790
- Healthcheck for zero ingress connection count by @yacovm in https://github.com/luxfi/node/pull/3719
- Timely halt Lux engine by @yacovm in https://github.com/luxfi/node/pull/3792
- [docker] Update all images to debian12/bookworm by @maru-ava in https://github.com/luxfi/node/pull/3798
- [ci] Move monitoring check from github action to code by @maru-ava in https://github.com/luxfi/node/pull/3766
- [tmpnet] Start kind cluster with golang by @maru-ava in https://github.com/luxfi/node/pull/3780
- Fix flake TestIngressConnCount by @yacovm in https://github.com/luxfi/node/pull/3799
- [tmpnet] Rename tmpnetctl main package from cmd to tmpnetctl by @maru-ava in https://github.com/luxfi/node/pull/3787
- Improve check-clean CI script by @StephenButtolph in https://github.com/luxfi/node/pull/3800
- Bump golang.org/x/net from 0.33.0 to 0.36.0 by @dependabot in https://github.com/luxfi/node/pull/3793
- Fix LP-118 Aggregator Test Flake by @joshua-kim in https://github.com/luxfi/node/pull/3801
- Canoto v0.15.0 upgrade by @tsachiherman in https://github.com/luxfi/node/pull/3805
- [tmpnet] Fix README example for tmpnetctl script by @maru-ava in https://github.com/luxfi/node/pull/3807
- Update geth to v0.15.0-rc.0 by @darioush in https://github.com/luxfi/node/pull/3808
New Contributors
- @maru-ava made their first contribution in https://github.com/luxfi/node/pull/3683
- @DeVikingMark made their first contribution in https://github.com/luxfi/node/pull/3681
- @futreall made their first contribution in https://github.com/luxfi/node/pull/3700
- @avorylli made their first contribution in https://github.com/luxfi/node/pull/3712
- @maximevtush made their first contribution in https://github.com/luxfi/node/pull/3710
- @VolodymyrBg made their first contribution in https://github.com/luxfi/node/pull/3716
- @Elvis339 made their first contribution in https://github.com/luxfi/node/pull/3745
- @tomasandroil made their first contribution in https://github.com/luxfi/node/pull/3738
- @leopardracer made their first contribution in https://github.com/luxfi/node/pull/3733
- @strmfos made their first contribution in https://github.com/luxfi/node/pull/3755
- @rustco made their first contribution in https://github.com/luxfi/node/pull/3757
- @sky-coderay made their first contribution in https://github.com/luxfi/node/pull/3765
- @tcpdumppy made their first contribution in https://github.com/luxfi/node/pull/3773
- @fuyangpengqi made their first contribution in https://github.com/luxfi/node/pull/3726
Full Changelog: https://github.com/luxfi/node/compare/v1.12.2...v1.13.0
v1.12.2
This version is backwards compatible to v1.12.0. It is optional, but encouraged.
The plugin version is updated to 39 all plugins must update to be compatible.
This release removes the support for the long deprecated Keystore API. Any users still relying on the keystore API will not be able to update to this version, or any later versions, of Luxgo until their dependency on the keystore API has been removed.
APIs
- Deprecated:
info.GetTxFee
- Added:
xvm.GetTxFeeplatform.getValidatorFeeConfigplatform.getValidatorFeeStatevalidationIDfield toplatform.getL1Validatorresults- L1 validators to
platform.getCurrentValidators
- Removed:
StakeAmountfield fromplatform.getCurrentValidatorsresultskeystore.createUserkeystore.deleteUserkeystore.listUserskeystore.importUserkeystore.exportUserxvm.createAddressxvm.createFixedCapAssetxvm.createNFTAssetxvm.createVariableCapAssetxvm.exportxvm.exportKeyxvm.importxvm.importKeyxvm.listAddressesxvm.mintxvm.mintNFTxvm.sendxvm.sendMultiplexvm.sendNFTwallet.sendwallet.sendMultipleplatform.exportKeyplatform.listAddresses
Configs
- Removed static fee config flags
--create-chain-tx-fee--transform-chain-tx-fee--create-blockchain-tx-fee--add-primary-network-validator-fee--add-primary-network-delegator-fee--add-chain-validator-fee--add-chain-delegator-fee
- Removed
--api-keystore-enabled
What's Changed
- [testing] Always use the go.mod version of ginkgo by @marun in https://github.com/luxfi/node/pull/3618
- Bump antithesishq/antithesis-trigger-action from 0.5 to 0.6 by @dependabot in https://github.com/luxfi/node/pull/3620
- Fix typos in document files by @taozui472 in https://github.com/luxfi/node/pull/3622
- [ci] Always use the specified go version by @marun in https://github.com/luxfi/node/pull/3616
- Fix: quotation mark by @jasmyhigh in https://github.com/luxfi/node/pull/3623
- refactor: move node configs to config/node by @darioush in https://github.com/luxfi/node/pull/3600
- Update e2e tests and CI jobs for post-etna by @marun in https://github.com/luxfi/node/pull/3614
- Replace AWM terminology in ReadMe with ICM by @meaghanfitzgerald in https://github.com/luxfi/node/pull/3595
- fix: grammatical mistakes by @crStiv in https://github.com/luxfi/node/pull/3625
- [testing] Update golangci-lint to latest version by @marun in https://github.com/luxfi/node/pull/3617
- partial sync default info by @meaghanfitzgerald in https://github.com/luxfi/node/pull/3602
- Update stale comment on commitToDB by @aaronbuchwald in https://github.com/luxfi/node/pull/3627
- geth atomic pkg dependency by @ceyonur in https://github.com/luxfi/node/pull/3588
- Mark Meag as the owner of README files by @StephenButtolph in https://github.com/luxfi/node/pull/3635
- Update x/net to v0.33.0 by @StephenButtolph in https://github.com/luxfi/node/pull/3636
- Fix codeowners to simplify PR review by @StephenButtolph in https://github.com/luxfi/node/pull/3637
- Add BLS healthcheck to communicate incorrect BLS key configuration by @StephenButtolph in https://github.com/luxfi/node/pull/3638
- chore(all): mocks generation improved by @qdm12 in https://github.com/luxfi/node/pull/3628
- fix LRU sized cache: consistent size at element removal by @rrazvan1 in https://github.com/luxfi/node/pull/3634
- Index API and Lux Node Configs Docs Fix by @meaghanfitzgerald in https://github.com/luxfi/node/pull/3632
- [ci] Migrate from buf-*-action to buf-action by @marun in https://github.com/luxfi/node/pull/3639
- chore(ci): define Github labels as code with a workflow by @qdm12 in https://github.com/luxfi/node/pull/3629
- feat(github): add "needs Go upgrade" label by @qdm12 in https://github.com/luxfi/node/pull/3642
- [ci] Fix post-merge protobuf lint job breakage by @marun in https://github.com/luxfi/node/pull/3644
- merkledb visualisations v1 (change proofs and range proofs) by @rrazvan1 in https://github.com/luxfi/node/pull/3643
- Remove Static Fee Config by @samliok in https://github.com/luxfi/node/pull/3610
- fix(ci): trigger labels workflow on push to master not main by @qdm12 in https://github.com/luxfi/node/pull/3646
- X-Chain API fix by @meaghanfitzgerald in https://github.com/luxfi/node/pull/3654
- [ci] Rename {PROMETHEUS,LOKI}_ID to {PROMETHEUS,LOKI}_USERNAME by @marun in https://github.com/luxfi/node/pull/3652
- chore: replaced faulty link by @Radovenchyk in https://github.com/luxfi/node/pull/3649
- Add L1 validator fees API by @StephenButtolph in https://github.com/luxfi/node/pull/3647
- Reintroduce the deprecated
info.getTxFeeAPI by @StephenButtolph in https://github.com/luxfi/node/pull/3656 - remove x-chain api obsolete metadata by @meaghanfitzgerald in https://github.com/luxfi/node/pull/3655
- Remove the Keystore API by @StephenButtolph in https://github.com/luxfi/node/pull/3657
- Add F Upgrade Scaffolding. Post-Etna Cleanup by @michaelkaplan13 in https://github.com/luxfi/node/pull/3672
- [testing] Fix instructions for triggering antithesis test runs by @marun in https://github.com/luxfi/node/pull/3664
- [testing] Ensure run_metric.sh uses a writeable storage path by @marun in https://github.com/luxfi/node/pull/3662
- Make consensusman use consensusflake directly instead of consensusball by @yacovm in https://github.com/luxfi/node/pull/3403
- chore: fix some typos by @chuangjinglu in https://github.com/luxfi/node/pull/3670
- Bump antithesishq/antithesis-trigger-action from 0.6 to 0.7 by @dependabot in https://github.com/luxfi/node/pull/3667
- [ci] Use go env {GOOS,GOARCH} for os and arch detection by @marun in https://github.com/luxfi/node/pull/3661
- Silence docker InvalidDefaultArgInFrom warnings by @marun in https://github.com/luxfi/node/pull/3659
- add L1 support to getCurrentValidators API by @ceyonur in https://github.com/luxfi/node/pull/3564
- [docker] Enable image builds from git worktrees by @marun in https://github.com/luxfi/node/pull/3660
- [tmpnet] Set an explicit
instancelabel for logs and metrics by @marun in https://github.com/luxfi/node/pull/3650 - [docker] Switch to kube-compatible plugin path for images by @marun in https://github.com/luxfi/node/pull/3653
- [testing] Support direnv to simplify usage of test tooling by @marun in https://github.com/luxfi/node/pull/3651
New Contributors
- @taozui472 made their first contribution in https://github.com/luxfi/node/pull/3622
- @jasmyhigh made their first contribution in https://github.com/luxfi/node/pull/3623
- @crStiv made their first contribution in https://github.com/luxfi/node/pull/3625
- @qdm12 made their first contribution in https://github.com/luxfi/node/pull/3628
- @rrazvan1 made their first contribution in https://github.com/luxfi/node/pull/3634
- @Radovenchyk made their first contribution in https://github.com/luxfi/node/pull/3649
- @chuangjinglu made their first contribution in https://github.com/luxfi/node/pull/3670
Full Changelog: https://github.com/luxfi/node/compare/v1.12.1...v1.12.2
v1.12.1
This version is backwards compatible to v1.12.0. It is optional, but encouraged.
The plugin version is unchanged at 38 and is compatible with version v1.12.0.
Configs
- Added PebbleDB option
syncwhich defaults totrue
Fixes
- Fixed P-chain mempool verification to disallow transactions that exceed the available chain capacity
What's Changed
- Expose test network cfg by @cam-schultz in https://github.com/luxfi/node/pull/3573
- encapsulate signer by @richardpringle in https://github.com/luxfi/node/pull/3576
- use pebble nosync by default by @ceyonur in https://github.com/luxfi/node/pull/3581
- fix: feeState API call in docs by @ashucoder9 in https://github.com/luxfi/node/pull/3596
- Format Service.MD by @samliok in https://github.com/luxfi/node/pull/3599
- Verify tx gas isn't too large in VerifyTx by @StephenButtolph in https://github.com/luxfi/node/pull/3604
- Add already implemented merkledb.View to MerkleDB interface by @aaronbuchwald in https://github.com/luxfi/node/pull/3593
- Add tempdir in for chain ctx data dir by @aaronbuchwald in https://github.com/luxfi/node/pull/3594
- Improve block building and verification logging by @StephenButtolph in https://github.com/luxfi/node/pull/3605
- Bump golang.org/x/crypto from 0.26.0 to 0.31.0 by @dependabot in https://github.com/luxfi/node/pull/3608
Full Changelog: https://github.com/luxfi/node/compare/v1.12.0...v1.12.1
v1.12.0
This upgrade consists of the following Lux Community Proposals (LPs):
- LP-77 Reinventing Nets
- LP-103 Add Dynamic Fees to the P-Chain
- LP-118 Warp Signature Interface Standard
- LP-125 Reduce C-Chain minimum base fee from 25 nLUX to 1 nLUX
- LP-131 Activate Cancun EIPs on C-Chain and Net-EVM chains
- LP-151 Use current block P-Chain height as context for state verification
The changes in the upgrade go into effect at 12 AM ET (5 PM UTC) on Monday, December 16th, 2025 on Mainnet.
All Etna supporting Mainnet nodes should upgrade before 12 AM ET, December 16th 2025.
The plugin version is unchanged at 38 and is compatible with version v1.11.13.
APIs
- Allowed
platform.issueTxto be called, for non-ImportTx transactions, while partial syncing
What's Changed
- Fix NetToL1ConversionData typo by @cam-schultz in https://github.com/luxfi/node/pull/3555
- Refactor
logging.Formatto expose constants by @StephenButtolph in https://github.com/luxfi/node/pull/3561 - [testing] Switch to logging with log by @marun in https://github.com/luxfi/node/pull/3557
- Use JSON logs during Antithesis runs by @StephenButtolph in https://github.com/luxfi/node/pull/3562
- Antithesis: Skip checks if tx confirmation fails by @StephenButtolph in https://github.com/luxfi/node/pull/3563
- chore: fix some function names in comment by @wanxiangchwng in https://github.com/luxfi/node/pull/3566
- update api docs by @ashucoder9 in https://github.com/luxfi/node/pull/3558
- Remove unused wallet interface by @StephenButtolph in https://github.com/luxfi/node/pull/3568
- Remove required fields from config by @StephenButtolph in https://github.com/luxfi/node/pull/3569
- Remove redundant field in platformVM/network's Network by @yacovm in https://github.com/luxfi/node/pull/3571
- Remove observedNetUptime from Info Docs by @samliok in https://github.com/luxfi/node/pull/3575
- Allow issuing transactions when using partial-sync by @StephenButtolph in https://github.com/luxfi/node/pull/3570
- Add partial-sync support to the wallet by @StephenButtolph in https://github.com/luxfi/node/pull/3567
New Contributors
- @wanxiangchwng made their first contribution in https://github.com/luxfi/node/pull/3566
- @ashucoder9 made their first contribution in https://github.com/luxfi/node/pull/3558
Full Changelog: https://github.com/luxfi/node/compare/v1.11.13...v1.12.0
v1.11.13
This version is backwards compatible to v1.11.0. It is optional, but encouraged.
The plugin version is updated to 38 all plugins must update to be compatible.
APIs
- Added
platform.getL1Validator - Added
platform.getProposedHeight - Updated
platform.getValidatorsAtto accept"proposed"as validheightinput
Configs
- Added P-chain configs
"l1-weights-cache-size""l1-inactive-validators-cache-size""l1-chain-id-node-id-cache-size"
Fixes
- Fixed metrics initialization in the RPCChainVM. This could cause crashes during startup if metrics was requested during VM initialization.
- Fixed compilations on macos 14.7 and higher
- Fixed node wallet usage with ledger v0.8.4
- Fixed missing
NodeIDsargument in theinfo.peersclient implementation - Fixed
getChainIDstate tracing
What's Changed
- [testing] Double image build timeout for bootstrap monitor e2e by @marun in https://github.com/luxfi/node/pull/3468
- [antithesis] Double the duration of sanity checks by @marun in https://github.com/luxfi/node/pull/3475
- Properly initialize metrics in rpcchainVM by @yacovm in https://github.com/luxfi/node/pull/3477
- Cleanup editorconfig by @dhrubabasu in https://github.com/luxfi/node/pull/3473
- Update lux ledger go package by @sukantoraymond in https://github.com/luxfi/node/pull/3456
- [testing] Enable config of log format for bootstrap monitor by @marun in https://github.com/luxfi/node/pull/3467
- cache signatures only in lp118 handler by @ceyonur in https://github.com/luxfi/node/pull/3474
- Introduce and use
database.WithDefaultby @StephenButtolph in https://github.com/luxfi/node/pull/3478 - Evict recentlyAccepted blocks based on wall-clock time by @iansuvak in https://github.com/luxfi/node/pull/3460
- fix improper use of FailNow in testing by @tsachiherman in https://github.com/luxfi/node/pull/3479
- [LP 151] Use current block's P-Chain height as context for verifying state of the inner block by @iansuvak in https://github.com/luxfi/node/pull/3459
- [tmpnet] Add --start-network to support hypersdk MODE=run by @marun in https://github.com/luxfi/node/pull/3465
- [e2e] Check network health after bootstrap checks by @marun in https://github.com/luxfi/node/pull/3466
- LP-77: Add ConversionID to state by @StephenButtolph in https://github.com/luxfi/node/pull/3481
- Make bootstrapping handle its own timeouts by @yacovm in https://github.com/luxfi/node/pull/3410
- Wrap
TestDiffExpirysub-tests int.Runby @StephenButtolph in https://github.com/luxfi/node/pull/3483 - Move RPC metrics registration after its client's initialization by @yacovm in https://github.com/luxfi/node/pull/3488
- database: add applicable dbtests for linkeddb by @darioush in https://github.com/luxfi/node/pull/3486
- Add SoV Excess to P-chain state by @StephenButtolph in https://github.com/luxfi/node/pull/3482
- Remove deprecated X-chain pubsub server by @StephenButtolph in https://github.com/luxfi/node/pull/3490
- Update SoV struct to align with latest LP-77 spec by @StephenButtolph in https://github.com/luxfi/node/pull/3492
- Register VM and consensusman metrics after chain creation by @yacovm in https://github.com/luxfi/node/pull/3489
- Skip Flaky Test by @joshua-kim in https://github.com/luxfi/node/pull/3495
- Add request to update
releases.mdin PR template by @ceyonur in https://github.com/luxfi/node/pull/3476 - LP-77: Update P-chain state staker tests by @StephenButtolph in https://github.com/luxfi/node/pull/3494
- LP-77: Write chain public key diffs to state by @StephenButtolph in https://github.com/luxfi/node/pull/3487
- Add
Deregistertometrics.MultiGathererinterface by @StephenButtolph in https://github.com/luxfi/node/pull/3498 - LP-77: Add chainIDNodeID struct by @StephenButtolph in https://github.com/luxfi/node/pull/3499
- Use chain public key diffs after Etna is activated by @StephenButtolph in https://github.com/luxfi/node/pull/3502
- Split
writeCurrentStakersinto multiple functions by @StephenButtolph in https://github.com/luxfi/node/pull/3500 - [tmpnet] Refactor bootstrap monitor kubernetes functions for reuse by @marun in https://github.com/luxfi/node/pull/3446
- Add NumNets to the validator manager interface by @StephenButtolph in https://github.com/luxfi/node/pull/3504
- Clarify partial sync flag by @michaelkaplan13 in https://github.com/luxfi/node/pull/3505
- Update BLST to v0.3.13 by @yacovm in https://github.com/luxfi/node/pull/3506
- Restrict public keys prior to TLS handshake by @yacovm in https://github.com/luxfi/node/pull/3501
- LP-77: Filter the inactive validator from block proposals and tx gossip by @StephenButtolph in https://github.com/luxfi/node/pull/3509
- [testing] Enable bootstrap testing of partial sync by @marun in https://github.com/luxfi/node/pull/3508
- Rename
constantsAreUnmodifiedtoimmutableFieldsAreUnmodifiedby @StephenButtolph in https://github.com/luxfi/node/pull/3513 - Accept info.Peers args by @cam-schultz in https://github.com/luxfi/node/pull/3515
- Return shallow copy of validator set in platformVM's validator manager by @yacovm in https://github.com/luxfi/node/pull/3512
- Add
ValidatorWeightDiffAddandSubhelpers by @StephenButtolph in https://github.com/luxfi/node/pull/3514 - LP-77: Add caching to SoV DB helpers by @StephenButtolph in https://github.com/luxfi/node/pull/3516
- Add script to configure metrics and log collection from a local node by @marun in https://github.com/luxfi/node/pull/3517
- LP-77: Implement validator state by @StephenButtolph in https://github.com/luxfi/node/pull/3388
- LP-77: Reduce block gossip log level by @StephenButtolph in https://github.com/luxfi/node/pull/3519
- LP-77: Implement ids.ID#Append by @StephenButtolph in https://github.com/luxfi/node/pull/3518
- LP-103: Document and update genesis test fee configs by @StephenButtolph in https://github.com/luxfi/node/pull/3520
- LP-77: Deactivate SoVs without sufficient fees by @StephenButtolph in https://github.com/luxfi/node/pull/3412
- LP-77: Allow legacy validator removal after conversion by @StephenButtolph in https://github.com/luxfi/node/pull/3521
- LP-77: Refactor e2e test by @StephenButtolph in https://github.com/luxfi/node/pull/3522
- LP-77: Update
ConvertNetTxby @StephenButtolph in https://github.com/luxfi/node/pull/3397 - Remove stutter in P-chain wallet builder by @StephenButtolph in https://github.com/luxfi/node/pull/3524
- Clarify EndAccumulatedFee comment by @michaelkaplan13 in https://github.com/luxfi/node/pull/3523
- [tmpnet] Misc cleanup for monitoring tooling by @marun in https://github.com/luxfi/node/pull/3527
- Remove P-chain txsmock package by @StephenButtolph in https://github.com/luxfi/node/pull/3528
- Unexport all P-Chain visitors by @StephenButtolph in https://github.com/luxfi/node/pull/3525
- Standardize P-Chain tx visitor order by @StephenButtolph in https://github.com/luxfi/node/pull/3529
- LP-77: Implement
RegisterNetValidatorTxby @StephenButtolph in https://github.com/luxfi/node/pull/3420 - LP-77: Refactor P-Chain configs by @StephenButtolph in https://github.com/luxfi/node/pull/3533
- Add additional BLS benchmarks by @StephenButtolph in https://github.com/luxfi/node/pull/3538
- LP-77: Refactor chain auth verification by @StephenButtolph in https://github.com/luxfi/node/pull/3537
- LP-77: Implement
SetNetValidatorWeightTxby @StephenButtolph in https://github.com/luxfi/node/pull/3421 - Rename error to be more generic by @StephenButtolph in https://github.com/luxfi/node/pull/3543
- fix getChainIDTag in traced state by @ceyonur in https://github.com/luxfi/node/pull/3542
- Add
platform.getNetOnlyValidatorAPI by @StephenButtolph in https://github.com/luxfi/node/pull/3540 - Add SoV deactivation owner support to the P-chain wallet by @StephenButtolph in https://github.com/luxfi/node/pull/3541
- LP-77: Implement Warp message verification by @StephenButtolph in https://github.com/luxfi/node/pull/3423
- LP-77: Current validators API for SoV by @ceyonur in https://github.com/luxfi/node/pull/3404
- LP-77: Implement Warp message signing by @StephenButtolph in https://github.com/luxfi/node/pull/3428
- LP-77: Implement IncreaseBalanceTx by @StephenButtolph in https://github.com/luxfi/node/pull/3429
- LP-77: Implement DisableNetValidatorTx by @StephenButtolph in https://github.com/luxfi/node/pull/3440
- Improve P-Chain error messages by @StephenButtolph in https://github.com/luxfi/node/pull/3536
- Add Etna logging by @StephenButtolph in https://github.com/luxfi/node/pull/3454
- Add Etna P-chain metrics by @StephenButtolph in https://github.com/luxfi/node/pull/3458
- Clarify benched field by @samliok in https://github.com/luxfi/node/pull/3545
- [tmpnet] Watch for and report FATAL log entries on node startup by @marun in https://github.com/luxfi/node/pull/3535
- Allow non primary network validators to request all peers by @cam-schultz in https://github.com/luxfi/node/pull/3491
- Add
platform.getProposedHeightAPI by @iansuvak in https://github.com/luxfi/node/pull/3530 - Follow LP-77 naming conventions by @michaelkaplan13 in https://github.com/luxfi/node/pull/3546
- LP-103: Finalize complexity calculations by @StephenButtolph in https://github.com/luxfi/node/pull/3548
- LP-103: Finalize parameterization by @StephenButtolph in https://github.com/luxfi/node/pull/3549
- Add "proposed" optional flag to
getValidatorsAtby @iansuvak in https://github.com/luxfi/node/pull/3531 - Fix json parsing of GetValidatorsAtArgs by @iansuvak in https://github.com/luxfi/node/pull/3551
New Contributors
- @sukantoraymond made their first contribution in https://github.com/luxfi/node/pull/3456
- @samliok made their first contribution in https://github.com/luxfi/node/pull/3545
v1.11.11
This version is backwards compatible to v1.11.0. It is optional, but encouraged.
The plugin version is updated to 37 all plugins must update to be compatible.
APIs
- Updated JSON marshalling of the
Memofield to follow best practices - Added
info.upgrades - Added
platform.getFeeConfig - Added
platform.getFeeState - Deprecated chain uptimes
info.uptimeswith non-primary network chainIDs is deprecatedinfo.peersobservedNetUptimesis deprecatedplatform.getCurrentValidatorsuptimeandconnectedare deprecated for non-primary network chainIDs.lux_network_node_chain_uptime_weighted_averagemetric is deprecatedlux_network_node_chain_uptime_rewarding_stakemetric is deprecated
- Added
lux_network_tracked_peersmetric - Added
lux_network_tracked_chainsmetric - Removed
lux_network_tracked_ipsmetric - Added disconnected validators to the health check result
Configs
- Added upgrade config
--upgrade-file--upgrade-file-content
- Added dynamic fees config
--dynamic-fees-bandwidth-weight--dynamic-fees-read-weight--dynamic-fees-write-weight--dynamic-fees-compute-weight--dynamic-fees-max-gas-capacity--dynamic-fees-max-gas-per-second--dynamic-fees-target-gas-per-second--dynamic-fees-min-gas-price--dynamic-fees-excess-conversion-constant
Fixes
- Fixed panic when tracing is enabled
- Removed duplicate block signature verifications during bootstrapping
- Fixed racy timer clearing in message throttling
What's Changed
- [ci] Remove defunct network outage sim workflow by @marun in https://github.com/luxfi/node/pull/3234
- chore: allow test-only imports in
*testand/tests/**packages by @ARR4N in https://github.com/luxfi/node/pull/3229 - Add benchmarks for add and sub fee dimensions by @abi87 in https://github.com/luxfi/node/pull/3222
- Remove deadcode by @dhrubabasu in https://github.com/luxfi/node/pull/3086
- Parallelize BatchedParseBlock by @yacovm in https://github.com/luxfi/node/pull/3227
- [ci] Lint on non-test code importing packages from /tests by @marun in https://github.com/luxfi/node/pull/3214
- Merge unlocked stake outputs by @StephenButtolph in https://github.com/luxfi/node/pull/3231
- LP 118 reference implementation by @cam-schultz in https://github.com/luxfi/node/pull/3218
- Storage OpenBSD/adJ by @vtamara in https://github.com/luxfi/node/pull/2809
- Remove unused error from fee calculator creation by @StephenButtolph in https://github.com/luxfi/node/pull/3245
- Rename Transitive consensusman to Engine consensusman by @yacovm in https://github.com/luxfi/node/pull/3244
- Simplify static fee calculations by @StephenButtolph in https://github.com/luxfi/node/pull/3240
- Remove targetBlockSize arg by @StephenButtolph in https://github.com/luxfi/node/pull/3249
- Add dynamic fees config by @StephenButtolph in https://github.com/luxfi/node/pull/3250
- Remove unused Samplers by @dhrubabasu in https://github.com/luxfi/node/pull/3219
- Inline
verifierstruct creation by @dhrubabasu in https://github.com/luxfi/node/pull/3252 - Add fee.State to P-chain state by @StephenButtolph in https://github.com/luxfi/node/pull/3248
- Fix comparison comment in consensusflake algorithms by @yacovm in https://github.com/luxfi/node/pull/3256
- Add network upgrade config by @aaronbuchwald in https://github.com/luxfi/node/pull/3207
- [vms/platformvm] Add
VerifyWithRuntimetoBlocks by @dhrubabasu in https://github.com/luxfi/node/pull/3236 - [ci] Switch to v2 of docker compose plugin by @marun in https://github.com/luxfi/node/pull/3259
- Minimize signature verification when bootstrapping by @yacovm in https://github.com/luxfi/node/pull/3255
- [vms/platformvm] Add tracking of a Net manager by @dhrubabasu in https://github.com/luxfi/node/pull/3126
- Remove trackedNet check for explicitly named peers in network.Send() by @iansuvak in https://github.com/luxfi/node/pull/3258
- refactor: introduce
*testpackages in lieu of//go:build testby @ARR4N in https://github.com/luxfi/node/pull/3238 - [e2e] Enhance post-test bootstrap checks by @marun in https://github.com/luxfi/node/pull/3253
- [e2e] Abstract usage of ginkgo with a new test context by @marun in https://github.com/luxfi/node/pull/3254
- Update code owners by @StephenButtolph in https://github.com/luxfi/node/pull/3262
- [antithesis] Refactor image build for reuse by other repos by @marun in https://github.com/luxfi/node/pull/3198
- Expose upgrade config in the info API by @StephenButtolph in https://github.com/luxfi/node/pull/3266
- [antithesis] Ensure references to pushed images are qualified by @marun in https://github.com/luxfi/node/pull/3264
- Fix spelling by @nnsW3 in https://github.com/luxfi/node/pull/3267
- refactor: rename
*test.Test*identifiers by @ARR4N in https://github.com/luxfi/node/pull/3260 - Separate e2e tests by etna activation by @StephenButtolph in https://github.com/luxfi/node/pull/3268
- Implement P-chain LP-103 complexity calculations by @StephenButtolph in https://github.com/luxfi/node/pull/3209
- Implement dynamic fee calculator by @StephenButtolph in https://github.com/luxfi/node/pull/3211
- [tmpnet] Add Network.GetNetworkID() to get ID of a running network by @marun in https://github.com/luxfi/node/pull/3269
- Disable
TransformNetTxpost-Etna by @dhrubabasu in https://github.com/luxfi/node/pull/3152 - [tmpnet] Fail node health check if node is not running by @marun in https://github.com/luxfi/node/pull/3274
- [tmpnet] Enable network restart to simplify iteration by @marun in https://github.com/luxfi/node/pull/3272
- Add StoppedTimer helper by @marun in https://github.com/luxfi/node/pull/3280
- Fix race in timer stoppage by @StephenButtolph in https://github.com/luxfi/node/pull/3281
- [tmpnet] Add check for vm binaries to network and node start by @marun in https://github.com/luxfi/node/pull/3273
- Refactor P-chain Builder by @StephenButtolph in https://github.com/luxfi/node/pull/3282
- chore: fix some comments by @drawdrop in https://github.com/luxfi/node/pull/3289
- Update write path of tmpnet chain config by @aaronbuchwald in https://github.com/luxfi/node/pull/3290
- add network upgrades to chain ctx by @ceyonur in https://github.com/luxfi/node/pull/3283
- Implement dynamic fee builder by @StephenButtolph in https://github.com/luxfi/node/pull/3232
- bump geth past upgrade schedule refactor by @darioush in https://github.com/luxfi/node/pull/3278
- Remove cross-chain requests by @darioush in https://github.com/luxfi/node/pull/3277
- wallet: obtain chain owners by using P-Chain's getNet API call by @felipemadero in https://github.com/luxfi/node/pull/3247
- [antithesis] Add tmpnet support to workloads to simplify development by @marun in https://github.com/luxfi/node/pull/3215
- Refactor e2e tests for P-chain tests by @StephenButtolph in https://github.com/luxfi/node/pull/3295
- Fix e2e tests to support dynamic fees by @StephenButtolph in https://github.com/luxfi/node/pull/3296
- Improve error message of dynamic fee calculations by @StephenButtolph in https://github.com/luxfi/node/pull/3297
- Reduce dynamic fees variability to ease testing by @StephenButtolph in https://github.com/luxfi/node/pull/3298
- deprecate uptime apis by @ceyonur in https://github.com/luxfi/node/pull/3226
- [antithesis] Fix broken flag handling and improve image testing by @marun in https://github.com/luxfi/node/pull/3299
- Add P-chain fee APIs by @StephenButtolph in https://github.com/luxfi/node/pull/3286
- [tmpnet] Add support for checking rpcchainvm version compatibility by @marun in https://github.com/luxfi/node/pull/3276
- Rename gas price calculation function by @StephenButtolph in https://github.com/luxfi/node/pull/3302
- Remove duplicate fork definitions by @StephenButtolph in https://github.com/luxfi/node/pull/3304
- Restrict
Ownerusage after a Net manager is set by @dhrubabasu in https://github.com/luxfi/node/pull/3147 - SoV networking support by @StephenButtolph in https://github.com/luxfi/node/pull/2951
- [antithesis] Enable custom plugin dir for chain-evm by @marun in https://github.com/luxfi/node/pull/3305
- Refactor state tests to always use initialized state by @StephenButtolph in https://github.com/luxfi/node/pull/3310
- Remove mock for
Versionsinterface by @dhrubabasu in https://github.com/luxfi/node/pull/3312 - Allow P-chain wallet to be used by the platformvm by @StephenButtolph in https://github.com/luxfi/node/pull/3314
- Remove crosschain leftovers by @ceyonur in https://github.com/luxfi/node/pull/3309
- Rename race condition image tags by @cam-schultz in https://github.com/luxfi/node/pull/3311
- Add .String() to Fork testing utility by @StephenButtolph in https://github.com/luxfi/node/pull/3315
- [antithesis] Update schedule to make room for chain-evm by @marun in https://github.com/luxfi/node/pull/3317
- [tmpnet] Update monitoring urls from *-experimental to *-poc by @marun in https://github.com/luxfi/node/pull/3306
- Add statetest to replace common test state initialization by @StephenButtolph in https://github.com/luxfi/node/pull/3319
- Rename
components/feepkg tocomponents/gasby @dhrubabasu in https://github.com/luxfi/node/pull/3321 - Remove mocks for
StakerandScheduledStakerby @dhrubabasu in https://github.com/luxfi/node/pull/3322 - Move most mocks to sub-dirs by @dhrubabasu in https://github.com/luxfi/node/pull/3323
- [e2e] Simplify pre-funded key usage by @marun in https://github.com/luxfi/node/pull/3011
- Move iterator implementations to
utilspkg by @dhrubabasu in https://github.com/luxfi/node/pull/3320 - Remove duplicate genesis creations in P-chain unit tests by @StephenButtolph in https://github.com/luxfi/node/pull/3318
- Simplify P-Chain transaction creation in unit tests by @StephenButtolph in https://github.com/luxfi/node/pull/3327
- [tmpnet] Ensure nodes are stopped in the event of bootstrap failure by @marun in https://github.com/luxfi/node/pull/3332
- Add tx complexity helper by @StephenButtolph in https://github.com/luxfi/node/pull/3334
- Fixed segfault when --tracing-enabled is set by @blenessy in https://github.com/luxfi/node/pull/3330
- chore: remove deprecated
validatorstest.TestStateby @ARR4N in https://github.com/luxfi/node/pull/3301 - Enforce network config not including
PrimaryNetworkIDintrackedNetsby @iansuvak in https://github.com/luxfi/node/pull/3336 - Use wallet in
platformvm/blocktests by @StephenButtolph in https://github.com/luxfi/node/pull/3328 - [ci] Stop using setup-go-v3 by @marun in https://github.com/luxfi/node/pull/3339
- Use wallet in
platformvm/txstests by @StephenButtolph in https://github.com/luxfi/node/pull/3333 - [ci] Configure buf-setup-action for check_generated_protobuf job with token by @marun in https://github.com/luxfi/node/pull/3341
- Add P-chain dynamic fees execution by @StephenButtolph in https://github.com/luxfi/node/pull/3251
- Include disconnected validators in health message by @ceyonur in https://github.com/luxfi/node/pull/3344
- Print type of message sent in the verbose log by @yacovm in https://github.com/luxfi/node/pull/3348
- Remove local chain config from e2e test by @ceyonur in https://github.com/luxfi/node/pull/3293
- Separate codec registries by upgrade by @StephenButtolph in https://github.com/luxfi/node/pull/3353
- Support unmarshalling of json byte slices by @StephenButtolph in https://github.com/luxfi/node/pull/3354
- Add explicit p-chain current validator check in AddValidator by @StephenButtolph in https://github.com/luxfi/node/pull/3355
New Contributors
- @yacovm made their first contribution in https://github.com/luxfi/node/pull/3227
- @cam-schultz made their first contribution in https://github.com/luxfi/node/pull/3218
- @vtamara made their first contribution in https://github.com/luxfi/node/pull/2809
- @iansuvak made their first contribution in https://github.com/luxfi/node/pull/3258
- @nnsW3 made their first contribution in https://github.com/luxfi/node/pull/3267
- @drawdrop made their first contribution in https://github.com/luxfi/node/pull/3289
- @blenessy made their first contribution in https://github.com/luxfi/node/pull/3330
Full Changelog: https://github.com/luxfi/node/compare/v1.11.10...v1.11.11
v1.11.10
This version is backwards compatible to v1.11.0. It is optional, but encouraged.
The plugin version is updated to 36 all plugins must update to be compatible.
APIs
- Renamed
lux_{vmName}_plugin_.*metrics tolux_{vmName}_.* - Renamed
lux_{vmName}_rpcchainvm_.*metrics tolux_rpcchainvm_.*
Fixes
- Updated local network validator start times
- Fixed block building timer recalculation when anyone can propose
What's Changed
- Refactor rpcchainvm metrics registration by @StephenButtolph in https://github.com/luxfi/node/pull/3170
- Add example reward calculator usage by @StephenButtolph in https://github.com/luxfi/node/pull/3171
- Send AppErrors from p2p SDK by @joshua-kim in https://github.com/luxfi/node/pull/2753
- build(tests): require
//go:build testtag if importing test packages outside of_test.gofiles by @ARR4N in https://github.com/luxfi/node/pull/3173 - Include VM path in plugin version error by @StephenButtolph in https://github.com/luxfi/node/pull/3178
- [ci] Simplify ci monitoring with custom actions by @marun in https://github.com/luxfi/node/pull/3161
- [vms/xvm] Replace
strings.Replacewithfmt.Sprintfin tests by @dhrubabasu in https://github.com/luxfi/node/pull/3177 - Changes to support teleporter e2e tests by @feuGeneA in https://github.com/luxfi/node/pull/3179
- Reduce usage of
getBlockin consensus by @StephenButtolph in https://github.com/luxfi/node/pull/3151 - [ci] Enable run-monitored-tmpnet-cmd reuse by other repos by @marun in https://github.com/luxfi/node/pull/3186
- Restructured fee calculator API by @abi87 in https://github.com/luxfi/node/pull/3145
- P-Chain: Block-level fee Calculator by @abi87 in https://github.com/luxfi/node/pull/3032
- [ci] Allow antithesis test setups to be triggered independently by @marun in https://github.com/luxfi/node/pull/3183
- [antithesis] Fix image version separator in triggering workflows by @marun in https://github.com/luxfi/node/pull/3191
- Remove
block.Statusby @StephenButtolph in https://github.com/luxfi/node/pull/3158 - [antithesis] Refactor compose config generation to simplify reuse by @marun in https://github.com/luxfi/node/pull/3184
- [antithesis] Add schedule for workflows by @marun in https://github.com/luxfi/node/pull/3192
- Update
golangci-linttov1.59.1by @dhrubabasu in https://github.com/luxfi/node/pull/3195 - [ci] Ensure monitoring action compatibility for other repos by @marun in https://github.com/luxfi/node/pull/3193
- chore: fix some comments for struct field by @linghuying in https://github.com/luxfi/node/pull/3194
- [antithesis] Configure workload history by @marun in https://github.com/luxfi/node/pull/3196
- [vms/proposervm] Set build block time correctly when anyone can propose by @dhrubabasu in https://github.com/luxfi/node/pull/3197
- chore: fix comment by @polymaer in https://github.com/luxfi/node/pull/3201
- Make math.Add64 and math.Mul64 generic by @StephenButtolph in https://github.com/luxfi/node/pull/3205
- Implement LP-103 fee package by @StephenButtolph in https://github.com/luxfi/node/pull/3203
- [antithesis] Fix job duration by @marun in https://github.com/luxfi/node/pull/3206
- [vms/platformvm]
RegisterDUnsignedTxsTypes->RegisterDurangoUnsignedTxsTypesby @dhrubabasu in https://github.com/luxfi/node/pull/3212 - chore: fix some comments by @yingshanghuangqiao in https://github.com/luxfi/node/pull/3213
- Fix typos by @omahs in https://github.com/luxfi/node/pull/3208
- Cleanup fee.staticCalculator by @StephenButtolph in https://github.com/luxfi/node/pull/3210
- typo by @meaghanfitzgerald in https://github.com/luxfi/node/pull/3220
- add getNet to p-chain api reference by @felipemadero in https://github.com/luxfi/node/pull/3204
- [ci] Update fuzz workflows to target master branch by @marun in https://github.com/luxfi/node/pull/3221
- Cleanup wallet tests by @StephenButtolph in https://github.com/luxfi/node/pull/3230
- Update local validator start time by @ceyonur in https://github.com/luxfi/node/pull/3224
New Contributors
- @feuGeneA made their first contribution in https://github.com/luxfi/node/pull/3179
- @linghuying made their first contribution in https://github.com/luxfi/node/pull/3194
- @polymaer made their first contribution in https://github.com/luxfi/node/pull/3201
- @yingshanghuangqiao made their first contribution in https://github.com/luxfi/node/pull/3213
- @omahs made their first contribution in https://github.com/luxfi/node/pull/3208
Full Changelog: https://github.com/luxfi/node/compare/v1.11.9...v1.11.10
v1.11.9
This version is backwards compatible to v1.11.0. It is optional, but encouraged.
The plugin version is unchanged at 35 and is compatible with versions v1.11.3-v1.11.8.
APIs
- Updated health metrics to use labels rather than namespaces
- Added consensus poll termination metrics
Configs
- Added
--version-jsonflag to output version information in json format
Fixes
- Fixed incorrect WARN log that could previously be emitted during start on nodes with slower disks
- Fixed incorrect ERROR log that could previously be emitted if a peer tracking a chain connects during shutdown
- Fixed ledger dependency on erased commit
- Fixed protobuf dependency to resolve compilation issues in some cases
- Fixed C-chain filename logging
What's Changed
- Error driven consensusflake multi counter by @aaronbuchwald in https://github.com/luxfi/node/pull/3092
- [antithesis] Add ci jobs to trigger test runs by @marun in https://github.com/luxfi/node/pull/3076
- bump ledger-lux dependency to current main branch by @felipemadero in https://github.com/luxfi/node/pull/3115
- [antithesis] Fix image publication job by quoting default tag value by @marun in https://github.com/luxfi/node/pull/3112
- [e2e] Fix excessively verbose output from virtuous test by @marun in https://github.com/luxfi/node/pull/3116
- Remove .Status() from .IsPreferred() by @StephenButtolph in https://github.com/luxfi/node/pull/3111
- Add early termination metrics case by case by @aaronbuchwald in https://github.com/luxfi/node/pull/3093
- Update C-chain wallet context by @StephenButtolph in https://github.com/luxfi/node/pull/3118
- Standardize wallet tx acceptance polling by @StephenButtolph in https://github.com/luxfi/node/pull/3110
- [antithesis] Remove assertions incompatible with fault injection by @marun in https://github.com/luxfi/node/pull/3104
- Use health labels by @StephenButtolph in https://github.com/luxfi/node/pull/3122
- Remove
Decidedfrom theConsensusinterface by @StephenButtolph in https://github.com/luxfi/node/pull/3123 - Remove .Status() from .Accepted() by @StephenButtolph in https://github.com/luxfi/node/pull/3124
- Refactor
event.Blockerintojob.Schedulerby @StephenButtolph in https://github.com/luxfi/node/pull/3125 - Remove block lookup from
deliverby @StephenButtolph in https://github.com/luxfi/node/pull/3130 - [chains/atomic] Remove a nested if statement by @dhrubabasu in https://github.com/luxfi/node/pull/3135
- [vms/platformvm] Minor grammer fixes in
statestruct code comments by @dhrubabasu in https://github.com/luxfi/node/pull/3136 - bump protobuf (fixes some build issues) by @darioush in https://github.com/luxfi/node/pull/3142
- Emit version in JSON format for --json-version by @marun in https://github.com/luxfi/node/pull/3129
- Repackaged NextBlockTime and GetNextStakerChangeTime by @abi87 in https://github.com/luxfi/node/pull/3134
- [vms/platformvm] Cleanup execution config tests by @dhrubabasu in https://github.com/luxfi/node/pull/3137
- [tmpnet] Enable bootstrap of chains with disjoint validator sets by @marun in https://github.com/luxfi/node/pull/3138
- Simplify dependency registration by @StephenButtolph in https://github.com/luxfi/node/pull/3139
- Replace
wasIssuedwithshouldIssueBlockby @StephenButtolph in https://github.com/luxfi/node/pull/3131 - Remove parent lookup from issue by @StephenButtolph in https://github.com/luxfi/node/pull/3132
- Remove status usage from consensus by @StephenButtolph in https://github.com/luxfi/node/pull/3140
- Fix bootstrapping warn log by @joshua-kim in https://github.com/luxfi/node/pull/3156
- chore: fix some comment by @hattizai in https://github.com/luxfi/node/pull/3144
- [ci] Add actionlint job by @marun in https://github.com/luxfi/node/pull/3160
- check router is closing in requests by @ceyonur in https://github.com/luxfi/node/pull/3157
- Use
ids.Emptyinstead ofids.ID{}by @dhrubabasu in https://github.com/luxfi/node/pull/3166 - Replace usage of utils.Err with errors.Join by @joshua-kim in https://github.com/luxfi/node/pull/3167
Full Changelog: https://github.com/luxfi/node/compare/v1.11.8...v1.11.9
v1.11.8
This version is backwards compatible to v1.11.0. It is optional, but encouraged.
The plugin version is unchanged at 35 and is compatible with versions v1.11.3-v1.11.7.
APIs
- Redesigned metrics to use labels rather than custom namespaces.
What's Changed
- Remove lux metrics registerer from Runtime by @StephenButtolph in https://github.com/luxfi/node/pull/3087
- Remove rejection from
consensus.Addby @StephenButtolph in https://github.com/luxfi/node/pull/3084 - [vms/platformvm] Rename
txstest.Buildertotxstest.WalletFactoryby @dhrubabasu in https://github.com/luxfi/node/pull/2890 - Small metrics cleanup by @StephenButtolph in https://github.com/luxfi/node/pull/3088
- Fix race in test by @StephenButtolph in https://github.com/luxfi/node/pull/3089
- Implement error driven consensusflake hardcoded to support a single beta by @aaronbuchwald in https://github.com/luxfi/node/pull/2978
- Replace all chain namespaces with labels by @StephenButtolph in https://github.com/luxfi/node/pull/3053
- add a metrics gauge for built block slot by @tsachiherman in https://github.com/luxfi/node/pull/3048
- [ci] Switch to gh workers for arm64 by @marun in https://github.com/luxfi/node/pull/3090
- [ci] Ensure focal arm64 builds all have their required dependencies by @marun in https://github.com/luxfi/node/pull/3091
- X-chain - consolidate tx creation in unit tests by @abi87 in https://github.com/luxfi/node/pull/2736
- Use netip.AddrPort rather than ips.IPPort by @StephenButtolph in https://github.com/luxfi/node/pull/3094
Full Changelog: https://github.com/luxfi/node/compare/v1.11.7...v1.11.8
v1.11.7
This version is backwards compatible to v1.11.0. It is optional, but encouraged.
The plugin version is unchanged at 35 and is compatible with versions v1.11.3-v1.11.6.
APIs
- Added peer's
trackedNetsthat are not locally tracked to the response frominfo.peers
Configs
- Changed the undocumented
pebbleoption for--db-typeto bepebbledband documented the option
Fixes
- Removed repeated DB compaction during bootstrapping that caused a significant regression in bootstrapping times
- Fixed C-Chain state-sync crash
- Fixed C-Chain state-sync ETA calculation
- Fixed Net owner reported by
platform.getNetsafter a chain's owner was rotated
What's Changed
- Expose canonical warp formatting function by @StephenButtolph in https://github.com/luxfi/node/pull/3049
- Remove chain filter from Peer.TrackedNets() by @StephenButtolph in https://github.com/luxfi/node/pull/2975
- Remove optional gatherer by @StephenButtolph in https://github.com/luxfi/node/pull/3052
- [vms/platformvm] Return the correct owner in
platform.GetNetsafter transfer by @dhrubabasu in https://github.com/luxfi/node/pull/3054 - Add metrics client by @StephenButtolph in https://github.com/luxfi/node/pull/3057
- [vms/platformvm] Replace
GetNetswithGetChainIDsinStateby @dhrubabasu in https://github.com/luxfi/node/pull/3055 - Implement
constants.VMNameby @StephenButtolph in https://github.com/luxfi/node/pull/3058 - [testing] Remove superfluous gomega dep by @marun in https://github.com/luxfi/node/pull/3063
- [antithesis] Enable workload instrumentation by @marun in https://github.com/luxfi/node/pull/3059
- Add pebbledb to docs by @StephenButtolph in https://github.com/luxfi/node/pull/3061
- [ci] Remove perpetually failing govulncheck job by @marun in https://github.com/luxfi/node/pull/3069
- Remove api namespace by @StephenButtolph in https://github.com/luxfi/node/pull/3066
- Remove unused metrics namespaces by @StephenButtolph in https://github.com/luxfi/node/pull/3062
- Only compact after executing a large number of blocks by @StephenButtolph in https://github.com/luxfi/node/pull/3065
- Remove network namespace by @StephenButtolph in https://github.com/luxfi/node/pull/3067
- Remove db namespace by @StephenButtolph in https://github.com/luxfi/node/pull/3068
- Remove averager metrics namespace by @StephenButtolph in https://github.com/luxfi/node/pull/3072
- chore: fix function name by @stellrust in https://github.com/luxfi/node/pull/3075
- Select metric by label in e2e tests by @StephenButtolph in https://github.com/luxfi/node/pull/3073
- [tmpnet] Bootstrap chains with a single node by @marun in https://github.com/luxfi/node/pull/3005
- [antithesis] Skip push for builder image by @marun in https://github.com/luxfi/node/pull/3070
- Implement label gatherer by @StephenButtolph in https://github.com/luxfi/node/pull/3074
New Contributors
- @stellrust made their first contribution in https://github.com/luxfi/node/pull/3075
Full Changelog: https://github.com/luxfi/node/compare/v1.11.6...v1.11.7
v1.11.6
This version is backwards compatible to v1.11.0. It is optional, but encouraged.
The plugin version is unchanged at 35 and is compatible with versions v1.11.3-v1.11.5.
APIs
- Updated cache metrics:
*_cache_put_sumwas replaced with*_cache_put_time*_cache_get_sumwas replaced with*_cache_get_time*_cache_hitand*_cache_misswere removed and*_cache_get_countadded aresultlabel
- Updated db metrics:
*_db_{method}_countwere replaced with*_db_callswith amethodlabel*_db_{method}_sumwere replaced with*_db_durationwith amethodlabel*_db_{method}_size_countwere deleted*_db_{method}_size_sumwere replaced with*_db_sizewith amethodlabel
- Updated p2p message compression metrics:
lux_network_codec_{type}_{op}_{direction}_time_countwere replaced withlux_network_codec_compressed_countwithdirection,op, andtypelabels
- Updated p2p message metrics:
lux_network_{op}_{io}were replaced withlux_network_msgswithcompressed:"false",io, andoplabelslux_network_{op}_{io}_byteswere replaced withlux_network_msgs_byteswithioandoplabelslux_network_{op}_compression_saved_{io}_bytes_sumwere replaced withlux_network_msgs_bytes_savedwithioandoplabelslux_network_{op}_compression_saved_{io}_bytes_countwere replaced withlux_network_msgswithcompressed:"true",io, andoplabelslux_network_{op}_failedwere replaced withlux_network_msgs_failed_to_sendwith anoplabel
- Updated p2p sdk message metrics:
*_p2p_{op}_countwere replaced with*_p2p_msg_countwith anoplabel*_p2p_{op}_timewere replaced with*_p2p_msg_timewith anoplabel
- Updated consensus message queue metrics:
lux_{chainID}_handler_unprocessed_msgs_{op}were replaced withlux_{chainID}_handler_unprocessed_msgs_countwith anoplabellux_{chainID}_handler_async_unprocessed_msgs_{op}were replaced withlux_{chainID}_handler_unprocessed_msgs_countwith anoplabel
- Updated consensus handler metrics:
lux_{chainID}_handler_{op}_countwere replaced withlux_{chainID}_handler_messageswith anoplabellux_{chainID}_handler_{op}_msg_handling_countwas deletedlux_{chainID}_handler_{op}_msg_handling_sumwere replaced withlux_{chainID}_handler_message_handling_timewith anoplabellux_{chainID}_handler_{op}_sumwere replaced withlux_{chainID}_handler_locking_time
- Updated consensus sender metrics:
lux_{chainID}_{op}_failed_benchedwere replaced withlux_{chainID}_failed_benchedwith anoplabel
- Updated consensus latency metrics:
lux_{chainID}_lat_{op}_countwere replaced withlux_{chainID}_response_messageswith anoplabellux_{chainID}_lat_{op}_sumwere replaced withlux_{chainID}_response_message_latencieswith anoplabel
- Updated X-chain metrics:
lux_X_vm_lux_{tx}_txs_acceptedwere replaced withlux_X_vm_lux_txs_acceptedwith atxlabel
- Updated P-chain metrics:
lux_P_vm_{tx}_txs_acceptedwere replaced withlux_P_vm_txs_acceptedwith atxlabellux_P_vm_{blk}_blks_acceptedwere replaced withlux_P_vm_blks_acceptedwith ablklabel
Fixes
- Fixed performance regression while executing blocks in bootstrapping
- Fixed peer connection tracking in the P-chain and C-chain to re-enable tx pull gossip
- Fixed C-chain deadlock while executing blocks in bootstrapping after aborting state sync
- Fixed negative ETA while fetching blocks after aborting state sync
- Fixed C-chain snapshot initialization after state sync
- Fixed panic when running node in environments with an incorrectly implemented monotonic clock
- Fixed memory corruption when accessing keys and values from released pebbledb iterators
- Fixed prefixdb compaction when specifying a
nillimit
What's Changed
- Consolidate record poll by @aaronbuchwald in https://github.com/luxfi/node/pull/2970
- Update metercacher to use vectors by @StephenButtolph in https://github.com/luxfi/node/pull/2979
- Reduce p2p sdk metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2980
- Use vectors in message queue metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2985
- Use vectors for p2p message metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2983
- Simplify gossip metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2984
- Use vectors for message handler metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2987
- Use vector in message sender by @StephenButtolph in https://github.com/luxfi/node/pull/2988
- Simplify go version maintenance by @marun in https://github.com/luxfi/node/pull/2977
- Use vector for router latency metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2989
- Use vectors for accepted tx and block metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2990
- fix: version application error by @jujube in https://github.com/luxfi/node/pull/2995
- Chore: fix some typos. by @hattizai in https://github.com/luxfi/node/pull/2993
- Cleanup meterdb metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2991
- Cleanup compression metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2992
- Fix antithesis image publication by @marun in https://github.com/luxfi/node/pull/2998
- Remove unused
Metadatastruct by @dhrubabasu in https://github.com/luxfi/node/pull/3001 - prefixdb: fix bug with Compact nil limit by @a1k0n in https://github.com/luxfi/node/pull/3000
- Update go version to 1.21.10 by @marun in https://github.com/luxfi/node/pull/3004
- vms/txs/mempool: unify xvm and platformvm mempool implementations by @lebdron in https://github.com/luxfi/node/pull/2994
- Use gauges for time metrics by @StephenButtolph in https://github.com/luxfi/node/pull/3009
- Chore: fix typos. by @cocoyeal in https://github.com/luxfi/node/pull/3010
- [antithesis] Refactor existing job to support xsvm test setup by @marun in https://github.com/luxfi/node/pull/2976
- chore: fix some function names by @cartnavoy in https://github.com/luxfi/node/pull/3015
- Mark nodes as connected to the P-chain networking stack by @StephenButtolph in https://github.com/luxfi/node/pull/2981
- [antithesis] Ensure images with a prefix are pushed by @marun in https://github.com/luxfi/node/pull/3016
- boostrapper: compact blocks before iterating them by @a1k0n in https://github.com/luxfi/node/pull/2997
- Remove pre-Durango networking checks by @StephenButtolph in https://github.com/luxfi/node/pull/3018
- Repackaged upgrades times into upgrade package by @abi87 in https://github.com/luxfi/node/pull/3019
- Standardize peer logs by @StephenButtolph in https://github.com/luxfi/node/pull/3017
- Fix pebbledb memory corruption by @StephenButtolph in https://github.com/luxfi/node/pull/3020
- [vms/xvm] fix linter error in benchmark : Use of weak random number generator by @tsachiherman in https://github.com/luxfi/node/pull/3023
- Simplify sampler interface by @StephenButtolph in https://github.com/luxfi/node/pull/3026
- [build] Update linter version by @tsachiherman in https://github.com/luxfi/node/pull/3024
- fix broken link. by @cocoyeal in https://github.com/luxfi/node/pull/3028
gossipping->gossipingby @dhrubabasu in https://github.com/luxfi/node/pull/3033- [tmpnet] Ensure tmpnet compatibility with windows by @marun in https://github.com/luxfi/node/pull/3002
- Fix negative ETA caused by rollback in vm.SetState by @StephenButtolph in https://github.com/luxfi/node/pull/3036
- [tmpnet] Enable single node networks by @marun in https://github.com/luxfi/node/pull/3003
- P-chain - introducing fees calculators by @abi87 in https://github.com/luxfi/node/pull/2698
- Change default staking key from RSA 4096 to secp256r1 by @StephenButtolph in https://github.com/luxfi/node/pull/3025
- Fix LP links by @dhrubabasu in https://github.com/luxfi/node/pull/3037
- Prevent unnecessary bandwidth from activated LPs by @dhrubabasu in https://github.com/luxfi/node/pull/3031
- [antithesis] Add test setup for xsvm by @marun in https://github.com/luxfi/node/pull/2982
- [antithesis] Ensure node image is pushed by @marun in https://github.com/luxfi/node/pull/3042
- Cleanup fee config passing by @StephenButtolph in https://github.com/luxfi/node/pull/3043
- Fix typo fix by @StephenButtolph in https://github.com/luxfi/node/pull/3044
- Grab iterator at previously executed height by @StephenButtolph in https://github.com/luxfi/node/pull/3045
- Verify signatures during Parse by @StephenButtolph in https://github.com/luxfi/node/pull/3046
New Contributors
- @jujube made their first contribution in https://github.com/luxfi/node/pull/2995
- @hattizai made their first contribution in https://github.com/luxfi/node/pull/2993
- @a1k0n made their first contribution in https://github.com/luxfi/node/pull/3000
- @lebdron made their first contribution in https://github.com/luxfi/node/pull/2994
- @cocoyeal made their first contribution in https://github.com/luxfi/node/pull/3010
- @cartnavoy made their first contribution in https://github.com/luxfi/node/pull/3015
- @tsachiherman made their first contribution in https://github.com/luxfi/node/pull/3023
Full Changelog: https://github.com/luxfi/node/compare/v1.11.5...v1.11.6
v1.11.5
This version is backwards compatible to v1.11.0. It is optional, but encouraged.
The plugin version is unchanged at 35 and is compatible with versions v1.11.3-v1.11.4.
APIs
- Renamed metric
lux_network_validator_ipstolux_network_tracked_ips
Configs
- Removed
--consensus-virtuous-commit-threshold - Removed
--consensus-rogue-commit-threshold
Fixes
- Fixed increased outbound PeerList messages when specifying custom bootstrap IDs
- Fixed CPU spike when disconnected from the network during bootstrapping fetching
- Fixed topological sort in vote calculation
- Fixed job dependency handling for transitively rejected blocks
- Prevented creation of unnecessary consensus polls during the issuance of a block
What's Changed
- Remove duplicate metrics increment by @StephenButtolph in https://github.com/luxfi/node/pull/2926
- Optimize merkledb metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2927
- Optimize intermediateNodeDB.constructDBKey by @StephenButtolph in https://github.com/luxfi/node/pull/2928
- [vms/proposervm] Remove
getForkHeight()by @dhrubabasu in https://github.com/luxfi/node/pull/2929 - Improve logging of startup and errors in bootstrapping by @StephenButtolph in https://github.com/luxfi/node/pull/2933
- Add hashing interface to merkledb by @StephenButtolph in https://github.com/luxfi/node/pull/2930
- Assign instead of append to
keysslice by @danlaine in https://github.com/luxfi/node/pull/2932 - Remove uptimes from Pong messages by @StephenButtolph in https://github.com/luxfi/node/pull/2936
- Enable creation of multi-arch docker images by @marun in https://github.com/luxfi/node/pull/2914
- Improve networking README by @StephenButtolph in https://github.com/luxfi/node/pull/2937
- Specify golang patch version in go.mod by @StephenButtolph in https://github.com/luxfi/node/pull/2938
- Include consensus decisions into logs by @StephenButtolph in https://github.com/luxfi/node/pull/2943
- CI: ensure image build job is compatible with merge queue by @marun in https://github.com/luxfi/node/pull/2941
- Remove unused
validators.Managermock by @StephenButtolph in https://github.com/luxfi/node/pull/2944 - Split ManuallyTrack into ManuallyTrack and ManuallyGossip by @StephenButtolph in https://github.com/luxfi/node/pull/2940
- Sync primary network checkpoints during bootstrapping by @StephenButtolph in https://github.com/luxfi/node/pull/2752
- [ci] Add govulncheck job and update x/net as per its recommendation by @marun in https://github.com/luxfi/node/pull/2948
- [tmpnet] Add network reuse to e2e fixture by @marun in https://github.com/luxfi/node/pull/2935
e2e: Add basic warp test with xsvm by @marun in https://github.com/luxfi/node/pull/2043- Improve bootstrapping peer selection by @StephenButtolph in https://github.com/luxfi/node/pull/2946
- Cleanup lux bootstrapping fetching by @StephenButtolph in https://github.com/luxfi/node/pull/2947
- Add manager validator set callbacks by @StephenButtolph in https://github.com/luxfi/node/pull/2950
- chore: fix function names in comment by @socialsister in https://github.com/luxfi/node/pull/2957
- [ci] Fix conditional guarding monitoring configuration by @marun in https://github.com/luxfi/node/pull/2959
- Cleanup consensus engine tests by @StephenButtolph in https://github.com/luxfi/node/pull/2953
- Improve and test getProcessingAncestor by @StephenButtolph in https://github.com/luxfi/node/pull/2956
- Exit topological sort earlier by @StephenButtolph in https://github.com/luxfi/node/pull/2965
- Consolidate beta by @aaronbuchwald in https://github.com/luxfi/node/pull/2949
- Abandon decided blocks by @StephenButtolph in https://github.com/luxfi/node/pull/2968
- Bump bufbuild/buf-setup-action from 1.30.0 to 1.31.0 by @dependabot in https://github.com/luxfi/node/pull/2923
- Cleanup test block creation by @StephenButtolph in https://github.com/luxfi/node/pull/2973
New Contributors
- @socialsister made their first contribution in https://github.com/luxfi/node/pull/2957
Full Changelog: https://github.com/luxfi/node/compare/v1.11.4...v1.11.5
v1.11.4
This version is backwards compatible to v1.11.0. It is optional, but encouraged.
The plugin version is unchanged at 35 and is compatible with version v1.11.3.
APIs
- Removed metrics for each chainID:
lux_{chainID}_bs_eta_fetching_completelux_{chainID}_block_eta_execution_completelux_{chainID}_block_jobs_cache_get_countlux_{chainID}_block_jobs_cache_get_sumlux_{chainID}_block_jobs_cache_hitlux_{chainID}_block_jobs_cache_lenlux_{chainID}_block_jobs_cache_misslux_{chainID}_block_jobs_cache_portion_filledlux_{chainID}_block_jobs_cache_put_countlux_{chainID}_block_jobs_cache_put_sum
- Added finer grained tracing of merkledb trie construction and hashing
- renamed
MerkleDB.view.calculateNodeIDstoMerkleDB.view.applyValueChanges - Added
MerkleDB.view.calculateNodeChanges - Added
MerkleDB.view.hashChangedNodes
- renamed
Fixes
- Fixed p2p SDK handling of cancelled
AppRequestmessages - Fixed merkledb crash recovery
What's Changed
- Bump github.com/consensys/gnark-crypto from 0.10.0 to 0.12.1 by @dependabot in https://github.com/luxfi/node/pull/2862
- Push antithesis images by @StephenButtolph in https://github.com/luxfi/node/pull/2864
- Revert removal of legacy P-chain block parsing by @StephenButtolph in https://github.com/luxfi/node/pull/2866
tmpnet: Ensure nodes are properly detached from the parent process by @marun in https://github.com/luxfi/node/pull/2859- indicies -> indices by @StephenButtolph in https://github.com/luxfi/node/pull/2873
- Reindex P-chain blocks by @StephenButtolph in https://github.com/luxfi/node/pull/2869
- Add detail to tmpnet metrics documentation by @marun in https://github.com/luxfi/node/pull/2854
- docs migration by @meaghanfitzgerald in https://github.com/luxfi/node/pull/2845
- Implement interval tree to replace bootstrapping jobs queue by @StephenButtolph in https://github.com/luxfi/node/pull/2756
- Cleanup codec constants by @abi87 in https://github.com/luxfi/node/pull/2699
- Update health API readme by @StephenButtolph in https://github.com/luxfi/node/pull/2875
tmpnet: Improve chain configuration by @marun in https://github.com/luxfi/node/pull/2871- Add tests for inefficient string formatting by @StephenButtolph in https://github.com/luxfi/node/pull/2878
- [vms/platformvm] Declare
maxPageSizeinservice.goby @dhrubabasu in https://github.com/luxfi/node/pull/2881 - [vms/platformvm] Use
walletsdk intxstest.Builderby @abi87 in https://github.com/luxfi/node/pull/2751 - Optimize encodeUint by @StephenButtolph in https://github.com/luxfi/node/pull/2882
- [components/lux] Remove
AtomicUTXOManagerinterface by @dhrubabasu in https://github.com/luxfi/node/pull/2884 - Remove merkledb codec struct by @StephenButtolph in https://github.com/luxfi/node/pull/2883
- [vms/platformvm] Minimize exported functions in
txstestby @dhrubabasu in https://github.com/luxfi/node/pull/2888 ci: Skip monitoring if secrets are not present by @marun in https://github.com/luxfi/node/pull/2880- Optimize merkledb hashing by @StephenButtolph in https://github.com/luxfi/node/pull/2886
- [vms/platformvm] Miscellaneous testing cleanups by @dhrubabasu in https://github.com/luxfi/node/pull/2891
- Move functions around so that encode and decode are next to each other by @StephenButtolph in https://github.com/luxfi/node/pull/2892
- Remove memory alloc from encodeDBNode by @StephenButtolph in https://github.com/luxfi/node/pull/2893
- Interval tree syncing integration by @StephenButtolph in https://github.com/luxfi/node/pull/2855
- Optimize hashing of leaf nodes by @StephenButtolph in https://github.com/luxfi/node/pull/2894
- Improve performance of marshalling small keys by @StephenButtolph in https://github.com/luxfi/node/pull/2895
- Improve tracing of merkledb trie updates by @StephenButtolph in https://github.com/luxfi/node/pull/2897
- Remove usage of bytes.Buffer and bytes.Reader by @StephenButtolph in https://github.com/luxfi/node/pull/2896
- Optimize key creation in hashing by @StephenButtolph in https://github.com/luxfi/node/pull/2899
- Move bootstrapping queue out of common by @StephenButtolph in https://github.com/luxfi/node/pull/2856
- Conditionally allocate WaitGroup memory by @StephenButtolph in https://github.com/luxfi/node/pull/2901
- Reuse key buffers during hashing by @StephenButtolph in https://github.com/luxfi/node/pull/2902
- Remove AddEphemeralNode by @joshua-kim in https://github.com/luxfi/node/pull/2887
- Rename linkedhashmap package to
linkedby @StephenButtolph in https://github.com/luxfi/node/pull/2907 - [tmpnet] Misc cleanup to support xsvm warp test PR by @marun in https://github.com/luxfi/node/pull/2903
- Implement generic
linked.Listby @StephenButtolph in https://github.com/luxfi/node/pull/2908 - Remove full message from error logs by @StephenButtolph in https://github.com/luxfi/node/pull/2912
- Use generic linked list by @StephenButtolph in https://github.com/luxfi/node/pull/2909
- Avoid allocating new list entries by @StephenButtolph in https://github.com/luxfi/node/pull/2910
- Remove
linked.Hashmaplocking by @StephenButtolph in https://github.com/luxfi/node/pull/2911 - Fix MerkleDB crash recovery by @StephenButtolph in https://github.com/luxfi/node/pull/2913
- Remove cancellation for Send*AppRequest messages by @StephenButtolph in https://github.com/luxfi/node/pull/2915
- Add
.Clear()tolinked.Hashmapby @StephenButtolph in https://github.com/luxfi/node/pull/2917 - Allow pre-allocating
linked.Hashmapby @StephenButtolph in https://github.com/luxfi/node/pull/2918 - Fix comment and remove unneeded allocation by @StephenButtolph in https://github.com/luxfi/node/pull/2919
- Implement
utils.BytesPoolto replacesync.Poolfor byte slices by @StephenButtolph in https://github.com/luxfi/node/pull/2920 - Refactor
MerkleDB.commitChangesby @StephenButtolph in https://github.com/luxfi/node/pull/2921 - Remove value_node_db batch by @StephenButtolph in https://github.com/luxfi/node/pull/2922
- Remove memory allocations from merkledb iteration by @StephenButtolph in https://github.com/luxfi/node/pull/2925
Full Changelog: https://github.com/luxfi/node/compare/v1.11.3...v1.11.4
v1.11.3
This version is backwards compatible to v1.11.0. It is optional, but encouraged.
The plugin version is updated to 35 all plugins must update to be compatible.
APIs
- Removed:
platform.GetPendingValidatorsplatform.GetMaxStakeAmount
Configs
- Removed node configs:
network-peer-list-validator-gossip-sizenetwork-peer-list-non-validator-gossip-sizenetwork-peer-list-peers-gossip-sizenetwork-peer-list-gossip-frequencyconsensus-accepted-frontier-gossip-validator-sizeconsensus-accepted-frontier-gossip-non-validator-sizeconsensus-accepted-frontier-gossip-peer-sizeconsensus-on-accept-gossip-validator-sizeconsensus-on-accept-gossip-non-validator-sizeconsensus-on-accept-gossip-peer-size
- Added P-chain, X-chain, and C-chain configs:
push-gossip-percent-stake
Fixes
- Fixed p2p SDK validator sampling to only return connected validators
What's Changed
- Cleanup BLS naming and documentation by @StephenButtolph in https://github.com/luxfi/node/pull/2798
- Add BLS keys + signers config for local network by @Nuttymoon in https://github.com/luxfi/node/pull/2794
- Remove double spaces by @StephenButtolph in https://github.com/luxfi/node/pull/2802
- [vms/platformvm] Remove
platform.getMaxStakeAmountby @dhrubabasu in https://github.com/luxfi/node/pull/2795 - Remove unused engine interface by @StephenButtolph in https://github.com/luxfi/node/pull/2811
- Cleanup Duplicate Transitive Constructor by @joshua-kim in https://github.com/luxfi/node/pull/2812
- Update minimum golang version to v1.21.8 by @StephenButtolph in https://github.com/luxfi/node/pull/2814
- Cleanup consensus metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2815
- Remove peerlist push gossip by @StephenButtolph in https://github.com/luxfi/node/pull/2791
- Remove bitmaskCodec by @StephenButtolph in https://github.com/luxfi/node/pull/2792
- Use
BaseTxin P-chain wallet by @dhrubabasu in https://github.com/luxfi/node/pull/2731 - Remove put gossip by @StephenButtolph in https://github.com/luxfi/node/pull/2790
- [vms/platformvm] Remove
GetPendingValidatorsAPI by @dhrubabasu in https://github.com/luxfi/node/pull/2817 - [vms/platformvm] Remove
ErrFutureStakeTimecheck inVerifyTxby @dhrubabasu in https://github.com/luxfi/node/pull/2797 - Remove pre-Durango block building logic and verification by @StephenButtolph in https://github.com/luxfi/node/pull/2823
- Remove pre-Durango checks in BLS key verification by @StephenButtolph in https://github.com/luxfi/node/pull/2824
- [consensus/networking] Enforce
PreferredIDAtHeightinChitsmessages by @dhrubabasu in https://github.com/luxfi/node/pull/2827 - Combine AppGossip and AppGossipSpecific by @StephenButtolph in https://github.com/luxfi/node/pull/2836
- [network/peer] Disconnect from peers who only send legacy version field by @dhrubabasu in https://github.com/luxfi/node/pull/2830
- [vms/xvm] Cleanup
GetTx+ remove state pruning logic by @dhrubabasu in https://github.com/luxfi/node/pull/2826 - [vms/xvm] Remove
consensus.ContextfromNetworkby @dhrubabasu in https://github.com/luxfi/node/pull/2834 - [vms/platformvm] Remove state pruning logic by @dhrubabasu in https://github.com/luxfi/node/pull/2825
- Prevent zero length values in slices and maps in codec by @StephenButtolph in https://github.com/luxfi/node/pull/2819
- [utils/compression] Remove gzip compressor by @dhrubabasu in https://github.com/luxfi/node/pull/2839
- Remove legacy p2p message handling by @dhrubabasu in https://github.com/luxfi/node/pull/2833
- Remove Durango codec check by @StephenButtolph in https://github.com/luxfi/node/pull/2818
- Remove Pre-Durango TLS certificate parsing logic by @dhrubabasu in https://github.com/luxfi/node/pull/2831
- Remove engine type handling for everything other than GetAncestors by @StephenButtolph in https://github.com/luxfi/node/pull/2800
- P-chain: Improve GetValidatorsSet error expressivity by @abi87 in https://github.com/luxfi/node/pull/2808
- Add antithesis PoC workload by @StephenButtolph in https://github.com/luxfi/node/pull/2796
- Add Antithesis docker compose file by @StephenButtolph in https://github.com/luxfi/node/pull/2838
- merkledb metric naming nits by @danlaine in https://github.com/luxfi/node/pull/2844
- Allow configuring push gossip to send txs to validators by stake by @StephenButtolph in https://github.com/luxfi/node/pull/2835
- update merkledb readme to specify key length is in bits by @danlaine in https://github.com/luxfi/node/pull/2840
tmpnet: Add a UUID to temporary networks to support metrics collection by @marun in https://github.com/luxfi/node/pull/2763- packer build by @Dirrk in https://github.com/luxfi/node/pull/2806
- Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by @dependabot in https://github.com/luxfi/node/pull/2849
- Bump bufbuild/buf-setup-action from 1.29.0 to 1.30.0 by @dependabot in https://github.com/luxfi/node/pull/2842
- Remove verify height index by @aaronbuchwald in https://github.com/luxfi/node/pull/2634
- Dynamic Fees - Add E Upgrade boilerplate by @abi87 in https://github.com/luxfi/node/pull/2597
tmpnet: Enable collection of logs and metrics by @marun in https://github.com/luxfi/node/pull/2820- P-Chain - repackaged wallet backends by @abi87 in https://github.com/luxfi/node/pull/2757
- X-Chain - repackaged wallet backends by @abi87 in https://github.com/luxfi/node/pull/2762
- Remove fallback validator height indexing by @StephenButtolph in https://github.com/luxfi/node/pull/2801
tmpnet: Reuse dynamically-allocated API port across restarts by @marun in https://github.com/luxfi/node/pull/2857- Remove useless bootstrapping metric by @StephenButtolph in https://github.com/luxfi/node/pull/2858
- Remove duplicate log by @StephenButtolph in https://github.com/luxfi/node/pull/2860
New Contributors
- @Nuttymoon made their first contribution in https://github.com/luxfi/node/pull/2794
- @Dirrk made their first contribution in https://github.com/luxfi/node/pull/2806
Full Changelog: https://github.com/luxfi/node/compare/v1.11.2...v1.11.3
v1.11.2
This version is backwards compatible to v1.11.0. It is optional, but strongly encouraged.
The plugin version is updated to 34 all plugins must update to be compatible.
APIs
- Removed the
ipcAPI - Removed the
authAPI - Removed most
keystorerelated methods from theplatformAPIplatform.importKeyplatform.createAddressplatform.addValidatorplatform.addDelegatorplatform.addNetValidatorplatform.createNetplatform.exportLUXplatform.importLUXplatform.createBlockchain
- Added push gossip metrics:
gossip_tracking{type="sent"}gossip_tracking{type="unsent"}gossip_tracking_lifetime_averageto the following namespaces:lux_P_vm_txlux_X_vm_lux_txlux_C_vm_sdk_atomic_tx_gossiplux_C_vm_sdk_eth_tx_gossip
- Removed metrics:
lux_C_vm_eth_gossip_atomic_sentlux_C_vm_eth_gossip_eth_txs_sentlux_C_vm_eth_regossip_eth_txs_queued_attemptslux_C_vm_eth_regossip_eth_txs_queued_local_tx_countlux_C_vm_eth_regossip_eth_txs_queued_remote_tx_count
Configs
- Removed:
api-ipcs-enabledipcs-chain-idsipcs-pathapi-auth-requiredapi-auth-passwordapi-auth-password-fileconsensus-app-gossip-validator-sizeconsensus-app-gossip-non-validator-sizeconsensus-app-gossip-peer-size
- Removed chain configs:
appGossipValidatorSizeappGossipNonValidatorSizeappGossipPeerSize
- Added X-chain and P-chain networking configs:
push-gossip-num-validatorspush-gossip-num-peerspush-regossip-num-validatorspush-regossip-num-peerspush-gossip-discarded-cache-sizepush-gossip-max-regossip-frequencypush-gossip-frequency
- Removed X-chain and P-chain networking configs:
legacy-push-gossip-cache-size
- Added C-chain configs:
push-gossip-num-validatorspush-gossip-num-peerspush-regossip-num-validatorspush-regossip-num-peerspush-gossip-frequencypull-gossip-frequencytx-pool-lifetime
- Removed C-chain configs:
tx-pool-journaltx-pool-rejournalremote-gossip-only-enabledregossip-max-txsremote-tx-gossip-only-enabledtx-regossip-max-size
Fixes
- Fixed mempool push gossip amplification
What's Changed
- Remove deprecated IPC API by @StephenButtolph in https://github.com/luxfi/node/pull/2760
vms/platformvm: Remove all keystore APIs exceptExportKeyandListAddressesby @dhrubabasu in https://github.com/luxfi/node/pull/2761- Remove Deprecated Auth API by @StephenButtolph in https://github.com/luxfi/node/pull/2759
- Remove
defaultAddresshelper from platformvm service tests by @dhrubabasu in https://github.com/luxfi/node/pull/2767 - [trace] upgrade opentelemetry to v1.22.0 by @bianyuanop in https://github.com/luxfi/node/pull/2702
- Reenable the upgrade tests by @StephenButtolph in https://github.com/luxfi/node/pull/2769
- [network/p2p] Redesign Push Gossip by @patrick-ogrady in https://github.com/luxfi/node/pull/2772
- Move AppGossip configs from NetConfig into ChainConfig by @StephenButtolph in https://github.com/luxfi/node/pull/2785
merkledb-- move compressedKey declaration to avoid usage of stale values in loop by @danlaine in https://github.com/luxfi/node/pull/2777merkledb-- fixhasValueinrecordNodeDeletedby @danlaine in https://github.com/luxfi/node/pull/2779merkledb-- rename metrics and add missing call by @danlaine in https://github.com/luxfi/node/pull/2781merkledb-- style nit, remove var namenewViewto reduce shadowing by @danlaine in https://github.com/luxfi/node/pull/2784merkledbstyle nits by @danlaine in https://github.com/luxfi/node/pull/2783merkledbcomment accuracy fixes by @danlaine in https://github.com/luxfi/node/pull/2780- Increase gossip size on first push by @StephenButtolph in https://github.com/luxfi/node/pull/2787
Full Changelog: https://github.com/luxfi/node/compare/v1.11.0...v1.11.2
v1.11.0
This upgrade consists of the following Lux Community Proposals (LPs):
- LP-23 P-Chain Native Transfers
- LP-24 Activate Shanghai EIPs on C-Chain
- LP-25 Virtual Machine Application Errors
- LP-30 Integrate Lux Warp Messaging into the EVM
- LP-31 Enable Net Ownership Transfer
- LP-41 Remove Pending Stakers
- LP-62 Disable AddValidatorTx and AddDelegatorTx
The changes in the upgrade go into effect at 11 AM ET (4 PM UTC) on Wednesday, March 6th, 2025 on Mainnet.
All Durango supporting Mainnet nodes should upgrade before 11 AM ET, March 6th 2025.
The plugin version is updated to 33 all plugins must update to be compatible.
APIs
- Added
platform.getNetAPI
Configs
- Deprecated:
api-auth-requiredapi-auth-passwordapi-auth-password-file
Fixes
- Fixed potential deadlock during P-chain shutdown
- Updated the consensus engine to recover from previously misconfigured chains without requiring a restart
What's Changed
ci: Upgrade all workflow actions to versions using Node 20 by @marun in https://github.com/luxfi/node/pull/2677tmpnet: Ensure restart after chain creation by @marun in https://github.com/luxfi/node/pull/2675- Publish docker images with race detection by @StephenButtolph in https://github.com/luxfi/node/pull/2680
vms/platformvm: RemoveNewRewardValidatorTxfromBuilderby @dhrubabasu in https://github.com/luxfi/node/pull/2676ci: Updated shellcheck script to support autofix by @marun in https://github.com/luxfi/node/pull/2678- Unblock misconfigured chains by @StephenButtolph in https://github.com/luxfi/node/pull/2679
- Add transfer chain ownership functionality to wallet by @felipemadero in https://github.com/luxfi/node/pull/2659
- Add LP-62 by @dhrubabasu in https://github.com/luxfi/node/pull/2681
vms/platformvm: Add missing txs totxs.Builderby @dhrubabasu in https://github.com/luxfi/node/pull/2663vms/platformvm: DisableAddValidatorTxandAddDelegatorTxby @dhrubabasu in https://github.com/luxfi/node/pull/2662- Remove chain router from node.Config by @StephenButtolph in https://github.com/luxfi/node/pull/2683
- Deprecate the auth API by @StephenButtolph in https://github.com/luxfi/node/pull/2684
- Fix P-chain Shutdown deadlock by @StephenButtolph in https://github.com/luxfi/node/pull/2686
- Cleanup ID initialization by @StephenButtolph in https://github.com/luxfi/node/pull/2690
- Remove unused chains#beacons field by @joshua-kim in https://github.com/luxfi/node/pull/2692
- x/sync: Remove duplicated call to TrackBandwidth by @StephenButtolph in https://github.com/luxfi/node/pull/2694
- Move VMAliaser into node from config by @StephenButtolph in https://github.com/luxfi/node/pull/2689
- Fix minor errors in x/sync tests by @StephenButtolph in https://github.com/luxfi/node/pull/2709
- Update minimum golang version to v1.21.7 by @dhrubabasu in https://github.com/luxfi/node/pull/2710
- Check for github action updates in dependabot by @dhrubabasu in https://github.com/luxfi/node/pull/2715
- Update
golangci-linttov1.56.1by @dhrubabasu in https://github.com/luxfi/node/pull/2714 - Add stringer to warp types by @aaronbuchwald in https://github.com/luxfi/node/pull/2712
- Refactor
p2p.PeerTrackerby @StephenButtolph in https://github.com/luxfi/node/pull/2701 - Bump actions/stale from 8 to 9 by @dependabot in https://github.com/luxfi/node/pull/2719
- Bump github/codeql-action from 2 to 3 by @dependabot in https://github.com/luxfi/node/pull/2720
- Bump bufbuild/buf-setup-action from 1.26.1 to 1.29.0 by @dependabot in https://github.com/luxfi/node/pull/2721
- Bump aws-actions/configure-aws-credentials from 1 to 4 by @dependabot in https://github.com/luxfi/node/pull/2722
- Manually setup golang in codeql action by @StephenButtolph in https://github.com/luxfi/node/pull/2725
- Provide pgo file during compilation by @StephenButtolph in https://github.com/luxfi/node/pull/2724
- P-chain - Tx builder cleanup by @abi87 in https://github.com/luxfi/node/pull/2718
- Refactor chain manager chains by @joshua-kim in https://github.com/luxfi/node/pull/2711
- Replace consensusball/consensusflake interface with single shared consensus interface by @aaronbuchwald in https://github.com/luxfi/node/pull/2717
- Remove duplicate IP length constant by @StephenButtolph in https://github.com/luxfi/node/pull/2733
- Add
platform.getNetAPI by @felipemadero in https://github.com/luxfi/node/pull/2704 - Provide BLS signature in Handshake message by @StephenButtolph in https://github.com/luxfi/node/pull/2730
- Verify BLS signature provided in Handshake messages by @StephenButtolph in https://github.com/luxfi/node/pull/2735
- Move UTXOs definition from primary to primary/common by @StephenButtolph in https://github.com/luxfi/node/pull/2741
- Minimize Signer interface and document Sign by @StephenButtolph in https://github.com/luxfi/node/pull/2740
- Revert setup-go during unit tests by @StephenButtolph in https://github.com/luxfi/node/pull/2744
- P-chain wallet fees UTs by @abi87 in https://github.com/luxfi/node/pull/2734
merkledb-- generalize error case to check state that should never occur by @danlaine in https://github.com/luxfi/node/pull/2743- Revert setup-go to v3 on all arm actions by @StephenButtolph in https://github.com/luxfi/node/pull/2749
- Add AppError to Sender interface by @joshua-kim in https://github.com/luxfi/node/pull/2737
- P-chain - Cleaned up fork switch in UTs by @abi87 in https://github.com/luxfi/node/pull/2746
- X-chain wallet fees UTs by @abi87 in https://github.com/luxfi/node/pull/2747
- Add keys values to bimap by @StephenButtolph in https://github.com/luxfi/node/pull/2754
- fix test sender by @joshua-kim in https://github.com/luxfi/node/pull/2755
Full Changelog: https://github.com/luxfi/node/compare/v1.10.19...v1.11.0
v1.10.19
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 31 and is compatible with version v1.10.18.
APIs
- Added
admin.dbGetcall to theadminAPI - Added bloom filter metrics:
bloom_filter_countbloom_filter_entriesbloom_filter_hashesbloom_filter_max_countbloom_filter_reset_countto the following namespaces:lux_X_vm_mempoollux_P_vm_mempoollux_C_vm_sdk_atomic_mempoollux_C_vm_sdk_eth_mempool
Fixes
- Fixed race condition during validator set creation
- Fixed C-chain mempool bloom filter recalculation
What's Changed
vms/platformvm: ChangeAdvanceTimeToto modify passed-inparentStateby @dhrubabasu in https://github.com/luxfi/node/pull/2489vms/platformvm: RemoveMempoolTxVerifierby @dhrubabasu in https://github.com/luxfi/node/pull/2362- Verify
SignedIP.TimestampfromPeerListmessages by @danlaine in https://github.com/luxfi/node/pull/2587 - Fix metrics namespace by @StephenButtolph in https://github.com/luxfi/node/pull/2632
- Add bloom filter metrics to the p2p sdk by @ceyonur in https://github.com/luxfi/node/pull/2612
- Replace
shutdownEnvironmentwitht.Cleanup()by @dhrubabasu in https://github.com/luxfi/node/pull/2491 - P-chain - Memo field zeroed post Durango by @abi87 in https://github.com/luxfi/node/pull/2607
- Refactor feature extensions out of VMManager by @joshua-kim in https://github.com/luxfi/node/pull/2578
- Remove getter for router on chain manager by @joshua-kim in https://github.com/luxfi/node/pull/2641
- Fix
require.ErrorIsargument order by @StephenButtolph in https://github.com/luxfi/node/pull/2645 api/admin: CleanupSuccessResponseTestsby @dhrubabasu in https://github.com/luxfi/node/pull/2644- Allow calls to
OptionsbeforeVerifyby @StephenButtolph in https://github.com/luxfi/node/pull/2363 - Improve logging of unexpected proposer errors by @StephenButtolph in https://github.com/luxfi/node/pull/2646
- Disable non-security related dependabot PRs by @StephenButtolph in https://github.com/luxfi/node/pull/2647
- Add historical fork times by @StephenButtolph in https://github.com/luxfi/node/pull/2649
- Cleanup warp signer tests by @dhrubabasu in https://github.com/luxfi/node/pull/2651
- Reintroduce the upgrade test against v1.10.18 by @StephenButtolph in https://github.com/luxfi/node/pull/2652
- Cleanup database benchmarks by @dhrubabasu in https://github.com/luxfi/node/pull/2653
- Cleanup database tests by @dhrubabasu in https://github.com/luxfi/node/pull/2654
ci: Add shellcheck step to lint job by @marun in https://github.com/luxfi/node/pull/2650- Replace
closeFnwitht.Cleanupby @dhrubabasu in https://github.com/luxfi/node/pull/2638 - Fix TestExpiredBuildBlock by @StephenButtolph in https://github.com/luxfi/node/pull/2655
- Add admin.dbGet API by @StephenButtolph in https://github.com/luxfi/node/pull/2667
ci: Update shellcheck.sh to pass all args to shellcheck by @marun in https://github.com/luxfi/node/pull/2657vms/platformvm: RemoveNewAdvanceTimeTxfromBuilderby @dhrubabasu in https://github.com/luxfi/node/pull/2668- Log error if database returns unsorted heights by @StephenButtolph in https://github.com/luxfi/node/pull/2670
vms/platformvm: Movevm.Shutdowncall in tests tot.Cleanupby @dhrubabasu in https://github.com/luxfi/node/pull/2669e2e: Add test ofplatform.getValidatorsAtacross nodes by @marun in https://github.com/luxfi/node/pull/2664- Fix P-chain validator set lookup race condition by @StephenButtolph in https://github.com/luxfi/node/pull/2672
Full Changelog: https://github.com/luxfi/node/compare/v1.10.18...v1.10.19
v1.10.18
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is updated to 31 all plugins must update to be compatible.
APIs
- Added
info.lpsAPI - Added
supportedLPsandobjectedLPsfor each peer returned byinfo.peers - Added
txsfield toBanffProposalBlock's json format - Added metrics:
lux_network_validator_ipslux_network_gossipable_ipslux_network_ip_bloom_countlux_network_ip_bloom_entrieslux_network_ip_bloom_hasheslux_network_ip_bloom_max_countlux_network_ip_bloom_reset_count
- Added metrics related to
get_peer_listmessage handling - Added p2p SDK metrics to the P-chain and X-chain
- Renamed metrics related to message handling:
version->handshakeappRequestFailed->appErrorcrossChainAppRequestFailed->crossChainAppError
- Removed
gzipcompression time metrics - Converted p2p SDK metrics to use vectors rather than independent metrics
- Converted client name reported over the p2p network from
luxtonode
Configs
- Added:
--lp-support--lp-objectconsensus-commit-thresholdnetwork-peer-list-pull-gossip-frequencynetwork-peer-list-bloom-reset-frequencynetworkto the X-chain and P-chain configs including:max-validator-set-stalenesstarget-gossip-sizepull-gossip-poll-sizepull-gossip-frequencypull-gossip-throttling-periodpull-gossip-throttling-limitexpected-bloom-filter-elementsexpected-bloom-filter-false-positive-probabilitymax-bloom-filter-false-positive-probabilitylegacy-push-gossip-cache-size
- Deprecated:
consensus-virtuous-commit-thresholdconsensus-rogue-commit-thresholdnetwork-peer-list-validator-gossip-sizenetwork-peer-list-non-validator-gossip-sizenetwork-peer-list-peers-gossip-sizenetwork-peer-list-gossip-frequency
- Removed:
gzipas an option fornetwork-compression-type
Fixes
- Fixed
platformvm.SetPreferenceto correctly reset the block building timer - Fixed early bootstrapping termination
- Fixed duplicated transaction initialization in the X-chain and P-chain
- Fixed IP gossip when using dynamically allocated staking ports
- Updated
golang.org/x/expdependency to fix downstream compilation errors - Updated
golang.org/x/cryptodependency to addressCVE-2023-48795 - Updated minimum golang version to address
CVE-2023-39326 - Restricted
GOPROXYduring compilation to avoiddirectversion control fallbacks - Fixed
merkledbdeletion of the empty key - Fixed
merkledbrace condition when interacting with invalidated or closed trie views - Fixed
json.Marshalforwallettransactions - Fixed duplicate outbound dialer for manually tracked nodes in the p2p network
What's Changed
- testing: Update to latest version of ginkgo by @marun in https://github.com/luxfi/node/pull/2390
vms/platformvm: Cleanup block builder tests by @dhrubabasu in https://github.com/luxfi/node/pull/2406- Drop Pending Stakers 0 - De-duplicate staking tx verification by @abi87 in https://github.com/luxfi/node/pull/2335
vms/platformvm: Initialize txs inTransactionsfield forBanffProposalBlockby @dhrubabasu in https://github.com/luxfi/node/pull/2419vms/platformvm: MoveVerifyUniqueInputsfromverifiertobackendby @dhrubabasu in https://github.com/luxfi/node/pull/2410- Fix duplicated bootstrapper engine termination by @StephenButtolph in https://github.com/luxfi/node/pull/2334
- allow user of
build_fuzz.shto specify a directory to fuzz in by @danlaine in https://github.com/luxfi/node/pull/2414 - Update slices dependency to use Compare by @StephenButtolph in https://github.com/luxfi/node/pull/2424
vms/platformvm: Cleanup some block tests by @dhrubabasu in https://github.com/luxfi/node/pull/2422- ProposerVM Extend windows 0 - Cleanup by @abi87 in https://github.com/luxfi/node/pull/2404
vms/platformvm: AdddecisionTxsparameter toNewBanffProposalBlockby @dhrubabasu in https://github.com/luxfi/node/pull/2411- Update minimum golang version to v1.20.12 by @StephenButtolph in https://github.com/luxfi/node/pull/2427
- Fix platformvm.SetPreference by @StephenButtolph in https://github.com/luxfi/node/pull/2429
- Restrict GOPROXY by @StephenButtolph in https://github.com/luxfi/node/pull/2434
- Drop Pending Stakers 1 - introduced ScheduledStaker txs by @abi87 in https://github.com/luxfi/node/pull/2323
- Run merkledb fuzz tests every 6 hours by @danlaine in https://github.com/luxfi/node/pull/2415
- Remove unused error by @joshua-kim in https://github.com/luxfi/node/pull/2426
- Make
messageQueue.msgAndCtxsa circular buffer by @danlaine in https://github.com/luxfi/node/pull/2433 - ProposerVM Extend windows 1 - UTs Cleanup by @abi87 in https://github.com/luxfi/node/pull/2412
- Change seed from int64 to uint64 by @StephenButtolph in https://github.com/luxfi/node/pull/2438
- Remove usage of timer.Timer in node by @StephenButtolph in https://github.com/luxfi/node/pull/2441
- Remove staged timer again by @StephenButtolph in https://github.com/luxfi/node/pull/2440
merkledb/sync-- Disambiguate no end root from no start root by @danlaine in https://github.com/luxfi/node/pull/2437- Drop Pending Stakers 2 - Replace txs.ScheduledStaker with txs.Staker by @abi87 in https://github.com/luxfi/node/pull/2305
vms/platformvm: Remove double block building logic by @dhrubabasu in https://github.com/luxfi/node/pull/2380- Remove usage of timer.Timer in benchlist by @StephenButtolph in https://github.com/luxfi/node/pull/2446
vms/xvm: SimplifyPeekfunction in mempool by @dhrubabasu in https://github.com/luxfi/node/pull/2449vms/platformvm: RemovestandardBlockStatestruct by @dhrubabasu in https://github.com/luxfi/node/pull/2450- Refactor sampler seeding by @StephenButtolph in https://github.com/luxfi/node/pull/2456
- Update tmpnet fixture to include Proof-of-Possession for initial stakers by @marun in https://github.com/luxfi/node/pull/2391
vms/platformvm: RemoveEnableAddingandDisableAddingfromMempoolinterface by @dhrubabasu in https://github.com/luxfi/node/pull/2463vms/xvm: Addexistsbool to mempoolPeekby @dhrubabasu in https://github.com/luxfi/node/pull/2465vms/platformvm: RemovePeekTxsfromMempoolinterface by @dhrubabasu in https://github.com/luxfi/node/pull/2378vms/platformvm: AddprocessStandardTxshelper by @dhrubabasu in https://github.com/luxfi/node/pull/2461vms/platformvm: ProcessatomicRequestsandonAcceptFuncin option blocks by @dhrubabasu in https://github.com/luxfi/node/pull/2459e2e: Rename 'funded key' to 'pre-funded key' for consistency by @marun in https://github.com/luxfi/node/pull/2455vms/platformvm: SurfaceVerifyUniqueInputsin theManagerby @dhrubabasu in https://github.com/luxfi/node/pull/2467vms/platformvm: AddTestBuildBlockShouldRewardtest by @dhrubabasu in https://github.com/luxfi/node/pull/2466- Switch client version to a proto type from a string by @joshua-kim in https://github.com/luxfi/node/pull/2188
- Remove stale TODO by @danlaine in https://github.com/luxfi/node/pull/2468
vms/platformvm: AddTestBuildBlockDoesNotBuildWithEmptyMempooltest by @dhrubabasu in https://github.com/luxfi/node/pull/2469vms/platformvm: AddTestBuildBlockShouldAdvanceTimetest by @dhrubabasu in https://github.com/luxfi/node/pull/2471vms/platformvm: Permit usage of theTransactionsfield inBanffProposalBlockby @dhrubabasu in https://github.com/luxfi/node/pull/2451vms/platformvm: AddTestBuildBlockForceAdvanceTimetest by @dhrubabasu in https://github.com/luxfi/node/pull/2472- P2P AppError handling by @joshua-kim in https://github.com/luxfi/node/pull/2248
vms/platformvm: Verify txs before building a block by @dhrubabasu in https://github.com/luxfi/node/pull/2359- Refactor p2p unit tests by @joshua-kim in https://github.com/luxfi/node/pull/2475
- Add LP signaling by @StephenButtolph in https://github.com/luxfi/node/pull/2476
- Refactor SDK by @joshua-kim in https://github.com/luxfi/node/pull/2452
- Cleanup CI by @dhrubabasu in https://github.com/luxfi/node/pull/2480
- Ensure upgrade test uses the correct binary on restart by @marun in https://github.com/luxfi/node/pull/2478
- Prefetch Improvement in https://github.com/luxfi/node/pull/2435
- ci: run each fuzz test for 10 seconds by @dhrubabasu in https://github.com/luxfi/node/pull/2483
- Remove nullable options by @nytzuga in https://github.com/luxfi/node/pull/2481
merkledb-- dynamic root by @danlaine in https://github.com/luxfi/node/pull/2177- fix onEvictCache by @danlaine in https://github.com/luxfi/node/pull/2484
- Remove cached node bytes from merkle nodes in https://github.com/luxfi/node/pull/2393
- Fix race in view iteration in https://github.com/luxfi/node/pull/2486
- MerkleDB -- update readme by @danlaine in https://github.com/luxfi/node/pull/2423
- Drop Pending Stakers 3 - persist stakers' StartTime by @abi87 in https://github.com/luxfi/node/pull/2306
- SDK Push Gossiper implementation by @joshua-kim in https://github.com/luxfi/node/pull/2428
tmpnet: Move tmpnet/local to tmpnet package by @marun in https://github.com/luxfi/node/pull/2457merkledb-- make tests use time as randomness seed by @danlaine in https://github.com/luxfi/node/pull/2470tmpnet: Break config.go up into coherent parts by @marun in https://github.com/luxfi/node/pull/2462- Drop Pending Stakers 4 - minimal UT infra cleanup by @abi87 in https://github.com/luxfi/node/pull/2332
- ProposerVM Extend windows 2- extend windowing by @abi87 in https://github.com/luxfi/node/pull/2401
- Support json marshalling txs returned from the wallet by @StephenButtolph in https://github.com/luxfi/node/pull/2494
- Avoid escaping to improve readability by @StephenButtolph in https://github.com/luxfi/node/pull/2496
- Allow OutputOwners to be json marshalled without InitCtx by @StephenButtolph in https://github.com/luxfi/node/pull/2495
- Drop Pending Stakers 5 - validated PostDurango StakerTxs by @abi87 in https://github.com/luxfi/node/pull/2314
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in https://github.com/luxfi/node/pull/2502
- Remove unused
BuildGenesisTestfunction by @dhrubabasu in https://github.com/luxfi/node/pull/2503 - Remove unused
AcceptorTrackerstruct by @dhrubabasu in https://github.com/luxfi/node/pull/2508 - Dedupe secp256k1 key usage in tests by @dhrubabasu in https://github.com/luxfi/node/pull/2511
- Merkledb readme updates by @danlaine in https://github.com/luxfi/node/pull/2510
- Gossip Test structs by @joshua-kim in https://github.com/luxfi/node/pull/2514
tmpnet: Separate node into orchestration, config and process by @marun in https://github.com/luxfi/node/pull/2460- Move
consensus.DefaultConsensusRuntimeTesttoconsensustest.ConsensusRuntimeby @dhrubabasu in https://github.com/luxfi/node/pull/2507 - Add gossip Marshaller interface by @joshua-kim in https://github.com/luxfi/node/pull/2509
- Include chain creation error in health check by @marun in https://github.com/luxfi/node/pull/2519
- Make X-chain mempool safe for concurrent use by @StephenButtolph in https://github.com/luxfi/node/pull/2520
- Initialize transactions once by @StephenButtolph in https://github.com/luxfi/node/pull/2521
vms/xvm: Remove usage ofrequire.Containsfrom service tests by @dhrubabasu in https://github.com/luxfi/node/pull/2517- Move context lock into issueTx by @StephenButtolph in https://github.com/luxfi/node/pull/2524
- Rework X-chain locking in tests by @StephenButtolph in https://github.com/luxfi/node/pull/2526
vms/xvm: Simplifymempool.Removesignature by @dhrubabasu in https://github.com/luxfi/node/pull/2527- Remove unused mocks by @dhrubabasu in https://github.com/luxfi/node/pull/2528
- Move
xvm.newContexttoconsensustest.Contextby @dhrubabasu in https://github.com/luxfi/node/pull/2513 - Do not fail-fast Tests / Unit by @StephenButtolph in https://github.com/luxfi/node/pull/2530
- Make P-Chain Mempool thread-safe by @joshua-kim in https://github.com/luxfi/node/pull/2523
vms/platformvm: Useconsensustest.Contexthelper by @dhrubabasu in https://github.com/luxfi/node/pull/2515- Export mempool errors by @StephenButtolph in https://github.com/luxfi/node/pull/2531
- Move locking into issueTx by @StephenButtolph in https://github.com/luxfi/node/pull/2532
- Fix merge in wallet service by @StephenButtolph in https://github.com/luxfi/node/pull/2534
- Introduce TxVerifier interface to network by @StephenButtolph in https://github.com/luxfi/node/pull/2533
- Export P-Chain Mempool Errors by @joshua-kim in https://github.com/luxfi/node/pull/2535
- Rename
Versionmessage toHandshakeby @danlaine in https://github.com/luxfi/node/pull/2479 - Rename myVersionTime to ipSigningTime by @danlaine in https://github.com/luxfi/node/pull/2537
- Remove resolved TODO by @dhrubabasu in https://github.com/luxfi/node/pull/2540
- Only initialize Txs once by @joshua-kim in https://github.com/luxfi/node/pull/2538
- JSON marshal the
Transactionsfield inBanffProposalBlocksby @dhrubabasu in https://github.com/luxfi/node/pull/2541 - Enable
predeclaredlinter by @dhrubabasu in https://github.com/luxfi/node/pull/2539 - Move context lock into
network.issueTxby @joshua-kim in https://github.com/luxfi/node/pull/2525 - Remove comment on treating failed sends as FATAL by @joshua-kim in https://github.com/luxfi/node/pull/2544
- Add TxVerifier interface to network by @joshua-kim in https://github.com/luxfi/node/pull/2542
- X-chain SDK gossip by @joshua-kim in https://github.com/luxfi/node/pull/2490
- Remove network context by @joshua-kim in https://github.com/luxfi/node/pull/2543
- Remove
consensus.DefaultContextTestby @dhrubabasu in https://github.com/luxfi/node/pull/2518 - Fix windowing when no validator is available by @abi87 in https://github.com/luxfi/node/pull/2529
- Unexport fields from gossip.BloomFilter by @StephenButtolph in https://github.com/luxfi/node/pull/2547
- P-Chain SDK Gossip by @joshua-kim in https://github.com/luxfi/node/pull/2487
- Documentation Fixes: Grammatical Corrections and Typo Fixes Across Multiple Files by @joaolago1113 in https://github.com/luxfi/node/pull/2550
- Notify block builder of txs after reject by @StephenButtolph in https://github.com/luxfi/node/pull/2549
- Set dependabot target branch to
devby @dhrubabasu in https://github.com/luxfi/node/pull/2553 - Remove
MockLoggerby @dhrubabasu in https://github.com/luxfi/node/pull/2554 - Clean up merkleDB interface and duplicate code in https://github.com/luxfi/node/pull/2445
- Do not mark txs as dropped when mempool is full by @dhrubabasu in https://github.com/luxfi/node/pull/2557
- Update bug bounty program to immunefi by @StephenButtolph in https://github.com/luxfi/node/pull/2558
- Fix p2p sdk metric labels by @StephenButtolph in https://github.com/luxfi/node/pull/2561
- Suppress gossip warnings due to no sampled peers by @StephenButtolph in https://github.com/luxfi/node/pull/2562
- Remove dead code and unnecessary lock from reflect codec by @StephenButtolph in https://github.com/luxfi/node/pull/2560
- Remove unused index interface by @StephenButtolph in https://github.com/luxfi/node/pull/2564
- Implement SetMap and use it in XP-chain mempools by @StephenButtolph in https://github.com/luxfi/node/pull/2555
vms/platformvm: AddTestIterateby @dhrubabasu in https://github.com/luxfi/node/pull/2565- Cleanup codec usage by @StephenButtolph in https://github.com/luxfi/node/pull/2563
- Remove
lentag parsing from the reflect codec by @StephenButtolph in https://github.com/luxfi/node/pull/2559 - Use more specific type by @dhrubabasu in https://github.com/luxfi/node/pull/2567
- Standardize
onShutdownCtxby @dhrubabasu in https://github.com/luxfi/node/pull/2568 - Verify xvm mempool txs against the last accepted state by @StephenButtolph in https://github.com/luxfi/node/pull/2569
- Update
CODEOWNERSby @dhrubabasu in https://github.com/luxfi/node/pull/2570 - Remove license from mocks by @dhrubabasu in https://github.com/luxfi/node/pull/2574
- Add missing import by @dhrubabasu in https://github.com/luxfi/node/pull/2573
vms/platformvm: Prune mempool periodically by @dhrubabasu in https://github.com/luxfi/node/pull/2566- Update license header to 2025 by @dhrubabasu in https://github.com/luxfi/node/pull/2572
- [MerkleDB] Make intermediate node cache two layered in https://github.com/luxfi/node/pull/2576
- Fix merkledb rebuild iterator in https://github.com/luxfi/node/pull/2581
- Fix intermediate node caching in https://github.com/luxfi/node/pull/2585
- Remove codec length check after Durango by @StephenButtolph in https://github.com/luxfi/node/pull/2586
tmpnet: Use LuxLocalChainConfig for cchain genesis by @marun in https://github.com/luxfi/node/pull/2583testing: Ensure CheckBootstrapIsPossible is safe for teardown by @marun in https://github.com/luxfi/node/pull/2582tmpnet: Separate network into orchestration and configuration by @marun in https://github.com/luxfi/node/pull/2464- Update uintsize implementation by @danlaine in https://github.com/luxfi/node/pull/2590
- Optimize bloom filter by @StephenButtolph in https://github.com/luxfi/node/pull/2588
- Remove TLS key gen from networking tests by @StephenButtolph in https://github.com/luxfi/node/pull/2596
- [utils/bloom] Optionally Update Bloom Filter Size on Reset by @patrick-ogrady in https://github.com/luxfi/node/pull/2591
- [ci] Increase Fuzz Time in Periodic Runs by @patrick-ogrady in https://github.com/luxfi/node/pull/2599
tmpnet: Save metrics snapshot to disk before node shutdown by @marun in https://github.com/luxfi/node/pull/2601- chore: Fix typo s/useage/usage by @hugo-syn in https://github.com/luxfi/node/pull/2602
- Deprecate
ConsensusRogueCommitThresholdKeyandConsensusVirtuousCommitThresholdKeyby @dhrubabasu in https://github.com/luxfi/node/pull/2600 - Fix networking invalid field log by @StephenButtolph in https://github.com/luxfi/node/pull/2604
- chore: Fix typo s/seperate/separate/ by @hugo-syn in https://github.com/luxfi/node/pull/2605
- Support dynamic port peerlist gossip by @StephenButtolph in https://github.com/luxfi/node/pull/2603
- Replace
PeerListAckwithGetPeerListby @StephenButtolph in https://github.com/luxfi/node/pull/2580 - Log critical consensus values during health checks by @StephenButtolph in https://github.com/luxfi/node/pull/2609
- Update contributions branch to master by @StephenButtolph in https://github.com/luxfi/node/pull/2610
- Add ip bloom metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2614
x/sync: Auto-generateMockNetworkClientby @dhrubabasu in https://github.com/luxfi/node/pull/2617- Remove CreateStaticHandlers from VM interface by @joshua-kim in https://github.com/luxfi/node/pull/2589
tmpnet: Add support for chains by @marun in https://github.com/luxfi/node/pull/2492- Update
go.uber.org/mock/gomocktov0.4.0by @dhrubabasu in https://github.com/luxfi/node/pull/2618 - Add
mockgensource mode for generics + bls imports by @dhrubabasu in https://github.com/luxfi/node/pull/2615 - Verify all MockGen generated files are re-generated in CI by @dhrubabasu in https://github.com/luxfi/node/pull/2616
- Move division by 0 check out of the bloom loops by @StephenButtolph in https://github.com/luxfi/node/pull/2622
- P-chain Add UTs around stakers persistence in platformvm state by @abi87 in https://github.com/luxfi/node/pull/2505
- Revert "Set dependabot target branch to
dev(#2553)" by @dhrubabasu in https://github.com/luxfi/node/pull/2623 - Remove remaining 2023 remnants by @dhrubabasu in https://github.com/luxfi/node/pull/2624
- Deprecate push-based peerlist gossip flags by @StephenButtolph in https://github.com/luxfi/node/pull/2625
- Remove support for compressing gzip messages by @dhrubabasu in https://github.com/luxfi/node/pull/2627
- Always attempt to install mockgen
v0.4.0before execution by @dhrubabasu in https://github.com/luxfi/node/pull/2628 - Modify TLS parsing rules for Durango by @StephenButtolph in https://github.com/luxfi/node/pull/2458
New Contributors
- @joaolago1113 made their first contribution in https://github.com/luxfi/node/pull/2550
- @hugo-syn made their first contribution in https://github.com/luxfi/node/pull/2602
Full Changelog: https://github.com/luxfi/node/compare/v1.10.17...v1.10.18
v1.10.17
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 30 and is compatible with versions v1.10.15-v1.10.16.
APIs
- Added
lux_{chainID}_blks_build_accept_latencymetric - Added
lux_{chainID}_blks_issued{source}metric with sources:pull_gossippush_gossipput_gossipwhich is deprecatedbuiltunknown
- Added
lux_{chainID}_issuer_stake_summetric - Added
lux_{chainID}_issuer_stake_countmetric
Configs
- Added:
--consensus-frontier-poll-frequency
- Removed:
--consensus-accepted-frontier-gossip-frequency
- Deprecated:
--consensus-accepted-frontier-gossip-validator-size--consensus-accepted-frontier-gossip-non-validator-size--consensus-accepted-frontier-gossip-peer-size- Updated the default value to 1 to align with the change in default gossip frequency
--consensus-on-accept-gossip-validator-size--consensus-on-accept-gossip-non-validator-size--consensus-on-accept-gossip-peer-size
Fixes
- Fixed
duplicated operation on provided valueerror when executing atomic operations after state syncing the C-chain - Removed usage of atomic trie after commitment
- Fixed atomic trie root overwrite during state sync
- Prevented closure of
stdoutandstderrwhen shutting down the logger
What's Changed
- Remove Banff check from mempool verifier by @dhrubabasu in https://github.com/luxfi/node/pull/2360
- Document storage growth in readme by @StephenButtolph in https://github.com/luxfi/node/pull/2364
- Add metric for duration between block timestamp and acceptance time by @StephenButtolph in https://github.com/luxfi/node/pull/2366
vms/platformvm: Remove unusedwithMetricstxheap by @dhrubabasu in https://github.com/luxfi/node/pull/2373- Move peerTracker from x/sync to network/p2p by @joshua-kim in https://github.com/luxfi/node/pull/2356
- Logging avoid closing standard outputs by @felipemadero in https://github.com/luxfi/node/pull/2372
vms/platformvm: AdjustDiff.Applysignature by @dhrubabasu in https://github.com/luxfi/node/pull/2368- Add bls validator info to genesis by @felipemadero in https://github.com/luxfi/node/pull/2371
- Remove
engine.GetVMby @StephenButtolph in https://github.com/luxfi/node/pull/2374 vms/platformvm: Consolidatestatepkg mocks by @dhrubabasu in https://github.com/luxfi/node/pull/2370- Remove common bootstrapper by @StephenButtolph in https://github.com/luxfi/node/pull/2297
vms/platformvm: MovetoEnginechannel to mempool by @dhrubabasu in https://github.com/luxfi/node/pull/2333vms/xvm: Renamestatespkg tostateby @dhrubabasu in https://github.com/luxfi/node/pull/2381- Implement generic bimap by @StephenButtolph in https://github.com/luxfi/node/pull/2383
- Unexport RequestID from consensusman engine by @StephenButtolph in https://github.com/luxfi/node/pull/2384
- Add metric to track the stake weight of block providers by @StephenButtolph in https://github.com/luxfi/node/pull/2376
- Add block source metrics to monitor gossip by @StephenButtolph in https://github.com/luxfi/node/pull/2386
- Rename
DtoDurangoby @dhrubabasu in https://github.com/luxfi/node/pull/2389 - Replace periodic push accepted gossip with pull preference gossip for block discovery by @StephenButtolph in https://github.com/luxfi/node/pull/2367
- MerkleDB Remove ID from Node to reduce size and removal channel creation. in https://github.com/luxfi/node/pull/2324
- Remove method
CappedListfromset.Setby @danlaine in https://github.com/luxfi/node/pull/2395 - Periodically PullGossip only from connected validators by @StephenButtolph in https://github.com/luxfi/node/pull/2399
- Update bootstrap IPs by @StephenButtolph in https://github.com/luxfi/node/pull/2396
- Rename
testnetfixture totmpnetby @marun in https://github.com/luxfi/node/pull/2307 - Add
p2p.Networkcomponent by @joshua-kim in https://github.com/luxfi/node/pull/2283 vms/platformvm: MoveGetRewardUTXOs,GetNets, andGetChainstoStateinterface by @dhrubabasu in https://github.com/luxfi/node/pull/2402- Add more descriptive formatted error by @aaronbuchwald in https://github.com/luxfi/node/pull/2403
Full Changelog: https://github.com/luxfi/node/compare/v1.10.16...v1.10.17
v1.10.16
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 30 and compatible with version v1.10.15.
APIs
- Added log level information to the result of
admin.setLoggerLevel - Updated
info.peersto return chain aliases forbenchedchains - Added support to sample validators of non-tracked chains with
platform.sampleValidators - Added
lux_{chainID}_max_verified_heightmetric to track the highest verified block
Configs
- Added
--db-read-onlyto run the node without writing to disk.- This flag is only expected to be used during testing as it will cause memory use to increase over time
- Removed
--bootstrap-retry-enabled - Removed
--bootstrap-retry-warn-frequency
Fixes
- Fixed packing of large block requests during C-chain state sync
- Fixed order of updating acceptor tip and sending chain events to C-chain event subscribers
What's Changed
- Return log levels from admin.SetLoggerLevel by @StephenButtolph in https://github.com/luxfi/node/pull/2250
- feat(api) : Peers function to return the PrimaryAlias of the chainID by @DoTheBestToGetTheBest in https://github.com/luxfi/node/pull/2251
- Switch to using require.TestingT interface in SenderTest struct by @marun in https://github.com/luxfi/node/pull/2258
- Cleanup
ipcsSockettest by @danlaine in https://github.com/luxfi/node/pull/2257 - Require poll metrics to be registered by @StephenButtolph in https://github.com/luxfi/node/pull/2260
- Track all chain validator sets in the validator manager by @StephenButtolph in https://github.com/luxfi/node/pull/2253
- e2e: Make NewWallet and NewEthclient regular functions by @marun in https://github.com/luxfi/node/pull/2262
- Fix typos in docs by @vuittont60 in https://github.com/luxfi/node/pull/2261
- Remove Token constants information from keys in https://github.com/luxfi/node/pull/2197
- Remove unused
UnsortedEqualsfunction by @dhrubabasu in https://github.com/luxfi/node/pull/2264 - Document p2p package by @joshua-kim in https://github.com/luxfi/node/pull/2254
- Use extended public key to derive ledger addresses by @felipemadero in https://github.com/luxfi/node/pull/2246
merkledb-- rename nit by @danlaine in https://github.com/luxfi/node/pull/2267merkledb-- fix nil check in test by @danlaine in https://github.com/luxfi/node/pull/2268- Add read-only database flag (
--db-read-only) by @danlaine in https://github.com/luxfi/node/pull/2266 merkledb-- remove unneeded var declarations by @danlaine in https://github.com/luxfi/node/pull/2269- Add fuzz test for
NewIteratorWithStartAndPrefixby @danlaine in https://github.com/luxfi/node/pull/1992 - Return if element was deleted from
Hashmapby @dhrubabasu in https://github.com/luxfi/node/pull/2271 mempool.NewMempool->mempool.Newby @dhrubabasu in https://github.com/luxfi/node/pull/2276- e2e: Refactor suite setup and helpers to tests/fixture/e2e for reuse by geth by @marun in https://github.com/luxfi/node/pull/2265
- Cleanup platformvm mempool errs by @dhrubabasu in https://github.com/luxfi/node/pull/2278
- MerkleDB:Naming and comments cleanup in https://github.com/luxfi/node/pull/2274
- Move
DropExpiredStakerTxsto platformvm mempool by @dhrubabasu in https://github.com/luxfi/node/pull/2279 - Cleanup
ids.NodeIDusage by @abi87 in https://github.com/luxfi/node/pull/2280 - Genesis validators cleanup by @abi87 in https://github.com/luxfi/node/pull/2282
- Remove Lazy Initialize on Node by @joshua-kim in https://github.com/luxfi/node/pull/1384
- Remove sentinel node from MerkleDB proofs in https://github.com/luxfi/node/pull/2106
- Embed
noophandler for all unhandled messages by @dhrubabasu in https://github.com/luxfi/node/pull/2288 merkledb-- AddClearerinterface by @danlaine in https://github.com/luxfi/node/pull/2277- Simplify get server creation by @StephenButtolph in https://github.com/luxfi/node/pull/2285
- Move management of platformvm preferred block to
executor.Managerby @dhrubabasu in https://github.com/luxfi/node/pull/2292 - Add
recentTxsLockto platformnetworkstruct by @dhrubabasu in https://github.com/luxfi/node/pull/2294 - e2e: More fixture refinement in support of geth integration testing by @marun in https://github.com/luxfi/node/pull/2275
- Add
VerifyTxtoexecutor.Managerby @dhrubabasu in https://github.com/luxfi/node/pull/2293 - Simplify lux bootstrapping by @StephenButtolph in https://github.com/luxfi/node/pull/2286
- Replace unique slices with sets in the engine interface by @StephenButtolph in https://github.com/luxfi/node/pull/2317
- Use log.Stringer rather than log.Any by @StephenButtolph in https://github.com/luxfi/node/pull/2320
- Move
AddUnverifiedTxlogic tonetwork.IssueTxby @dhrubabasu in https://github.com/luxfi/node/pull/2310 - Remove
AddUnverifiedTxfromBuilderby @dhrubabasu in https://github.com/luxfi/node/pull/2311 - Remove error from SDK AppGossip handler by @joshua-kim in https://github.com/luxfi/node/pull/2252
- Rename AppRequestFailed to AppError by @joshua-kim in https://github.com/luxfi/node/pull/2321
- Remove
Networkinterface fromBuilderby @dhrubabasu in https://github.com/luxfi/node/pull/2312 - Update
error_codeto be sint32 instead of uint32. by @joshua-kim in https://github.com/luxfi/node/pull/2322 - Refactor bootstrapper implementation into consensus by @StephenButtolph in https://github.com/luxfi/node/pull/2300
- Pchain - Cleanup NodeID generation in UTs by @abi87 in https://github.com/luxfi/node/pull/2291
- nit: loop --> variadic by @danlaine in https://github.com/luxfi/node/pull/2316
- Update log dependency to v1.26.0 by @danlaine in https://github.com/luxfi/node/pull/2325
- Remove useless anon functions by @StephenButtolph in https://github.com/luxfi/node/pull/2326
- Move
networkimplementation to separate package by @dhrubabasu in https://github.com/luxfi/node/pull/2296 - Unexport lux constant from common package by @StephenButtolph in https://github.com/luxfi/node/pull/2327
- Remove
common.Configfunctions by @StephenButtolph in https://github.com/luxfi/node/pull/2328 - Move engine startup into helper function by @StephenButtolph in https://github.com/luxfi/node/pull/2329
- Remove bootstrapping retry config by @StephenButtolph in https://github.com/luxfi/node/pull/2301
- Export consensusman bootstrapper by @StephenButtolph in https://github.com/luxfi/node/pull/2331
- Remove common.Config from syncer.Config by @StephenButtolph in https://github.com/luxfi/node/pull/2330
platformvm.VM-- replaceConfigfield withvalidators.Managerby @danlaine in https://github.com/luxfi/node/pull/2319- Improve height monitoring by @StephenButtolph in https://github.com/luxfi/node/pull/2347
- Cleanup consensusman consensus metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2349
- Expand consensus health check by @StephenButtolph in https://github.com/luxfi/node/pull/2354
- Reduce the size of the OracleBlock interface by @StephenButtolph in https://github.com/luxfi/node/pull/2355
- [vms/proposervm] Update Build Heuristic by @patrick-ogrady in https://github.com/luxfi/node/pull/2348
- Use linkedhashmap for P-Chain mempool by @gyuho in https://github.com/luxfi/node/pull/1536
- Increase txs in pool metric when adding tx by @StephenButtolph in https://github.com/luxfi/node/pull/2361
New Contributors
- @DoTheBestToGetTheBest made their first contribution in https://github.com/luxfi/node/pull/2251
- @vuittont60 made their first contribution in https://github.com/luxfi/node/pull/2261
Full Changelog: https://github.com/luxfi/node/compare/v1.10.15...v1.10.16
v1.10.15
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is updated to 30 all plugins must update to be compatible.
Configs
- Added
pebbleas an allowed option to--db-type
Fixes
- Fixed C-chain tracer API panic
What's Changed
- Reduce allocations on insert and remove in https://github.com/luxfi/node/pull/2201
merkledb-- shift nit by @danlaine in https://github.com/luxfi/node/pull/2218- Update
golangci-linttov1.55.1by @dhrubabasu in https://github.com/luxfi/node/pull/2228 - Add json marshal tests to existing serialization tests in
platformvm/txspkg by @dhrubabasu in https://github.com/luxfi/node/pull/2227 - Move all blst function usage to
blspkg by @dhrubabasu in https://github.com/luxfi/node/pull/2222 merkledb-- don't passBranchFactortoencodeDBNodeby @danlaine in https://github.com/luxfi/node/pull/2217- Add
utils.Errhelper by @dhrubabasu in https://github.com/luxfi/node/pull/2212 - Enable
perfsprintlinter by @dhrubabasu in https://github.com/luxfi/node/pull/2229 - Trim down size of secp256k1
Factorystruct by @dhrubabasu in https://github.com/luxfi/node/pull/2223 - Fix test typos by @dhrubabasu in https://github.com/luxfi/node/pull/2233
- P2P AppRequestFailed protobuf definition by @joshua-kim in https://github.com/luxfi/node/pull/2111
- Remove error from Router AppGossip by @joshua-kim in https://github.com/luxfi/node/pull/2238
- Document host and port behavior in help text by @StephenButtolph in https://github.com/luxfi/node/pull/2236
- Remove
database.Managerby @danlaine in https://github.com/luxfi/node/pull/2239 - Add
BaseTxsupport to platformvm by @dhrubabasu in https://github.com/luxfi/node/pull/2232 - Add
pebbleas valid value for--db-type. by @danlaine in https://github.com/luxfi/node/pull/2244 - Add nullable option to codec by @nytzuga in https://github.com/luxfi/node/pull/2171
Full Changelog: https://github.com/luxfi/node/compare/v1.10.14...v1.10.15
v1.10.14
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 29 and compatible with version v1.10.13.
Configs
- Deprecated
--api-ipcs-enabled - Deprecated
--ipcs-chain-ids - Deprecated
--ipcs-path - Deprecated
--api-keystore-enabled
Fixes
- Fixed shutdown of timeout manager
- Fixed racy access of the shutdown time
What's Changed
- Remove build check from unit tests by @StephenButtolph in https://github.com/luxfi/node/pull/2189
- Update cgo usage by @StephenButtolph in https://github.com/luxfi/node/pull/2184
- Deprecate IPC configs by @danlaine in https://github.com/luxfi/node/pull/2168
- Update P2P proto docs by @joshua-kim in https://github.com/luxfi/node/pull/2181
- Merkle db Make Paths only refer to lists of nodes in https://github.com/luxfi/node/pull/2143
- Deprecate keystore config by @danlaine in https://github.com/luxfi/node/pull/2195
- Add tests for BanffBlock serialization by @dhrubabasu in https://github.com/luxfi/node/pull/2194
- Move Shutdown lock from Handler into Engines by @StephenButtolph in https://github.com/luxfi/node/pull/2179
- Move HealthCheck lock from Handler into Engines by @StephenButtolph in https://github.com/luxfi/node/pull/2173
- Implement Heap Map by @joshua-kim in https://github.com/luxfi/node/pull/2137
- Move selectStartGear lock from Handler into Engines by @StephenButtolph in https://github.com/luxfi/node/pull/2182
- Add Heap Set by @joshua-kim in https://github.com/luxfi/node/pull/2136
- Shutdown TimeoutManager during node Shutdown by @abi87 in https://github.com/luxfi/node/pull/1707
- Redesign validator set management to enable tracking all chains by @ceyonur in https://github.com/luxfi/node/pull/1857
- Update local network readme by @StephenButtolph in https://github.com/luxfi/node/pull/2203
- Use custom codec for validator metadata by @abi87 in https://github.com/luxfi/node/pull/1510
- Add RSA max key length test by @StephenButtolph in https://github.com/luxfi/node/pull/2205
- Remove duplicate networking check by @StephenButtolph in https://github.com/luxfi/node/pull/2204
- Update TestDialContext to use ManuallyTrack by @joshua-kim in https://github.com/luxfi/node/pull/2209
- Remove contains from validator manager interface by @ceyonur in https://github.com/luxfi/node/pull/2198
- Move the overridden manager into the node by @ceyonur in https://github.com/luxfi/node/pull/2199
- Remove
aggregatestruct by @dhrubabasu in https://github.com/luxfi/node/pull/2213 - Add log for ungraceful shutdown on startup by @joshua-kim in https://github.com/luxfi/node/pull/2215
- Add pebble database implementation by @danlaine in https://github.com/luxfi/node/pull/1999
- Add
TransferNetOwnershipTxby @dhrubabasu in https://github.com/luxfi/node/pull/2178 - Revert networking AllowConnection change by @StephenButtolph in https://github.com/luxfi/node/pull/2219
- Fix unexpected unlock by @StephenButtolph in https://github.com/luxfi/node/pull/2221
- Improve logging for block verification failure by @StephenButtolph in https://github.com/luxfi/node/pull/2224
Full Changelog: https://github.com/luxfi/node/compare/v1.10.13...v1.10.14
v1.10.13
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is updated to 29 all plugins must update to be compatible.
Fixes
- Added
Prefetcherto themerkledbinterface - Fixed json marshalling of
TrackedNetsandAllowedNodes
What's Changed
- Fix typo in block formation logic documentation by @kyoshisuki in https://github.com/luxfi/node/pull/2158
- Marshal blocks and transactions inside API calls by @StephenButtolph in https://github.com/luxfi/node/pull/2153
- Remove lock options from the info api by @StephenButtolph in https://github.com/luxfi/node/pull/2149
- Remove write lock option from the xvm static API by @StephenButtolph in https://github.com/luxfi/node/pull/2154
- Remove write lock option from the xvm wallet API by @StephenButtolph in https://github.com/luxfi/node/pull/2155
- Fix json marshalling of Sets by @StephenButtolph in https://github.com/luxfi/node/pull/2161
- Rename
removeNetValidatorValidationtoverifyRemoveNetValidatorTxby @dhrubabasu in https://github.com/luxfi/node/pull/2162 - Remove lock options from the IPCs api by @StephenButtolph in https://github.com/luxfi/node/pull/2151
- Remove write lock option from the xsvm API by @StephenButtolph in https://github.com/luxfi/node/pull/2152
- Remove lock options from the admin API by @StephenButtolph in https://github.com/luxfi/node/pull/2150
- Remove aliasing of
mathstandard lib by @dhrubabasu in https://github.com/luxfi/node/pull/2163 - Remove write lock option from the platformvm API by @StephenButtolph in https://github.com/luxfi/node/pull/2157
- Remove write lock option from the xvm rpc API by @StephenButtolph in https://github.com/luxfi/node/pull/2156
- Remove context lock from API VM interface by @StephenButtolph in https://github.com/luxfi/node/pull/2165
- Use set.Of rather than set.Add by @StephenButtolph in https://github.com/luxfi/node/pull/2164
- Bump google.golang.org/grpc from 1.55.0 to 1.58.3 by @dependabot in https://github.com/luxfi/node/pull/2159
- [x/merkledb]
Prefetcherinterface by @patrick-ogrady in https://github.com/luxfi/node/pull/2167 - Validator Diffs: docs and UTs cleanup by @abi87 in https://github.com/luxfi/node/pull/2037
- MerkleDB Reduce buffer creation/memcopy on path construction in https://github.com/luxfi/node/pull/2124
- Fix some P-chain UTs by @abi87 in https://github.com/luxfi/node/pull/2117
New Contributors
- @kyoshisuki made their first contribution in https://github.com/luxfi/node/pull/2158
Full Changelog: https://github.com/luxfi/node/compare/v1.10.12...v1.10.13
v1.10.12
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 28 and compatible with versions v1.10.9 - v1.10.11.
APIs
- Added
lux_{chainID}_total_weightmetric - Added
lux_{chainID}_num_validatorsmetric - Added
lux_{chainID}_num_processing_ancestor_fetches_failedmetric - Added
lux_{chainID}_num_processing_ancestor_fetches_droppedmetric - Added
lux_{chainID}_num_processing_ancestor_fetches_succeededmetric - Added
lux_{chainID}_num_processing_ancestor_fetches_unneededmetric - Added
lux_{chainID}_num_missing_accepted_blocksmetric - Added
lux_{chainID}_selected_vote_index_countmetric - Added
lux_{chainID}_selected_vote_index_summetric
Configs
- Added
--consensus-preference-quorum-sizeflag - Added
--consensus-confidence-quorum-sizeflag - Added
"fx-owner-cache-size"to the P-chain config
Fixes
- Fixed concurrent node shutdown and chain creation race
- Updated http2 implementation to patch CVE-2023-39325
- Exited
network.dialearly to avoid goroutine leak when shutting down - Reduced log level of
"failed to send peer list for handshake"messages fromERRORtoDEBUG - Reduced log level of
"state pruning failed"messages fromERRORtoWARN
What's Changed
- Add last accepted height to the consensusman interface by @StephenButtolph in https://github.com/luxfi/node/pull/2091
- Delete kurtosis CI jobs by @marun in https://github.com/luxfi/node/pull/2068
- e2e: Ensure all Issue* calls use the default context by @marun in https://github.com/luxfi/node/pull/2069
- Remove Finalized from the consensus interface by @StephenButtolph in https://github.com/luxfi/node/pull/2093
- Remove embedding of
verify.VerifiableinFxCredentialby @dhrubabasu in https://github.com/luxfi/node/pull/2089 - Clarify decidable interface simple default parameter tests by @gyuho in https://github.com/luxfi/node/pull/2094
- consensus/consensus/consensusman/poll: remove "unused" no early term poller by @gyuho in https://github.com/luxfi/node/pull/2095
- Cleanup
.golangci.ymlby @dhrubabasu in https://github.com/luxfi/node/pull/2097 - Refactor
ancestor.Treeby @StephenButtolph in https://github.com/luxfi/node/pull/2099 - Update AMI runner image and instance type by @charlie-ava in https://github.com/luxfi/node/pull/1939
- Add
tagalignlinter by @dhrubabasu in https://github.com/luxfi/node/pull/2084 - Fix flaky BuildBlockIsIdempotent test by @StephenButtolph in https://github.com/luxfi/node/pull/2101
- Make
network.dialhonor context cancellation. by @danlaine in https://github.com/luxfi/node/pull/2061 - Add preference lookups by height to the consensus interface by @StephenButtolph in https://github.com/luxfi/node/pull/2092
- Remove duplicate pullQuery method by @StephenButtolph in https://github.com/luxfi/node/pull/2103
- Add additional validator set metrics by @aaronbuchwald in https://github.com/luxfi/node/pull/2051
- Remove
consensusball.Initializeandconsensusball.Factoryby @danlaine in https://github.com/luxfi/node/pull/2104 - Remove initialize functions from the consensusball package by @danlaine in https://github.com/luxfi/node/pull/2105
- Remove
genesis.Stateby @joshua-kim in https://github.com/luxfi/node/pull/2112 - add
SetNetOwnertoChaininterface by @dhrubabasu in https://github.com/luxfi/node/pull/2031 - Move vote bubbling before poll termination by @StephenButtolph in https://github.com/luxfi/node/pull/2100
- testing: Switch upgrade test to testnet fixture by @marun in https://github.com/luxfi/node/pull/1887
- Reduce archivedb key lengths by 1 byte by @StephenButtolph in https://github.com/luxfi/node/pull/2113
- Cleanup uptime manager constructor by @abi87 in https://github.com/luxfi/node/pull/2118
- MerkleDB Compact Path Bytes in https://github.com/luxfi/node/pull/2010
- MerkleDB Path changes cleanup in https://github.com/luxfi/node/pull/2120
- Fix consensus engine interface comments by @StephenButtolph in https://github.com/luxfi/node/pull/2115
- Standardize consensus variable names in tests by @StephenButtolph in https://github.com/luxfi/node/pull/2129
- Prevent bytesNeeded overflow by @StephenButtolph in https://github.com/luxfi/node/pull/2130
- Migrate xsvm from github.com/luxfi/xsvm by @marun in https://github.com/luxfi/node/pull/2045
- Fix handling of wg in the networking dial test by @StephenButtolph in https://github.com/luxfi/node/pull/2132
- Update go.mod and add update check by @StephenButtolph in https://github.com/luxfi/node/pull/2133
- Reduce log level of failing to send a peerList message by @StephenButtolph in https://github.com/luxfi/node/pull/2134
- RPCChainVM fail-fast health RPCs by @hexfusion in https://github.com/luxfi/node/pull/2123
- MerkleDB allow warming node cache in https://github.com/luxfi/node/pull/2128
- Add vote bubbling metrics by @StephenButtolph in https://github.com/luxfi/node/pull/2138
- Reduce log level of an error during Prune by @StephenButtolph in https://github.com/luxfi/node/pull/2141
- Exit chain creation routine before shutting down chain router by @StephenButtolph in https://github.com/luxfi/node/pull/2140
- Merkle db fix type cast bug in https://github.com/luxfi/node/pull/2142
- Add Warp Payload Types by @nytzuga in https://github.com/luxfi/node/pull/2116
- Add height voting for chits by @StephenButtolph in https://github.com/luxfi/node/pull/2102
- Add Heap Queue by @joshua-kim in https://github.com/luxfi/node/pull/2135
- Add additional payload.Hash examples by @StephenButtolph in https://github.com/luxfi/node/pull/2145
- Split Alpha into AlphaPreference and AlphaConfidence by @StephenButtolph in https://github.com/luxfi/node/pull/2125
Full Changelog: https://github.com/luxfi/node/compare/v1.10.11...v1.10.12
v1.10.11
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 28 and compatible with versions v1.10.9 - v1.10.10.
Fixes
- Prevented overzelous benching due to dropped AppRequests
- Populated the process file atomically to avoid racy reads
What's Changed
- Rename platformvm/blocks to platformvm/block by @joshua-kim in https://github.com/luxfi/node/pull/1980
- RewardValidatorTx cleanup by @abi87 in https://github.com/luxfi/node/pull/1891
- Cancel stale SH actions by @danlaine in https://github.com/luxfi/node/pull/2003
- e2e: Switch assertion library from gomega to testify by @marun in https://github.com/luxfi/node/pull/1909
- e2e: Add bootstrap checks to migrated kurtosis tests by @marun in https://github.com/luxfi/node/pull/1935
- Add
GetTransformNetTxhelper by @dhrubabasu in https://github.com/luxfi/node/pull/2047 - Add readme for the staking/local folder by @StephenButtolph in https://github.com/luxfi/node/pull/2046
- use
IsCortinaActivatedhelper by @dhrubabasu in https://github.com/luxfi/node/pull/2048 - add
Dupgrade boilerplate by @dhrubabasu in https://github.com/luxfi/node/pull/2049 - e2e: Ensure interchain workflow coverage for the P-Chain by @marun in https://github.com/luxfi/node/pull/1882
- e2e: Switch to using default timed context everywhere by @marun in https://github.com/luxfi/node/pull/1910
- Remove indentation + confusing comment by @StephenButtolph in https://github.com/luxfi/node/pull/2053
- Delete ErrDelegatorSubset by @joshua-kim in https://github.com/luxfi/node/pull/2055
- Fix default validator start time by @marun in https://github.com/luxfi/node/pull/2058
- Enable workflows to be triggered by merge queue by @marun in https://github.com/luxfi/node/pull/2057
- e2e: Migrate staking rewards test from kurtosis by @marun in https://github.com/luxfi/node/pull/1767
- Fix LRU documentation comment by @anusha-ctrl in https://github.com/luxfi/node/pull/2036
- Ignore AppResponse timeouts for benching by @StephenButtolph in https://github.com/luxfi/node/pull/2066
- trace: provide appName and version from Config by @najeal in https://github.com/luxfi/node/pull/1893
- Update perms.WriteFile to write atomically by @marun in https://github.com/luxfi/node/pull/2063
- ArchiveDB by @nytzuga in https://github.com/luxfi/node/pull/1911
Full Changelog: https://github.com/luxfi/node/compare/v1.10.10...v1.10.11
v1.10.10
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 28 and compatible with version v1.10.9.
APIs
- Added
heightto the output ofplatform.getCurrentSupply
Configs
- Added
proposerNumHistoricalBlocksto chain configs
Fixes
- Fixed handling of
SIGTERMsignals in plugin processes prior to receiving aShutdownmessage - Fixed range proof commitment of empty proofs
What's Changed
- e2e: Save network data for each test run as an uploaded artifact by @marun in https://github.com/luxfi/node/pull/1856
- e2e: Ensure interchain workflow coverage for X-Chain and C-Chain by @marun in https://github.com/luxfi/node/pull/1871
- MerkleDB Adjust New View function(s) in https://github.com/luxfi/node/pull/1927
- e2e: Migrate duplicate node id test from kurtosis by @marun in https://github.com/luxfi/node/pull/1573
- Add tracing levels to merkledb by @StephenButtolph in https://github.com/luxfi/node/pull/1933
- [x/merkledb] Add Configuration for
RootGenConcurrencyby @patrick-ogrady in https://github.com/luxfi/node/pull/1936 - e2e: Ensure testnet network dir is archived on failed test run by @marun in https://github.com/luxfi/node/pull/1930
- Merkle db cleanup view creation in https://github.com/luxfi/node/pull/1934
- Add async DB deletion helper by @StephenButtolph in https://github.com/luxfi/node/pull/1931
- Implement SDK handler to drop messages from non-validators by @joshua-kim in https://github.com/luxfi/node/pull/1917
- Support proposervm historical block deletion by @StephenButtolph in https://github.com/luxfi/node/pull/1929
- Remove thread pool by @StephenButtolph in https://github.com/luxfi/node/pull/1940
- Merkledb split node storage into value and intermediate in https://github.com/luxfi/node/pull/1918
merkledb-- remove unneeded codec test helper by @danlaine in https://github.com/luxfi/node/pull/1943merkledb-- add codec test and move helper by @danlaine in https://github.com/luxfi/node/pull/1944- Add throttler implementation to SDK by @joshua-kim in https://github.com/luxfi/node/pull/1905
- Add Throttled Handler implementation to SDK by @joshua-kim in https://github.com/luxfi/node/pull/1906
- Change merkledb caches to be size based by @StephenButtolph in https://github.com/luxfi/node/pull/1947
- Rename
node.marshaltonode.bytesby @danlaine in https://github.com/luxfi/node/pull/1951 - e2e: Switch to a default network node count of 2 by @marun in https://github.com/luxfi/node/pull/1928
- MerkleDB Improve Node Size Calculation in https://github.com/luxfi/node/pull/1950
merkledb-- remove unneeded return values by @danlaine in https://github.com/luxfi/node/pull/1959sync-- reduce test sizes by @danlaine in https://github.com/luxfi/node/pull/1962merkledb-- limit number of goroutines calculating node IDs by @danlaine in https://github.com/luxfi/node/pull/1960- Add gossip package to p2p SDK by @joshua-kim in https://github.com/luxfi/node/pull/1958
- Improve state sync logging by @StephenButtolph in https://github.com/luxfi/node/pull/1955
- Update golang to 1.20.8 by @StephenButtolph in https://github.com/luxfi/node/pull/1826
- Use odd-numbered request ids for SDK by @joshua-kim in https://github.com/luxfi/node/pull/1975
- update iterator invariant by @danlaine in https://github.com/luxfi/node/pull/1978
- Document common usage of requestIDs for consensus senders by @StephenButtolph in https://github.com/luxfi/node/pull/1981
- e2e: Diagnose and fix flakes by @marun in https://github.com/luxfi/node/pull/1941
merkledb--db_test.gocleanup by @danlaine in https://github.com/luxfi/node/pull/1954merkledb-- make config fields uints by @danlaine in https://github.com/luxfi/node/pull/1963- Only gracefully exit rpcchainvm server after Shutdown by @StephenButtolph in https://github.com/luxfi/node/pull/1988
- Add contexts to SDK callbacks by @joshua-kim in https://github.com/luxfi/node/pull/1977
- Change max response size to target response size by @joshua-kim in https://github.com/luxfi/node/pull/1995
- Add sdk gossip handler metrics by @joshua-kim in https://github.com/luxfi/node/pull/1997
- Add p2p SDK Router metrics by @joshua-kim in https://github.com/luxfi/node/pull/2000
- Merkledb Attempt to reduce test runtime in https://github.com/luxfi/node/pull/1990
- longer timeout on windows UT by @danlaine in https://github.com/luxfi/node/pull/2001
sync-- log tweaks by @danlaine in https://github.com/luxfi/node/pull/2008- Add Validator Gossiper by @joshua-kim in https://github.com/luxfi/node/pull/2015
- database: comment that Get returns ErrNotFound if key is not present by @aaronbuchwald in https://github.com/luxfi/node/pull/2018
- Return
heightfromGetCurrentSupplyby @dhrubabasu in https://github.com/luxfi/node/pull/2022 - simplify platformvm
GetHeightfunction by @dhrubabasu in https://github.com/luxfi/node/pull/2023 - Merkle db fix range proof commit bug in https://github.com/luxfi/node/pull/2019
- Add
bag.Ofhelper by @StephenButtolph in https://github.com/luxfi/node/pull/2027 - Cleanup early poll termination logic by @StephenButtolph in https://github.com/luxfi/node/pull/2029
- fix typo by @dhrubabasu in https://github.com/luxfi/node/pull/2030
- Merkle db intermediate node key compression in https://github.com/luxfi/node/pull/1987
- Improve RPC Chain version mismatch error message by @martineckardt in https://github.com/luxfi/node/pull/2021
- Move chain owner lookup to platformvm state by @dhrubabasu in https://github.com/luxfi/node/pull/2025
- Fix fuzz tests; add iterator fuzz test by @danlaine in https://github.com/luxfi/node/pull/1991
- Refactor chain validator primary network requirements by @dhrubabasu in https://github.com/luxfi/node/pull/2014
- Rename events to event by @joshua-kim in https://github.com/luxfi/node/pull/1973
- Add function to initialize SampleableSet by @joshua-kim in https://github.com/luxfi/node/pull/2017
- add
IsCortinaActivatedhelper by @dhrubabasu in https://github.com/luxfi/node/pull/2013 - Fix P-chain Import by @StephenButtolph in https://github.com/luxfi/node/pull/2035
- Rename xvm/blocks package to xvm/block by @joshua-kim in https://github.com/luxfi/node/pull/1970
- Merkledb Update rangeproof proto to be consistent with changeproof proto in https://github.com/luxfi/node/pull/2040
merkledb-- encode lengths as uvarints by @danlaine in https://github.com/luxfi/node/pull/2039- MerkleDB Remove GetNodeFromParent in https://github.com/luxfi/node/pull/2041
New Contributors
- @martineckardt made their first contribution in https://github.com/luxfi/node/pull/2021
Full Changelog: https://github.com/luxfi/node/compare/v1.10.9...v1.10.10
v1.10.9
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is updated to 28 all plugins must update to be compatible.
Configs
- Changed the default value of
--network-compression-typefromgziptozstd
Fixes
- Marked corruptabledb as corrupted after encountering an error during iteration
- Fixed proposervm error handling during startup
What's Changed
merkledb-- verify range proof in fuzz test; fix bound error by @danlaine in https://github.com/luxfi/node/pull/1789- Update default compression type to zstd by @StephenButtolph in https://github.com/luxfi/node/pull/1839
- Migrate to
uber-go/mockby @dhrubabasu in https://github.com/luxfi/node/pull/1840 corruptabledb-- corrupt on iterator error by @danlaine in https://github.com/luxfi/node/pull/1829- Add support for Maps to the reflect_codec by @nytzuga in https://github.com/luxfi/node/pull/1790
- Make linter fail if
github.com/golang/mock/gomockis used by @danlaine in https://github.com/luxfi/node/pull/1843 - Firewoodize merkle db Part 1: Make Views ReadOnly in https://github.com/luxfi/node/pull/1816
- E2E tests -- use appropriate timeouts by @danlaine in https://github.com/luxfi/node/pull/1851
- e2e: Switch to testnet fixture by @marun in https://github.com/luxfi/node/pull/1709
secp256k1-- add fuzz tests by @danlaine in https://github.com/luxfi/node/pull/1809- Add fuzz test for complex codec unmarshalling by @StephenButtolph in https://github.com/luxfi/node/pull/1846
- Simplify exported interface of the primary wallet by @StephenButtolph in https://github.com/luxfi/node/pull/1849
- Regenerate mocks by @joshua-kim in https://github.com/luxfi/node/pull/1860
- Remove history btree by @danlaine in https://github.com/luxfi/node/pull/1861
merkledb-- RemoveCommitToParentby @danlaine in https://github.com/luxfi/node/pull/1854merkledb-- remove other history btree by @danlaine in https://github.com/luxfi/node/pull/1862merkledb-- add path fuzz test by @danlaine in https://github.com/luxfi/node/pull/1852- fix range proof verification case by @danlaine in https://github.com/luxfi/node/pull/1834
merkledb-- add change proof fuzz test; fix change proof verification by @danlaine in https://github.com/luxfi/node/pull/1802- Warp readme by @aaronbuchwald in https://github.com/luxfi/node/pull/1780
- CODEOWNERS: add marun to tests by @hexfusion in https://github.com/luxfi/node/pull/1863
- Add CI check that auto-generated code is up to date by @dhrubabasu in https://github.com/luxfi/node/pull/1828
sync-- change proof request can return range proof by @danlaine in https://github.com/luxfi/node/pull/1772- Ensure consistent use of best-practice
set -oin all scripts by @marun in https://github.com/luxfi/node/pull/1864 - GetCanonicalValidatorSet minimal ValidatorState iface by @darioush in https://github.com/luxfi/node/pull/1875
sync-- handle fatal error by @danlaine in https://github.com/luxfi/node/pull/1874merkledb-- useMaybefor start bounds by @danlaine in https://github.com/luxfi/node/pull/1872- Add C-chain wallet to the primary network by @StephenButtolph in https://github.com/luxfi/node/pull/1850
- e2e: Refactor keychain and wallet creation to test helpers by @marun in https://github.com/luxfi/node/pull/1870
- Update account nonce on exportTx accept by @StephenButtolph in https://github.com/luxfi/node/pull/1881
sync-- add workheap test by @danlaine in https://github.com/luxfi/node/pull/1879merkledb-- commit to db only by @danlaine in https://github.com/luxfi/node/pull/1885- Remove node/value lock from trieview in https://github.com/luxfi/node/pull/1865
- remove old todo by @danlaine in https://github.com/luxfi/node/pull/1892
- Fix race in TestHandlerDispatchInternal by @joshua-kim in https://github.com/luxfi/node/pull/1895
- Remove duplicate code from proposervm block acceptance by @StephenButtolph in https://github.com/luxfi/node/pull/1894
- e2e: Bump permissionless chains timeouts by @marun in https://github.com/luxfi/node/pull/1897
merkledb-- codec remove err checks by @danlaine in https://github.com/luxfi/node/pull/1899- Merkle db fix new return type in https://github.com/luxfi/node/pull/1898
- Add SDK Sampling interface by @joshua-kim in https://github.com/luxfi/node/pull/1877
- Add NoOpHandler implementation to SDK by @joshua-kim in https://github.com/luxfi/node/pull/1903
- Remove unused scripts by @StephenButtolph in https://github.com/luxfi/node/pull/1908
merkledb-- codec nits/cleanup by @danlaine in https://github.com/luxfi/node/pull/1904merkledb-- preallocatebytes.Bufferin codec by @danlaine in https://github.com/luxfi/node/pull/1900- Proposervm height index repair fix by @abi87 in https://github.com/luxfi/node/pull/1915
merkledb-- move and rename methods by @danlaine in https://github.com/luxfi/node/pull/1919- Remove optional height indexing interface by @StephenButtolph in https://github.com/luxfi/node/pull/1896
merkledb-- nits by @danlaine in https://github.com/luxfi/node/pull/1916- Fix code owners file by @StephenButtolph in https://github.com/luxfi/node/pull/1922
- Drop invalid TLS certs during initial handshake by @StephenButtolph in https://github.com/luxfi/node/pull/1923
- Restricted tls metrics by @StephenButtolph in https://github.com/luxfi/node/pull/1924
New Contributors
- @nytzuga made their first contribution in https://github.com/luxfi/node/pull/1790
Full Changelog: https://github.com/luxfi/node/compare/v1.10.8...v1.10.9
v1.10.8
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 27 and compatible with versions v1.10.5 - v1.10.7.
This update changes the local network genesis. This version will not be able to join local networks with prior versions.
The first startup of the P-Chain will perform indexing operations. This indexing runs in the background and does not impact restart time. During this indexing the node will report increased CPU, memory, and disk usage.
APIs
- Added
platform.getBlockByHeight
Configs
- Added
--partial-sync-primary-networkflag to enable non-validators to optionally sync only the P-chain on the primary network - Added P-chain cache size configuration
block-id-cache-size
Fixes
- Fixed P-chain GetValidatorSet regression for chains
- Changed
x/syncrange/change proof bounds from[]bytetoMaybe[[]byte] - Fixed
x/syncerror handling from failure to send app messages
What's Changed
- Removes calls to ctrl.Finish by @darioush in https://github.com/luxfi/node/pull/1803
- e2e: Remove unnecessary transaction status checking by @marun in https://github.com/luxfi/node/pull/1786
- fix p2p mockgen location by @dhrubabasu in https://github.com/luxfi/node/pull/1806
- fix end proof verification by @danlaine in https://github.com/luxfi/node/pull/1801
merkledb-- add proof fuzz test by @danlaine in https://github.com/luxfi/node/pull/1804sync-- re-add network client metrics by @danlaine in https://github.com/luxfi/node/pull/1787- Add function to initialize set from elements by @joshua-kim in https://github.com/luxfi/node/pull/1808
- Add Maybe to the end bound of proofs (Part 1) in https://github.com/luxfi/node/pull/1793
- add go version to --version by @amirhasanzadehpy in https://github.com/luxfi/node/pull/1819
- e2e: Add local network fixture by @marun in https://github.com/luxfi/node/pull/1700
- Fix test flake in TestProposalTxsInMempool by @StephenButtolph in https://github.com/luxfi/node/pull/1822
sync-- remove todo by @danlaine in https://github.com/luxfi/node/pull/1788- Add Maybe to the end bound of proofs (Part 2) in https://github.com/luxfi/node/pull/1813
- Move Maybe to its own package by @danlaine in https://github.com/luxfi/node/pull/1817
merkledb-- clarify/improve change proof invariants by @danlaine in https://github.com/luxfi/node/pull/1810- P-chain state prune + height index by @dhrubabasu in https://github.com/luxfi/node/pull/1719
- Update maintainer of the debian packages by @StephenButtolph in https://github.com/luxfi/node/pull/1825
- Make platformvm implement
block.HeightIndexedChainVMby @dhrubabasu in https://github.com/luxfi/node/pull/1746 - Add P-chain
GetBlockByHeightAPI method by @dhrubabasu in https://github.com/luxfi/node/pull/1747 - Update local genesis startTime by @ceyonur in https://github.com/luxfi/node/pull/1811
sync-- add handling for fatal error by @danlaine in https://github.com/luxfi/node/pull/1690- Add error logs for unexpected proposervm BuildBlock failures by @StephenButtolph in https://github.com/luxfi/node/pull/1832
- Fix chain validator set public key initialization by @StephenButtolph in https://github.com/luxfi/node/pull/1833
- Document PendingTxs + BuildBlock consensus engine requirement by @StephenButtolph in https://github.com/luxfi/node/pull/1835
- Bump github.com/supranational/blst from 0.3.11-0.20230406105308-e9dfc5ee724b to 0.3.11 by @dependabot in https://github.com/luxfi/node/pull/1831
- Add Primary Network Lite Sync Option by @abi87 in https://github.com/luxfi/node/pull/1769
- Check P-chain ShouldPrune during Initialize by @StephenButtolph in https://github.com/luxfi/node/pull/1836
New Contributors
- @amirhasanzadehpy made their first contribution in https://github.com/luxfi/node/pull/1819
- @dependabot made their first contribution in https://github.com/luxfi/node/pull/1831
Full Changelog: https://github.com/luxfi/node/compare/v1.10.7...v1.10.8
v1.10.7
This version is backwards compatible to v1.10.0. This release contains meaningful performance improvements and we recommend updating as soon as possible.
The plugin version is unchanged at 27 and compatible with versions v1.10.5 - v1.10.6.
APIs
- Modified
platform.getValidatorsAtto also return BLS public keys
Configs
- Changed the default value of
--network-allow-private-ipstofalsewhen the--network-idis eithertestnetormainnet - Added P-chain cache size configurations
block-cache-sizetx-cache-sizetransformed-chain-tx-cache-sizereward-utxos-cache-sizechain-cache-sizechain-db-cache-size
- Removed various long deprecated flags
--genesisuse--genesis-fileinstead--genesis-contentuse--genesis-file-contentinstead--inbound-connection-throttling-cooldownuse--network-inbound-connection-throttling-cooldowninstead--inbound-connection-throttling-max-conns-per-secuse--network-inbound-connection-throttling-max-conns-per-secinstead--outbound-connection-throttling-rpsusenetwork-outbound-connection-throttling-rpsinstead--outbound-connection-timeoutusenetwork-outbound-connection-timeoutinstead--staking-enabledusesybil-protection-enabledinstead--staking-disabled-weightusesybil-protection-disabled-weightinstead--network-compression-enableduse--network-compression-typeinstead--consensus-gossip-frequencyuse--consensus-accepted-frontier-gossip-frequencyinstead
Fixes
- Fixed C-chain tx tracer crashes
- Fixed merkledb panic during state sync
- Fixed merkledb state sync stale target tracking
What's Changed
- Remove deprecated configs by @ceyonur in https://github.com/luxfi/node/pull/1712
- upgrade: Increase all ANR timeouts to 2m to ensure CI reliability by @marun in https://github.com/luxfi/node/pull/1737
- fix sync panic by @danlaine in https://github.com/luxfi/node/pull/1736
- remove
vm.statere-assignment in tests by @dhrubabasu in https://github.com/luxfi/node/pull/1739 - Expose BLS public keys from platform.getValidatorsAt by @StephenButtolph in https://github.com/luxfi/node/pull/1740
- Fix validator set diff tests by @StephenButtolph in https://github.com/luxfi/node/pull/1744
- Replace List() with Map() on validators.Set by @StephenButtolph in https://github.com/luxfi/node/pull/1745
- vms/platformvm: configure state cache sizes #1522 by @najeal in https://github.com/luxfi/node/pull/1677
- Support both
stateBlks andBlocks inblockDBby @dhrubabasu in https://github.com/luxfi/node/pull/1748 - Add
DefaultExecutionConfigvar toplatformvmby @dhrubabasu in https://github.com/luxfi/node/pull/1749 - Remove hanging TODO from prior change by @StephenButtolph in https://github.com/luxfi/node/pull/1758
- Write process context on node start to simplify test orchestration by @marun in https://github.com/luxfi/node/pull/1729
- x/sync: add locks for peerTracker by @darioush in https://github.com/luxfi/node/pull/1756
- Add ids length constants by @StephenButtolph in https://github.com/luxfi/node/pull/1759
- [x/sync] Update target locking by @patrick-ogrady in https://github.com/luxfi/node/pull/1763
- Export warp errors for external use by @aaronbuchwald in https://github.com/luxfi/node/pull/1771
- Remove unused networking constant by @StephenButtolph in https://github.com/luxfi/node/pull/1774
- Change the default value of
--network-allow-private-ipstofalseformainnetandtestnetby @StephenButtolph in https://github.com/luxfi/node/pull/1773 - Remove context.TODO from tests by @StephenButtolph in https://github.com/luxfi/node/pull/1778
- Replace linkeddb iterator with native DB range queries by @StephenButtolph in https://github.com/luxfi/node/pull/1752
- Add support for measuring key size in caches by @StephenButtolph in https://github.com/luxfi/node/pull/1781
- Bump geth to v0.12.5-rc.0 by @aaronbuchwald in https://github.com/luxfi/node/pull/1775
- Add metric for the number of elements in a cache by @StephenButtolph in https://github.com/luxfi/node/pull/1782
- Evict blocks based on size by @StephenButtolph in https://github.com/luxfi/node/pull/1766
- Add proposervm state metrics by @StephenButtolph in https://github.com/luxfi/node/pull/1785
- Register metercacher
lenmetric by @StephenButtolph in https://github.com/luxfi/node/pull/1791 - Reduce block cache sizes to 64 MiB by @StephenButtolph in https://github.com/luxfi/node/pull/1794
- Add p2p sdk by @joshua-kim in https://github.com/luxfi/node/pull/1799
Full Changelog: https://github.com/luxfi/node/compare/v1.10.5...v1.10.7
v1.10.5
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is updated to 27 all plugins must update to be compatible.
The first startup of the X-Chain will perform an indexing operation. This indexing runs in the background and does not impact restart time.
APIs
- Added
lux_network_clock_skew_summetric - Added
lux_network_clock_skew_countmetric
Configs
- Added
--tracing-headersto allow specifying headers to the tracing indexer
Fixes
- Fixed API handler crash for
lookupStateinprestatetracer - Fixed API handler crash for LOG edge cases in the
callTracer
What's Changed
- stop persisting rejected blocks on P-chain by @dhrubabasu in https://github.com/luxfi/node/pull/1696
- Ensure scripts/lint.sh failure when used with incompatible grep by @marun in https://github.com/luxfi/node/pull/1711
- sum peers clock skew into metric by @najeal in https://github.com/luxfi/node/pull/1695
- Make XVM implement
block.HeightIndexedChainVMby @dhrubabasu in https://github.com/luxfi/node/pull/1699 - ProposerVM nits by @abi87 in https://github.com/luxfi/node/pull/1688
- Sorting -- Remove old
IsSortedAndUnique, renameIsSortedAndUniqueSortabletoIsSortedAndUniqueby @danlaine in https://github.com/luxfi/node/pull/1666 - Update consensus consensus doc post X-chain linearization by @exdx in https://github.com/luxfi/node/pull/1703
merkledb/sync-- remove TODOs by @danlaine in https://github.com/luxfi/node/pull/1718- remove cache TODOs by @danlaine in https://github.com/luxfi/node/pull/1721
- Adjust
NewSizedCacheto take in a size function by @dhrubabasu in https://github.com/luxfi/node/pull/1725 - Wallet issuance to return tx instead of tx id by @felipemadero in https://github.com/luxfi/node/pull/1704
- Add support for providing tracing headers by @StephenButtolph in https://github.com/luxfi/node/pull/1727
- Only return accepted blocks in
GetStatelessBlockby @dhrubabasu in https://github.com/luxfi/node/pull/1724 - Proposermv fix goroutine leaks by @abi87 in https://github.com/luxfi/node/pull/1713
- Update warp msg format by @aaronbuchwald in https://github.com/luxfi/node/pull/1686
- Cleanup anr scripts by @ceyonur in https://github.com/luxfi/node/pull/1714
- remove TrackBandwidth from NetworkClient by @danlaine in https://github.com/luxfi/node/pull/1716
- Bump network start timeout by @marun in https://github.com/luxfi/node/pull/1730
- e2e: Ensure e2e.test is built with portable BLST by @marun in https://github.com/luxfi/node/pull/1734
- e2e: Increase all ANR timeouts to 2m to ensure CI reliability. by @marun in https://github.com/luxfi/node/pull/1733
New Contributors
- @exdx made their first contribution in https://github.com/luxfi/node/pull/1703
Full Changelog: https://github.com/luxfi/node/compare/v1.10.4...v1.10.5
v1.10.4
This version is backwards compatible to v1.10.0. It is optional, but encouraged.
The plugin version is unchanged at 26 and compatible with versions v1.10.1 - v1.10.3.
The first startup of the X-Chain will perform a pruning operation. This pruning runs in the background and does not impact restart time.
APIs
- Removed
lux_X_vm_lux_metervm_pending_txs_countmetric - Removed
lux_X_vm_lux_metervm_pending_txs_summetric - Removed
lux_X_vm_lux_metervm_get_tx_countmetric - Removed
lux_X_vm_lux_metervm_get_tx_summetric - Removed
lux_X_vm_lux_metervm_get_tx_err_countmetric - Removed
lux_X_vm_lux_metervm_get_tx_err_summetric
Configs
- Added
--staking-hostto allow binding only on a specific address for staking - Added
checksums-enabledto the X-chain and P-chain configs
Fixes
- Fixed
proposervmpreForkBlock.Status()response after the fork has occurred - Fixed C-chain logs collection error when no receipts occur in a block
- Fixed merkledb's
findNextKeywhen an empty end proof is provided - Fixed 0 length key issues with proof generation and verification
- Fixed Docker execution on non-amd64 architectures
What's Changed
- e2e: Support testing on MacOS without requiring firewall exceptions by @marun in https://github.com/luxfi/node/pull/1613
- Reduce resource log level by @StephenButtolph in https://github.com/luxfi/node/pull/1622
- Improve
consensus/tests withrequireby @dhrubabasu in https://github.com/luxfi/node/pull/1503 - Improve
x/tests withrequireby @dhrubabasu in https://github.com/luxfi/node/pull/1454 sync-- fixTestFindNextKeyRandomby @danlaine in https://github.com/luxfi/node/pull/1624- Improve
vms/tests withrequireby @dhrubabasu in https://github.com/luxfi/node/pull/1505 - Improve
database/tests withrequireby @dhrubabasu in https://github.com/luxfi/node/pull/1506 - Ban usage of
t.Fatalandt.Errorby @dhrubabasu in https://github.com/luxfi/node/pull/1453 - chore: fix typo in binary_consensusflake.go by @eltociear in https://github.com/luxfi/node/pull/1630
- Discriminate window fit err msg from overdelegated error msg by @felipemadero in https://github.com/luxfi/node/pull/1606
- Remove MaxConnectionAge gRPC StreamID overflow mitigation by @hexfusion in https://github.com/luxfi/node/pull/1388
- add fuzzing action by @danlaine in https://github.com/luxfi/node/pull/1635
- Remove dagState and GetUTXOFromID by @StephenButtolph in https://github.com/luxfi/node/pull/1632
- Update all XVM tests for post-linearization by @StephenButtolph in https://github.com/luxfi/node/pull/1631
- Remove PendingTxs from the DAGVM interface by @StephenButtolph in https://github.com/luxfi/node/pull/1641
- Remove GetTx from the DAGVM interface by @StephenButtolph in https://github.com/luxfi/node/pull/1642
- Bump geth v0.12.4 by @aaronbuchwald in https://github.com/luxfi/node/pull/1646
- [x/merkledb] Remove useless
errcheck by @patrick-ogrady in https://github.com/luxfi/node/pull/1650 - [x/merkledb] Trailing whitespace removal on README by @patrick-ogrady in https://github.com/luxfi/node/pull/1649
- Remove unneeded functions from UniqueTx by @StephenButtolph in https://github.com/luxfi/node/pull/1643
- Simplify tx verification by @StephenButtolph in https://github.com/luxfi/node/pull/1654
merkledb-- fixfindNextKeyby @danlaine in https://github.com/luxfi/node/pull/1653- Cleanup X-chain UniqueTx Dependencies by @StephenButtolph in https://github.com/luxfi/node/pull/1656
- Prune X-chain State by @coffeelux in https://github.com/luxfi/node/pull/1427
- Support building docker image on ARM64 by @dshiell in https://github.com/luxfi/node/pull/1103
- remove goreleaser by @danlaine in https://github.com/luxfi/node/pull/1660
- Fix Dockerfile on non amd64 platforms by @joshua-kim in https://github.com/luxfi/node/pull/1661
- Improve metrics error message by @StephenButtolph in https://github.com/luxfi/node/pull/1663
- Remove X-chain UniqueTx by @StephenButtolph in https://github.com/luxfi/node/pull/1662
- Add state checksums by @StephenButtolph in https://github.com/luxfi/node/pull/1658
- Modify proposervm window by @najeal in https://github.com/luxfi/node/pull/1638
- sorting nit by @danlaine in https://github.com/luxfi/node/pull/1665
merkledb-- rewrite and test range proof invariants; fix proof generation/veriifcation bugs by @danlaine in https://github.com/luxfi/node/pull/1629- Add minimum proposer window length by @StephenButtolph in https://github.com/luxfi/node/pull/1667
- CI -- only run fuzz tests on ubuntu by @danlaine in https://github.com/luxfi/node/pull/1636
MerkleDB-- remove codec version by @danlaine in https://github.com/luxfi/node/pull/1671MerkleDB-- use default config in all tests by @danlaine in https://github.com/luxfi/node/pull/1590sync-- reduce stuttering by @danlaine in https://github.com/luxfi/node/pull/1672Sync-- unexport field by @danlaine in https://github.com/luxfi/node/pull/1673sync-- nits and cleanup by @danlaine in https://github.com/luxfi/node/pull/1674sync-- remove unused code by @danlaine in https://github.com/luxfi/node/pull/1676- Mark preForkBlocks after the fork as Rejected by @StephenButtolph in https://github.com/luxfi/node/pull/1683
merkledb-- fix comment by @danlaine in https://github.com/luxfi/node/pull/1675MerkleDB-- document codec by @danlaine in https://github.com/luxfi/node/pull/1670sync-- client cleanup by @danlaine in https://github.com/luxfi/node/pull/1680- Update buf version to v1.23.1 by @aaronbuchwald in https://github.com/luxfi/node/pull/1685
New Contributors
- @eltociear made their first contribution in https://github.com/luxfi/node/pull/1630
- @felipemadero made their first contribution in https://github.com/luxfi/node/pull/1606
- @dshiell made their first contribution in https://github.com/luxfi/node/pull/1103
- @najeal made their first contribution in https://github.com/luxfi/node/pull/1638
Full Changelog: https://github.com/luxfi/node/compare/v1.10.3...v1.10.4
v1.10.3
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
lux_health_checks_failing{tag="TAG"}lux_liveness_checks_failing{tag="TAG"}lux_readiness_checks_failing{tag="TAG"}
- Removed P-chain VM percent connected metrics
lux_P_vm_percent_connectedlux_P_vm_percent_connected_chain{chainID="CHAINID"}
- Added percent connected metrics by chain
lux_{ChainID}_percent_connected
- Removed
lux_network_send_queue_portion_fullmetric
Configs
- Added
--http-allowed-hostswith a default value oflocalhost - Removed
--consensus-mixed-query-num-push-vdr - Removed
--consensus-mixed-query-num-push-non-vdr - Removed
minPercentConnectedStakeHealthyfrom the chain config
Fixes
- Fixed
platformvm.GetValidatorSetreturning 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 in https://github.com/luxfi/node/pull/1472- Bump Protobuf and tooling and add section to proto docs outlining buf publishing by @hexfusion in https://github.com/luxfi/node/pull/1552
- Minor pchain UTs cleanup by @abi87 in https://github.com/luxfi/node/pull/1554
- Add ping uptimes test by @ceyonur in https://github.com/luxfi/node/pull/1550
- Add workflow to mark stale issues and PRs by @joshua-kim in https://github.com/luxfi/node/pull/1443
- Enforce inlining functions with a single error return in
require.NoErrorby @dhrubabasu in https://github.com/luxfi/node/pull/1500 x/sync/x/merkledb-- addSyncableDBinterface by @danlaine in https://github.com/luxfi/node/pull/1555- Rename beacon to boostrapper, define bootstrappers in JSON file for cross-language compatibility by @gyuho in https://github.com/luxfi/node/pull/1439
- add P-chain height indexing by @dhrubabasu in https://github.com/luxfi/node/pull/1447
- Add P-chain
GetBlockByHeightAPI method by @dhrubabasu in https://github.com/luxfi/node/pull/1448 x/sync-- use for sending Range Proofs by @danlaine in https://github.com/luxfi/node/pull/1537- Add test to ensure that database packing produces sorted values by @StephenButtolph in https://github.com/luxfi/node/pull/1560
- Randomize unit test execution order to identify unwanted dependency by @marun in https://github.com/luxfi/node/pull/1565
- use
http.Errorinstead of separately writing error code and message by @danlaine in https://github.com/luxfi/node/pull/1564 - Adding allowed http hosts flag by @joshua-kim in https://github.com/luxfi/node/pull/1566
x/sync-- Use proto for sending Change Proofs by @danlaine in https://github.com/luxfi/node/pull/1541- Only send
PushQuerymessages after building the block by @joshua-kim in https://github.com/luxfi/node/pull/1428 - Rename APIAllowedOrigins to HTTPAllowedOrigins by @joshua-kim in https://github.com/luxfi/node/pull/1567
- Add GetBalance examples for the P-chain and X-chain wallets by @StephenButtolph in https://github.com/luxfi/node/pull/1569
- Reduce number of test iterations by @danlaine in https://github.com/luxfi/node/pull/1568
- Re-add upgrade tests by @StephenButtolph in https://github.com/luxfi/node/pull/1410
- Remove lists from Chits messages by @StephenButtolph in https://github.com/luxfi/node/pull/1412
- Add more X-chain tests by @coffeelux in https://github.com/luxfi/node/pull/1487
- fix typo by @meaghanfitzgerald in https://github.com/luxfi/node/pull/1570
- Reduce the number of test health checks by @StephenButtolph in https://github.com/luxfi/node/pull/1571
- Fix proposervm.GetAncestors test flake by @StephenButtolph in https://github.com/luxfi/node/pull/1572
- Remove list from AcceptedFrontier message by @StephenButtolph in https://github.com/luxfi/node/pull/1578
- Remove version db from merkle db in https://github.com/luxfi/node/pull/1534
MerkleDB-- add eviction batch size config by @danlaine in https://github.com/luxfi/node/pull/1586MerkleDB-- fixonEvictCache.Flushby @danlaine in https://github.com/luxfi/node/pull/1589- Revert P-Chain height index by @StephenButtolph in https://github.com/luxfi/node/pull/1591
x/sync-- AddSyncableDBproto by @danlaine in https://github.com/luxfi/node/pull/1559- Clarify break on error during ancestors lookup by @hexfusion in https://github.com/luxfi/node/pull/1580
- Add buf-push github workflow by @hexfusion in https://github.com/luxfi/node/pull/1556
- Pchain bls key diff fix by @abi87 in https://github.com/luxfi/node/pull/1584
- Cleanup fx interface compliance by @StephenButtolph in https://github.com/luxfi/node/pull/1599
- Improve metrics error msging by @anusha-ctrl in https://github.com/luxfi/node/pull/1598
- Separate health checks by tags by @StephenButtolph in https://github.com/luxfi/node/pull/1579
- Separate chain stake connected health and metrics from P-chain by @ceyonur in https://github.com/luxfi/node/pull/1358
- Merkle db iterator in https://github.com/luxfi/node/pull/1533
- Fix unreadable message errors by @morrisettjohn in https://github.com/luxfi/node/pull/1585
- Log unexpected errors during GetValidatorSet by @hexfusion in https://github.com/luxfi/node/pull/1592
merkleDB-- add inner heap type to syncWorkHeap by @danlaine in https://github.com/luxfi/node/pull/1582sync-- explain algorithm in readme by @danlaine in https://github.com/luxfi/node/pull/1600- Rename license header file to avoid unintended license indexing by @StephenButtolph in https://github.com/luxfi/node/pull/1608
merkledbandsync-- use time based rand seed by @danlaine in https://github.com/luxfi/node/pull/1607- add
local-prefixessetting forgoimportsby @dhrubabasu in https://github.com/luxfi/node/pull/1612 - consensus/engine/consensusman: instantiate voter after issuer by @gyuho in https://github.com/luxfi/node/pull/1610
- Update CodeQL to v2 by @StephenButtolph in https://github.com/luxfi/node/pull/1616
- Remove old networking metric by @StephenButtolph in https://github.com/luxfi/node/pull/1619
- Fix --http-host flag to support IPv6 by @StephenButtolph in https://github.com/luxfi/node/pull/1620
New Contributors
- @marun made their first contribution in https://github.com/luxfi/node/pull/1565
- @meaghanfitzgerald made their first contribution in https://github.com/luxfi/node/pull/1570
- @anusha-ctrl made their first contribution in https://github.com/luxfi/node/pull/1598
- @morrisettjohn made their first contribution in https://github.com/luxfi/node/pull/1585
Full Changelog: https://github.com/luxfi/node/compare/v1.10.2...v1.10.3
v1.10.2
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_filledmetric for all metered caches - Added resource metrics by process
lux_system_resources_num_cpu_cycleslux_system_resources_num_disk_read_byteslux_system_resources_num_disk_readslux_system_resources_num_disk_write_byteslux_system_resources_num_disk_writes
Configs
- Deprecated
--genesisin favor of--genesis-file - Deprecated
--genesis-contentin favor of--genesis-file-content - Deprecated
--inbound-connection-throttling-cooldownin favor of--network-inbound-connection-throttling-cooldown - Deprecated
--inbound-connection-throttling-max-conns-per-secin favor of--network-inbound-connection-throttling-max-conns-per-sec - Deprecated
--outbound-connection-throttling-rpsin favor of--network-outbound-connection-throttling-rps - Deprecated
--outbound-connection-timeoutin favor of--network-outbound-connection-timeout - Deprecated
--staking-enabledin favor of--sybil-protection-enabled - Deprecated
--staking-disabled-weightin favor of--sybil-protection-disabled-weight - Deprecated
--consensus-gossip-frequencyin favor of--consensus-accepted-frontier-gossip-frequency
Fixes
- Fixed
--network-compression-typeto correctly honor the requested compression type, rather than always using gzip - Fixed CPU metrics on macos
What's Changed
- use
requirelibrary functions in tests by @dhrubabasu in https://github.com/luxfi/node/pull/1451 - style nits in vm clients by @dhrubabasu in https://github.com/luxfi/node/pull/1449
- utils/logging: add "Enabled" method to remove redundant verbo logs by @gyuho in https://github.com/luxfi/node/pull/1461
- ban
require.EqualValuesby @dhrubabasu in https://github.com/luxfi/node/pull/1457 - chains: do not hold write chainsLock in health checks by @gyuho in https://github.com/luxfi/node/pull/1460
- remove zstd check by @dhrubabasu in https://github.com/luxfi/node/pull/1459
- use
require.IsTypefor type assertions in tests by @dhrubabasu in https://github.com/luxfi/node/pull/1458 - vms/platformvm/service: nits (preallocate address slice, error msg) by @gyuho in https://github.com/luxfi/node/pull/1477
- ban
require.NotEqualValuesby @dhrubabasu in https://github.com/luxfi/node/pull/1470 - use
requireinapiandutils/passwordpackages by @dhrubabasu in https://github.com/luxfi/node/pull/1471 - use "golang.org/x/term" as "golang.org/x/crypto/ssh/terminal" is deprecated by @gyuho in https://github.com/luxfi/node/pull/1464
- chains: move "msgChan" closer to the first use (readability) by @gyuho in https://github.com/luxfi/node/pull/1484
- ban function params for
require.ErrorIsby @dhrubabasu in https://github.com/luxfi/node/pull/1486 - standardize imports by @dhrubabasu in https://github.com/luxfi/node/pull/1466
- fix license header test by @dhrubabasu in https://github.com/luxfi/node/pull/1492
- use blank identifier for interface compliance by @dhrubabasu in https://github.com/luxfi/node/pull/1493
- codec: remove "SetMaxSize" from "Manager", remove unnecessary lock by @gyuho in https://github.com/luxfi/node/pull/1481
- config: disallow "ThrottlerConfig.MaxRecheckDelay" < 1 ms by @gyuho in https://github.com/luxfi/node/pull/1435
- ban
require.Equalwhen testing for0by @dhrubabasu in https://github.com/luxfi/node/pull/1495 - Clean up MerkleDVB Sync Close lock in https://github.com/luxfi/node/pull/1469
- MerkleDB Cleanup in https://github.com/luxfi/node/pull/1465
- Remove comment referencing old IP based tracking by @StephenButtolph in https://github.com/luxfi/node/pull/1509
- ban usage of
require.Lenwhen testing for length0by @dhrubabasu in https://github.com/luxfi/node/pull/1496 - ban usage of
require.Equalwhen testing for length by @dhrubabasu in https://github.com/luxfi/node/pull/1497 - ban usage of
nilin require functions by @dhrubabasu in https://github.com/luxfi/node/pull/1498 - Sized LRU cache by @abi87 in https://github.com/luxfi/node/pull/1517
- engine/consensusman: clean up some comments in "bubbleVotes" unit tests by @gyuho in https://github.com/luxfi/node/pull/1444
- consensus/networking/sender: add missing verbo check by @gyuho in https://github.com/luxfi/node/pull/1504
- Delete duplicate test var definitions by @StephenButtolph in https://github.com/luxfi/node/pull/1518
- utils/bag: print generic type for bag elements by @gyuho in https://github.com/luxfi/node/pull/1507
- Fix incorrect test refactor by @abi87 in https://github.com/luxfi/node/pull/1526
- Pchain validators repackaging by @abi87 in https://github.com/luxfi/node/pull/1284
- Config overhaul by @ceyonur in https://github.com/luxfi/node/pull/1370
- rename enabled staking to sybil protection enabled by @ceyonur in https://github.com/luxfi/node/pull/1441
- Fix network compression type flag usage by @StephenButtolph in https://github.com/luxfi/node/pull/1532
- Deprecate uptimes in pong message by @ceyonur in https://github.com/luxfi/node/pull/1362
- Add CPU cycles and number of disk read/write metrics by pid by @coffeelux in https://github.com/luxfi/node/pull/1334
- Fetch process resource stats as best-effort by @StephenButtolph in https://github.com/luxfi/node/pull/1543
- Add serialization tests for transactions added in Banff by @StephenButtolph in https://github.com/luxfi/node/pull/1513
- Log chain shutdown duration by @StephenButtolph in https://github.com/luxfi/node/pull/1545
- add interface for MerkleDB by @danlaine in https://github.com/luxfi/node/pull/1519
New Contributors
- @gyuho made their first contribution in https://github.com/luxfi/node/pull/1461
- @coffeelux made their first contribution in https://github.com/luxfi/node/pull/1334
Full Changelog: https://github.com/luxfi/node/compare/v1.10.1...v1.10.2
v1.10.1
This version is backwards compatible to v1.10.0. It is optional, but encouraged. The supported plugin version is 26.
APIs
- Enabled
xvm.getBlockByHeightto take inheightas a string - Added IDs to json formats
platform.getTxnow includesidin thetxresponseplatform.getBlocknow includesidin theblockresponse and in the internaltxfieldsxvm.getTxnow includesidin thetxresponsexvm.getBlocknow includesidin theblockresponse and in the internaltxfieldsxvm.getBlockByHeightnow includesidin theblockresponse and in the internaltxfields
- Removed
xvm.issueStopVertex - Fixed
walletmethods to correctly allow issuance of dependent transactions after the X-chain linearization - Added
validatorOnlyflag inplatform.getStake - Removed all lux consensus metrics
- Fixed
msgHandlingTimemetrics
Configs
- Removed
--consensus-lux-num-parents - Removed
--consensus-lux-batch-size
Fixes
- Fixed panic when restarting partially completed X-chain consensusman bootstrapping
- Fixed
--network-allow-private-ipshandling to correctly prevent outbound connections to private IP ranges - Fixed UniformSampler to support sampling numbers between MaxInt64 and MaxUint64
- Fixed data race in txID access during transaction gossip in the XVM
What's Changed
- Add benchmark for gRPC GetValidatorSet by @hexfusion in https://github.com/luxfi/node/pull/1326
- Add checks for database being closed in merkledb; other nits by @danlaine in https://github.com/luxfi/node/pull/1333
- Update linkedhashmap to only Rlock when possible in https://github.com/luxfi/node/pull/1329
- Remove no-op changes from history results in https://github.com/luxfi/node/pull/1335
- Cleanup type assertions in the linkedHashmap by @StephenButtolph in https://github.com/luxfi/node/pull/1341
- Fix racy xvm tx access by @StephenButtolph in https://github.com/luxfi/node/pull/1349
- Update Testnet beacon ips by @StephenButtolph in https://github.com/luxfi/node/pull/1354
- Remove duplicate TLS verification by @StephenButtolph in https://github.com/luxfi/node/pull/1364
- Adjust Merkledb Trie invalidation locking in https://github.com/luxfi/node/pull/1355
- Use require in Lux bootstrapping tests by @StephenButtolph in https://github.com/luxfi/node/pull/1344
- Add Proof size limit to sync client in https://github.com/luxfi/node/pull/1269
- Add stake priority helpers by @StephenButtolph in https://github.com/luxfi/node/pull/1375
- add contribution file by @joshua-kim in https://github.com/luxfi/node/pull/1373
- Remove max sample value by @StephenButtolph in https://github.com/luxfi/node/pull/1374
- Prefetch rpcdb iterator batches by @StephenButtolph in https://github.com/luxfi/node/pull/1323
- Temp fix for flaky Sync Test in https://github.com/luxfi/node/pull/1378
- Update merkle cache to be FIFO instead of LRU in https://github.com/luxfi/node/pull/1353
- Improve cost of BLS key serialization for gRPC by @hexfusion in https://github.com/luxfi/node/pull/1343
- [Issue-1368]: Panic in serializedPath.HasPrefix in https://github.com/luxfi/node/pull/1371
- Add ValidatorsOnly flag to GetStake by @StephenButtolph in https://github.com/luxfi/node/pull/1377
- Use proto in
x/syncby @danlaine in https://github.com/luxfi/node/pull/1336 - Update incorrect testnet beacon IPs by @StephenButtolph in https://github.com/luxfi/node/pull/1392
- Update
api/error handling by @StephenButtolph in https://github.com/luxfi/node/pull/1393 - refactor concurrent work limiting in sync in
x/syncby @danlaine in https://github.com/luxfi/node/pull/1347 - Remove check for impossible condition in
x/syncby @danlaine in https://github.com/luxfi/node/pull/1348 - Improve
codec/error handling by @StephenButtolph in https://github.com/luxfi/node/pull/1396 - Improve
config/error handling by @StephenButtolph in https://github.com/luxfi/node/pull/1397 - Improve
genesis/error handling by @StephenButtolph in https://github.com/luxfi/node/pull/1398 - Improve various error handling locations by @StephenButtolph in https://github.com/luxfi/node/pull/1399
- Improve
utils/error handling by @StephenButtolph in https://github.com/luxfi/node/pull/1400 - Improve consensus error handling by @StephenButtolph in https://github.com/luxfi/node/pull/1401
- Improve secp256k1fx + merkledb error handling by @StephenButtolph in https://github.com/luxfi/node/pull/1402
- Ban usage of require.Error by @StephenButtolph in https://github.com/luxfi/node/pull/1346
- Remove slice capacity hint in
x/syncby @danlaine in https://github.com/luxfi/node/pull/1350 - Simplify
syncWorkHeapless function inx/syncby @danlaine in https://github.com/luxfi/node/pull/1351 - Replace
switchwithtxs.Visitorin X chain signer by @dhrubabasu in https://github.com/luxfi/node/pull/1404 - Include IDs in json marshalling by @StephenButtolph in https://github.com/luxfi/node/pull/1408
- Adjust find next key logic in x/Sync in https://github.com/luxfi/node/pull/1331
- Remove bitmask from writeMsgLen by @StephenButtolph in https://github.com/luxfi/node/pull/1342
- Require
txIDs in PeerList messages by @StephenButtolph in https://github.com/luxfi/node/pull/1411 - Allow dependent tx issuance over the wallet API by @StephenButtolph in https://github.com/luxfi/node/pull/1413
- Add support for proto
message.Txdecoding by @danlaine in https://github.com/luxfi/node/pull/1332 - Remove lux bootstrapping -> lux consensus transition by @StephenButtolph in https://github.com/luxfi/node/pull/1345
- Benchmark get canonical validator set by @aaronbuchwald in https://github.com/luxfi/node/pull/1417
- Simplify IP status calculation by @StephenButtolph in https://github.com/luxfi/node/pull/1421
- Honor AllowPrivateIPs config by @StephenButtolph in https://github.com/luxfi/node/pull/1422
- Update BLS signature ordering to avoid public key compression by @StephenButtolph in https://github.com/luxfi/node/pull/1416
- Remove DAG based consensus by @StephenButtolph in https://github.com/luxfi/node/pull/1359
- Remove IssueStopVertex message by @StephenButtolph in https://github.com/luxfi/node/pull/1419
- Fix msgHandlingTime by @StephenButtolph in https://github.com/luxfi/node/pull/1432
- Change ChangeProofs to only have one list of key/value change instead of key/values and deleted in https://github.com/luxfi/node/pull/1385
- Update AMI generation workflow by @charlie-ava in https://github.com/luxfi/node/pull/1289
- Support
heightas a string inxvm.getBlockByHeightby @StephenButtolph in https://github.com/luxfi/node/pull/1437 - Defer Consensusman Bootstrapper parser initialization to Start by @StephenButtolph in https://github.com/luxfi/node/pull/1442
- Cleanup proposervm ancestors packing @StephenButtolph in https://github.com/luxfi/node/pull/1446
New Contributors
- @hexfusion made their first contribution in https://github.com/luxfi/node/pull/1326
Full Changelog: https://github.com/luxfi/node/compare/v1.10.0...v1.10.1
v1.10.0
This upgrade linearizes the X-chain, introduces delegation batching to the P-chain, and increases the maximum block size on the C-chain.
The changes in the upgrade go into effect at 11 AM ET, April 25th 2023 on Mainnet.
All Mainnet nodes should upgrade before 11 AM ET, April 25th 2023.
The supported plugin version is 25.
What's Changed
- Add CODEOWNERS for the x/ package by @StephenButtolph in https://github.com/luxfi/node/pull/1260
- Feature Spec Template by @richardpringle in https://github.com/luxfi/node/pull/1258
- Standardize CI triggers by @StephenButtolph in https://github.com/luxfi/node/pull/1265
- special case no sent/received message in network health check by @ceyonur in https://github.com/luxfi/node/pull/1263
- Fix bug template by @StephenButtolph in https://github.com/luxfi/node/pull/1268
- Replace
flagsusage withpflagsby @danlaine in https://github.com/luxfi/node/pull/1270 - Fixed grammatical errors in
README.mdby @krakxn in https://github.com/luxfi/node/pull/1102 - Add tests for race conditions in merkledb by @kyl27 in https://github.com/luxfi/node/pull/1256
- Add P-chain indexer API example by @StephenButtolph in https://github.com/luxfi/node/pull/1271
- use
requireinconsensus/choicestests by @dhrubabasu in https://github.com/luxfi/node/pull/1279 - use
requireinutils/wrapperstests by @dhrubabasu in https://github.com/luxfi/node/pull/1280 - add support for tracking delegatee rewards to validator metadata by @dhrubabasu in https://github.com/luxfi/node/pull/1273
- defer delegatee rewards until end of validator staking period by @dhrubabasu in https://github.com/luxfi/node/pull/1262
- Initialize UptimeCalculator in TestPeer by @joshua-kim in https://github.com/luxfi/node/pull/1283
- Add Lux liveness health checks by @StephenButtolph in https://github.com/luxfi/node/pull/1287
- Skip AMI generation with Testnet tags by @StephenButtolph in https://github.com/luxfi/node/pull/1288
- Use
maps.Equalinset.Equalsby @danlaine in https://github.com/luxfi/node/pull/1290 - return accrued delegator rewards in
GetCurrentValidatorsby @dhrubabasu in https://github.com/luxfi/node/pull/1291 - Add zstd compression by @danlaine in https://github.com/luxfi/node/pull/1278
- implement
txs.Visitorin X chain wallet by @dhrubabasu in https://github.com/luxfi/node/pull/1299 - Parallelize gzip compression by @StephenButtolph in https://github.com/luxfi/node/pull/1293
- Add zip bomb tests by @StephenButtolph in https://github.com/luxfi/node/pull/1300
- Gossip Lux frontier after the linearization by @StephenButtolph in https://github.com/luxfi/node/pull/1303
- Add fine grained metrics+logging for handling, processing, and grab l… by @aaronbuchwald in https://github.com/luxfi/node/pull/1301
- Persist stateless block in XVM state by @StephenButtolph in https://github.com/luxfi/node/pull/1305
- Initialize FxID fields in GetBlock and GetBlockByHeight by @StephenButtolph in https://github.com/luxfi/node/pull/1306
- Filterable Health Tags by @ceyonur in https://github.com/luxfi/node/pull/1304
- increase health await timeout by @ceyonur in https://github.com/luxfi/node/pull/1317
- Expose GetEngineManager from the chain Handler by @StephenButtolph in https://github.com/luxfi/node/pull/1316
- Add BLS benchmarks by @StephenButtolph in https://github.com/luxfi/node/pull/1318
- Encode codec version in merkledb by @danlaine in https://github.com/luxfi/node/pull/1313
- Expose consensus-app-concurrency by @StephenButtolph in https://github.com/luxfi/node/pull/1322
- Adjust Logic In Merkle DB History in https://github.com/luxfi/node/pull/1310
- Fix Concurrency Bug In CommitToParent in https://github.com/luxfi/node/pull/1320
- Cleanup goroutines on health.Stop by @StephenButtolph in https://github.com/luxfi/node/pull/1325
New Contributors
- @richardpringle made their first contribution in https://github.com/luxfi/node/pull/1258
- @ceyonur made their first contribution in https://github.com/luxfi/node/pull/1263
- @krakxn made their first contribution in https://github.com/luxfi/node/pull/1102
- @kyl27 made their first contribution in https://github.com/luxfi/node/pull/1256
- @dhrubabasu made their first contribution in https://github.com/luxfi/node/pull/1279
- @joshua-kim made their first contribution in https://github.com/luxfi/node/pull/1283
- @dboehm-avalabs made their first contribution in https://github.com/luxfi/node/pull/1310
Full Changelog: https://github.com/luxfi/node/compare/v1.9.16...v1.10.0
v1.9.16
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24.
- Removed unnecessary repoll after rejecting vertices
- Improved consensusstorm lookup error handling
- Removed rejected vertices from the Lux frontier more aggressively
- Reduced default health check values for processing decisions
v1.9.15
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24.
- Fixed
x/merkledb.ChangeProof#getLargestKeyto correctly handle no changes - Added test for
xvm/txs/executor.SemanticVerifier#verifyFxUsagewith multiple valid fxs - Fixed CPU + bandwidth performance regression during vertex processing
- Added example usage of the
/v1/index/X/blockAPI - Reduced the default value of
--consensus-optimal-processingfrom50to10 - Updated the year in the license header
v1.9.14
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24.
v1.9.13
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24.
v1.9.12
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24.
Networking
- Removed linger setting on P2P connections
- Improved error message when failing to calculate peer uptimes
- Removed
EngineTypefrom P2P response messages - Added context cancellation during dynamic IP updates
- Reduced the maximum P2P reconnect delay from 1 hour to 1 minute
Consensus
- Added support to switch from
Luxconsensus toConsensusmanconsensus - Added support for routing consensus messages to either
LuxorConsensusmanconsensus on the same chain - Removed usage of deferred evaluation of the
handler.Consensusin theLuxOnFinishedcallback - Dropped inbound
Luxconsensus messages after switching toConsensusmanconsensus - Renamed the
LuxVM metrics prefix fromlux_{chainID}_vm_tolux_{chainID}_vm_lux - Replaced
consensusanddecisiondispatchers withblock,tx, andvertexdispatchers - Removed
Luxbootstrapping restarts during the switch toConsensusmanconsensus
XVM
- Added
xvmblock execution manager - Added
xvmblock builder - Refactored
xvmtransaction syntactic verification - Refactored
xvmtransaction semantic verification - Refactored
xvmtransaction execution - Added
xvmmempool gossip - Removed block timer interface from
xvmmempool - Moved
toEnginechannel into thexvmmempool - Added
GetUTXOFromIDto thexvmstate.Chaininterface - Added unpopulated
MerkleRoottoxvmblocks - Added
xvmtransaction based metrics - Replaced error strings with error interfaces in the
xvmmempool
PlatformVM
- Added logs when the local nodes stake amount changes
- Moved
platformvmmessagepackage intocomponents - Replaced error strings with error interfaces in the
platformvmmempool
Warp
- Added
IDmethod towarp.UnsignedMessage - Improved
warp.Signatureverification error descriptions
Miscellaneous
- Improved
merkledblocking to allow concurrent read access throughtrieViews - Fixed
Banfftransaction signing with ledger when using the wallet - Emitted github artifacts after successful builds
- Added non-blocking bounded queue
- Converted the
x.Parserhelper to be ablock.Parserinterface from atx.Parserinterface
Cleanup
- Separated dockerhub image publishing from the kurtosis test workflow
- Exported various errors to use in testing
- Removed the
vms/components/statepackage - Replaced ad-hoc linked hashmaps with the standard data-structure
- Removed
usr/local/lib/luxfrom deb packages - Standardized usage of
constants.UnitTestID
Examples
- Added P-chain
RemoveNetValidatorTxexample using the wallet - Added X-chain
CreateAssetTxexample using the wallet
Configs
- Added support to specify
HTTPserver timeouts--http-read-timeout--http-read-header-timeout--http-write-timeout--http-idle-timeout
APIs
- Added
xvmblock APIsxvm.getBlockxvm.getBlockByHeightxvm.getHeight
- Converted
xvmAPIs to only surface accepted state - Deprecated all
ipcsAPIsipcs.publishBlockchainipcs.unpublishBlockchainipcs.getPublishedBlockchains
- Deprecated all
keystoreAPIskeystore.createUserkeystore.deleteUserkeystore.listUserskeystore.importUserkeystore.exportUser
- Deprecated the
xvm/pubsubAPI endpoint - Deprecated various
xvmAPIsxvm.getAddressTxsxvm.getBalancexvm.getAllBalancesxvm.createAssetxvm.createFixedCapAssetxvm.createVariableCapAssetxvm.createNFTAssetxvm.createAddressxvm.listAddressesxvm.exportKeyxvm.importKeyxvm.mintxvm.sendNFTxvm.mintNFTxvm.importxvm.exportxvm.sendxvm.sendMultiple
- Deprecated the
xvm/walletAPI endpointwallet.issueTxwallet.sendwallet.sendMultiple
- Deprecated various
platformvmAPIsplatform.exportKeyplatform.importKeyplatform.getBalanceplatform.createAddressplatform.listAddressesplatform.getNetsplatform.addValidatorplatform.addDelegatorplatform.addNetValidatorplatform.createNetplatform.exportLUXplatform.importLUXplatform.createBlockchainplatform.getBlockchainsplatform.getStakeplatform.getMaxStakeAmountplatform.getRewardUTXOs
- Deprecated the
stakefield in theplatform.getTotalStakeresponse in favor ofweight
v1.9.11
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24.
Plugins
- Removed error from
logging.NoLog#Write - Added logging to the static VM factory usage
- Fixed incorrect error being returned from
subprocess.Bootstrap
Ledger
- Added ledger tx parsing support
MerkleDB
- Added explicit consistency guarantees when committing multiple
merkledb.trieViews to disk at once - Removed reliance on premature root calculations for
merkledb.trieViewvalidity tracking - Updated
x/merkledb/README.md
v1.9.10
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 24.
MerkleDB
- Removed parent tracking from
merkledb.trieView - Removed
basecaches frommerkledb.trieView - Fixed error handling during
merkledbintermediate node eviction - Replaced values larger than
32bytes with a hash in themerkledbhash representation
XVM
- Refactored
xvmAPI tx creation into a standaloneSpenderimplementation - Migrated UTXO interfaces from the
platformvminto thecomponentsfor use in thexvm - Refactored
xvmtx.SyntacticVerifyto expect the config rather than the fee fields
Miscellaneous
- Updated the minimum golang version to
v1.19.6 - Fixed
rpcchainvmsignal handling to only shutdown upon receipt ofSIGTERM - Added
warp.Signature#NumSignersfor better cost tracking support - Added
consensus.Context#PublicKeyto provide access to the local node's BLS public key inside the VM execution environment - Renamed Lux consensus metric prefix to
lux_{chainID}_lux - Specified an explicit TCP
Lingertimeout of15seconds - Updated the
secp256k1library tov4.1.0
Cleanup
- Removed support for the
--whitelisted-chainsflag - Removed unnecessary abstractions from the
apppackage - Removed
Factoryembedding fromplatformvm.VMandxvm.VM - Removed
validatorpackage from theplatformvm - Removed
timer.TimeoutManager - Replaced
consensus.ContextinFactory.Newwithlogging.Logger - Renamed
set.Bits#LentoBitLenandset.Bits#HammingWeighttoLento align withset.Bits64
v1.9.9
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 23.
Note: The --whitelisted-chains flag was deprecated in v1.9.6. This is the last release in which it will be supported. Use --track-chains instead.
Monitoring
- Added warning when the P2P server IP is private
- Added warning when the HTTP server IP is potentially publicly reachable
- Removed
merkledb.trieView#calculateIDstracing when no recalculation is needed
Databases
- Capped the number of goroutines that
merkledb.trieView#calculateIDsConcurrentwill create - Removed
nodbpackage - Refactored
Batchimplementations to share common code - Added
Batch.Replayinvariant tests - Converted to use
requirein alldatabaseinterface tests
Cryptography
- Moved the
secp256k1implementations to a newsecp256k1package out of thecryptopackage - Added
rfc6979compliance tests to thesecp256k1signing implementation - Removed unused cryptography implementations
ed25519,rsa, andrsapss - Removed unnecessary cryptography interfaces
crypto.Factory,crypto.RecoverableFactory,crypto.PublicKey, andcrypto.PrivateKey - Added verification when parsing
secp256k1public keys to ensure usage of the compressed format
API
- Removed delegators from
platform.getCurrentValidatorsunless a singlenodeIDis requested - Added
delegatorCountanddelegatorWeightto the validators returned byplatform.getCurrentValidators
Documentation
- Improved documentation on the
block.WithVerifyRuntimeinterface - Fixed
--public-ipand--public-ip-resolution-serviceCLI flag descriptions - Updated
README.mdto explicitly referenceSECURITY.md
Geth
- Enabled state sync by default when syncing from an empty database
- Increased block gas limit to 15M for
CortinaNetwork Upgrade - Added back file tracer endpoint
- Added back JS tracer
Miscellaneous
- Added
allowedNodesto the chain config forvalidatorOnlychains - Removed the
hashicorp/go-plugindependency to improve plugin flexibility - Replaced specialized
bagimplementations with genericbagimplementations - Added
mempoolpackage to thexvm - Added
chain.State#IsProcessingto simplify integration withblock.WithVerifyRuntime - Added
StateSyncMinVersiontosync.ClientConfig - Added validity checks for
InitialStakeDurationin a custom network genesis - Removed unnecessary reflect call when marshalling an empty slice
Cleanup
- Renamed
teleporterpackage towarp - Replaced
boolflags in P-chain state diffs with anenum - Refactored chain configs to more closely align between the primary network and chains
- Simplified the
utxo.Spenderinterface - Removed unused field
common.Config#Validators
v1.9.8
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 22.
Networking
- Added TCP proxy support for p2p network traffic
- Added p2p network client utility for directly messaging the p2p network
Consensus
- Guaranteed delivery of App messages to the VM, regardless of sync status
- Added
EngineTypeto Runtime
MerkleDB - Alpha
- Added initial implementation of a path-based merkle-radix tree
- Added initial implementation of state sync powered by the merkledb
APIs
- Updated
platform.getCurrentValidatorsto returnuptimeas a percentage - Updated
platform.get*Validatorsto avoid iterating over the staker set when requesting specific nodeIDs - Cached staker data in
platform.get*Validatorsto significantly reduce DB IO - Added
stakeAmountandweightto all staker responses in P-chain APIs - Deprecated
stakeAmountin staker responses from P-chain APIs - Removed
creationTxFeefrominfo.GetTxFeeResponse - Removed
addressfromplatformvm.GetBalanceRequest
Fixes
- Fixed
RemoveNetValidatorTxweight diff corruption - Released network lock before attempting to close a peer connection
- Fixed X-Chain last accepted block initialization to use the genesis block, not the stop vertex after linearization
- Removed plugin directory handling from AMI generation
- Removed copy of plugins directory from tar script
Cleanup
- Removed unused rpm packaging scripts
- Removed engine dependency from chain registrants
- Removed unused field from chain handler log
- Linted custom test
chains.Manager - Used generic btree implementation
- Deleted
utils.CopyBytes - Updated rjeczalik/notify from v0.9.2 to v0.9.3
Miscellaneous
- Added XVM
state.Chaininterface - Added generic atomic value utility
- Added test for the AMI builder during RCs
- Converted cache implementations to use generics
- Added optional cache eviction callback
v1.9.7
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 22.
Fixes
- Fixed chain validator lookup regression
v1.9.6
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 22.
Consensus
- Added
StateSyncModeto the return ofStateSummary#Acceptto support syncing chain state while tracking the chain as a light client - Added
AcceptedFrontiertoChitsmessages - Reduced unnecessary confidence resets during consensus by applying
AcceptedFrontiers duringQueryFailedhandling - Added EngineType for consensus messages in the p2p message definitions
- Updated
vertex.DAGVMinterface to support linearization
Configs
- Added
--plugin-dirflag. The default value is[DATADIR]/plugins - Removed
--build-dirflag. The location of the node binary is no longer considered when looking for thepluginsdirectory. Net maintainers should ensure that their node is able to properly discover plugins, as the default location is likely changed. See--plugin-dir - Changed the default value of
--api-keystore-enabledtofalse - Added
--track-chainsflag as a replacement of--whitelisted-chains
Fixes
- Fixed NAT-PMP router discovery and port mapping
- Fixed
--staking-enabled=falsesetting to correctly start chain chains and report healthy - Fixed message logging in the consensus handler
VMs
- Populated non-trivial logger in the
rpcchainvmServer'sconsensus.Context - Updated
rpcchainvmproto definitions to use enums - Added
Blockformat and definition to theXVM - Removed
proposervmheight index reset
Metrics
- Added
lux_network_peer_connected_duration_averagemetric - Added
lux_api_calls_processingmetric - Added
lux_api_callsmetric - Added
lux_api_calls_durationmetric
Documentation
- Added wallet example to create
stakeable.LockOutoutputs - Improved ubuntu deb install instructions
Miscellaneous
- Updated ledger-lux to v0.6.5
- Added linter to ban the usage of
fmt.Errorfwithout format directives - Added
Listto thebuffer#Dequeinterface - Added
Indexto thebuffer#Dequeinterface - Added
SetLevelto theLoggerinterface - Updated
authAPI to use the newjwtstandard
v1.9.5
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 21.
Net Messaging
- Added chain message serialization format
- Added chain message signing
- Replaced
bls.SecretKeywith ateleporter.Signerin theconsensus.Context - Moved
SNLookupinto thevalidators.Stateinterface to support non-whitelisted chainID to chainID lookups - Added support for non-whitelisted chainIDs for fetching the validator set at a given height
- Added chain message verification
- Added
teleporter.AnycastIDto denote a chain message not intended for a specific chain
Fixes
- Added re-gossip of updated validator IPs
- Fixed
rpcchainvm.BatchedParseBlockto correctly wrap returned blocks - Removed incorrect
uintptrhandling in the generic codec - Removed message latency tracking on messages being sent to itself
Geth
- Added support for eth_call over VM2VM messaging
- Added config flags for tx pool behavior
Miscellaneous
- Added networking package README.md
- Removed pagination of large db messages over gRPC
- Added
Sizeto the generic codec to reduce allocations - Added
UnpackLimitedBytesandUnpackLimitedStrto the manual packer - Added SECURITY.md
- Exposed proposer list from the
proposervm'sWindowerinterface - Added health and bootstrapping client helpers that block until the node is healthy
- Moved bit sets from the
idspackage to thesetpackage - Added more wallet examples
v1.9.4
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 20.
This version modifies the db format. The db format is compatible with v1.9.3, but not v1.9.2 or earlier. After running a node with v1.9.4 attempting to run a node with a version earlier than v1.9.3 may report a fatal error on startup.
PeerList Gossip Optimization
- Added gossip tracking to the
peerinstance to only gossip newIPs to a connection - Added
PeerListAckmessage to report whichTxIDs provided by thePeerListmessage were tracked - Added
TxIDs to thePeerListmessage to unique-ify nodeIDs across validation periods - Added
TxIDmappings to the gossip tracker
Validator Set Tracking
- Renamed
GetValidatorstoGeton thevalidators.Managerinterface - Removed
Set,AddWeight,RemoveWeight, andContainsfrom thevalidators.Managerinterface - Added
Addto thevalidators.Managerinterface - Removed
Setfrom thevalidators.Setinterface - Added
AddandGetto thevalidators.Setinterface - Modified
validators.Set#Sampleto returnids.NodeIDrather thanvaldiators.Validator - Replaced the
validators.Validatorinterface with a struct - Added a
BLSpublic key field tovalidators.Validator - Added a
TxIDfield tovalidators.Validator - Improved and documented error handling within the
validators.Setinterface - Added
BLSpublic keys to the result ofGetValidatorSet - Added
BuildBlockWithRuntimeas an optional VM method to build blocks at a specific P-chain height - Added
VerifyWithRuntimeas an optional block method to verify blocks at a specific P-chain height
Uptime Tracking
- Added ConnectedNet message handling to the chain handler
- Added NetConnector interface and implemented it in the platformvm
- Added chain uptimes to p2p
pongmessages - Added chain uptimes to
platform.getCurrentValidators - Added
chainIDas an argument toinfo.Uptime
Fixes
- Fixed incorrect context cancellation of escaped contexts from grpc servers
- Fixed race condition between API initialization and shutdown
- Fixed race condition between NAT traversal initialization and shutdown
- Fixed race condition during beacon connection tracking
- Added race detection to the E2E tests
- Added additional message and sender tests
Geth
- Improved header and logs caching using maximum accepted depth cache
- Added config option to perform database inspection on startup
- Added configurable transaction indexing to reduce disk usage
- Added special case to allow transactions using Nick's Method to bypass API level replay protection
- Added counter metrics for number of accepted/processed logs
APIs
- Added indices to the return values of
GetLastAcceptedandGetContainerByIDon theindexerAPI client - Removed unnecessary locking from the
infoAPI
Chain Data
- Added
ChainDataDirto theconsensus.Contextto allow blockchains to canonically access disk outside node's database - Added
--chain-data-diras a CLI flag to specify the base directory for allChainDataDirs
Miscellaneous
- Removed
Versionfrom thepeer.Networkinterface - Removed
Pongfrom thepeer.Networkinterface - Reduced memory allocations inside the system throttler
- Added
CChainIDto theconsensus.Context - Converted all sorting to utilize generics
- Converted all set management to utilize generics
v1.9.3
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 19.
Tracing
- Added
context.Contextto allVMinterface functions - Added
context.Contextto thevalidators.Stateinterface - Added additional message fields to
tracedRouter#HandleInbound - Added
tracedVMimplementations forblock.ChainVMandvertex.DAGVM - Added
tracedStateimplementation forvalidators.State - Added
tracedHandlerimplementation forhttp.Handler - Added
tracedConsensusimplementations forconsensusman.Consensusandlux.Consensus
Fixes
- Fixed incorrect
NodeIDused in registeredAppRequesttimeouts - Fixed panic when calling
encdb#NewBatchafterencdb#Close - Fixed panic when calling
prefixdb#NewBatchafterprefixdb#Close
Configs
- Added
proposerMinBlockDelaysupport to chain configs - Added
providedFlagsfield to theinitializing nodefor easily observing custom node configs - Added
--chain-aliases-fileand--chain-aliases-file-contentCLI flags - Added
--proposervm-use-current-heightCLI flag
Geth
- Added metric for number of processed and accepted transactions
- Added wait for state sync goroutines to complete on shutdown
- Increased go-ethereum dependency to v1.10.26
- Increased soft cap on transaction size limits
- Added back isForkIncompatible checks for all existing forks
- Cleaned up Apricot Phase 6 code
Linting
- Added
unused-receiverlinter - Added
unused-parameterlinter - Added
useless-breaklinter - Added
unhandled-errorlinter - Added
unexported-naminglinter - Added
struct-taglinter - Added
bool-literal-in-exprlinter - Added
early-returnlinter - Added
empty-lineslinter - Added
error-lintlinter
Testing
- Added
scripts/build_fuzz.shand initial fuzz tests - Added additional
Fxtests - Added additional
messageQueuetests - Fixed
vmRegisterertests
Documentation
- Documented
Database.Putinvariant forniland empty slices - Documented node's versioning scheme
- Improved
vm.protodocs
Miscellaneous
- Added peer gossip tracker
- Added
lux_P_vm_time_until_unstakeandlux_P_vm_time_until_unstake_chainmetrics - Added
keychain.NewLedgerKeychainFromIndices - Removed usage of
Temporaryerror handling afterlistener#Accept - Removed
Parametersfrom allConsensusinterfaces - Updated
lux-network-runnertov1.3.0 - Added
ids.BigBitSetto extendids.BitSet64for arbitrarily large sets - Added support for parsing future chain uptime tracking data to the P-chain's state implementation
- Increased validator set cache size
- Added
lux.UTXOIDFromStringhelper for managingUTXOIDs more easily
v1.9.2
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 19.
Geth
- Added trie clean cache journaling to disk to improve processing time after restart
- Fixed regression where a snapshot could be marked as stale by the async acceptor during block processing
- Added fine-grained block processing metrics
RPCChainVM
- Added
validators.Stateto the rpcchainvm server'sconsensus.Context - Added
rpcProtocolVersionto the output ofinfo.getNodeVersion - Added
rpcchainvmprotocol version to the output of the--versionflag - Added
version.RPCChainVMProtocolCompatibilitymap to easily compare plugin compatibility against node versions
Builds
- Downgraded
ubunturelease binaries fromjammytofocal - Updated macos github runners to
macos-12 - Added workflow dispatch to build release binaries
BLS
- Added bls proof of possession to
platform.getCurrentValidatorsandplatform.getPendingValidators - Added bls public key to in-memory staker objects
- Improved memory clearing of bls secret keys
Cleanup
- Fixed issue where the chain manager would attempt to start chain creation multiple times
- Fixed race that caused the P-chain to finish bootstrapping before the primary network finished bootstrapping
- Converted inbound message handling to expect usage of types rather than maps of fields
- Simplified the
validators.Setimplementation - Added a warning if synchronous consensus messages take too long
v1.9.1
This version is backwards compatible to v1.9.0. It is optional, but encouraged. The supported plugin version is 18.
Features
- Added cross-chain messaging support to the VM interface
- Added Ledger support to the Primary Network wallet
- Converted Bionic builds to Jammy builds
- Added
mock.gen.shto programmatically generate mock implementations - Added BLS signer to the
consensus.Context - Moved
basefromrpc.NewEndpointRequesterto be included in themethodinSendRequest - Converted
UnboundedQueuetoUnboundedDeque
Observability
- Added support for OpenTelemetry tracing
- Converted periodic bootstrapping status update to be time-based
- Removed duplicated fields from the json format of the node config
- Configured min connected stake health check based on the consensus parameters
- Added new consensus metrics
- Documented how chain time is advanced in the PlatformVM with
chain_time_update.md
Cleanup
- Converted chain creation to be handled asynchronously from the P-chain's execution environment
- Removed
SetLingerusage of P2P TCP connections - Removed
Banffupgrade flow - Fixed ProposerVM inner block caching after verification
- Fixed PlatformVM mempool verification to use an updated chain time
- Removed deprecated CLI flags:
--dynamic-update-duration,--dynamic-public-ip - Added unexpected Put bytes tests to the Lux and Consensusman consensus engines
- Removed mockery generated mock implementations
- Converted safe math functions to use generics where possible
- Added linting to prevent usage of
assertin unit tests - Converted empty struct usage to
nilfor interface compliance checks - Added CODEOWNERs to own first rounds of PR review
v1.9.0
This upgrade adds support for creating Proof-of-Stake Nets.
This version is not backwards compatible. The changes in the upgrade go into effect at 12 PM EDT, October 18th 2022 on Mainnet.
All Mainnet nodes should upgrade before 12 PM EDT, October 18th 2022.
The supported plugin version is 17.
Upgrades
- Activated P2P serialization format change to Protobuf
- Activated non-LUX
ImportTx/ExportTxs to/from the P-chain - Activated
Banff*blocks on the P-chain - Deactivated
Apricot*blocks on the P-chain - Activated
RemoveNetValidatorTxs on the P-chain - Activated
TransformNetTxs on the P-chain - Activated
AddPermissionlessValidatorTxs on the P-chain - Activated
AddPermissionlessDelegatorTxs on the P-chain - Deactivated ANT
ImportTx/ExportTxs on the C-chain - Deactivated ANT precompiles on the C-chain
Deprecations
- Ubuntu 18.04 releases are deprecated and will not be provided for
>=v1.9.1
Miscellaneous
- Fixed locked input signing in the P-chain wallet
- Removed assertions from the logger interface
- Removed
--assertions-enabledflag - Fixed typo in
--bootstrap-max-time-get-ancestorsflag - Standardized exported P-Chain codec usage
- Improved isolation and execution of the E2E tests
- Updated the linked hashmap implementation to use generics
v1.8.6
This version is backwards compatible to v1.8.0. It is optional, but encouraged. The supported plugin version is 16.
BLS
- Added BLS key file at
--staking-signer-key-file - Exposed BLS proof of possession in the
info.getNodeIDAPI - Added BLS proof of possession to
AddPermissionlessValidatorTxs for the Primary Network
The default value of --staking-signer-key-file is ~/.node/staking/signer.key. If the key file doesn't exist, it will be populated with a new key.
Networking
- Added P2P proto support to be activated in a future release
- Fixed inbound bandwidth spike after leaving the validation set
- Removed support for
ChitsV2messages - Removed
ContainerIDs fromPutandPushQuerymessages - Added
pending_timeoutsmetric to track the number of active timeouts a node is tracking - Fixed overflow in gzip decompression
- Optimized memory usage in
peer.MessageQueue
Miscellaneous
- Fixed bootstrapping ETA metric
- Removed unused
unknown_txs_countmetric - Replaced duplicated code with generic implementations
Geth
- Added failure reason to bad block API
v1.8.5
Please upgrade your node as soon as possible.
The supported plugin version is 16.
Fixes
- Fixed stale block reference by evicting blocks upon successful verification
Geth
- Removed check for Apricot Phase6 incompatible fork to unblock nodes that did not upgrade ahead of the activation time
v1.8.4
Please upgrade your node as soon as possible.
The supported plugin version is 16.
Caching
- Added temporarily invalid block caching to reduce repeated network requests
- Added caching to the proposervm's inner block parsing
Geth
- Reduced the log level of
BAD BLOCKs fromERRORtoDEBUG - Deprecated Native Asset Call
v1.8.2
Please upgrade your node as soon as possible.
The changes in v1.8.x go into effect at 4 PM EDT on September 6th, 2022 on both Testnet and Mainnet. You should upgrade your node before the changes go into effect, otherwise they may experience loss of uptime.
The supported plugin version is 16.
Geth
- Fixed live-lock in bootstrapping, after performing state-sync, by properly reporting
database.ErrNotFoundinGetBlockIDAtHeightrather than a formatted error - Increased the log level of
BAD BLOCKs fromDEBUGtoERROR - Fixed typo in Chain Config
Stringfunction
v1.8.1
Please upgrade your node as soon as possible.
The changes in v1.8.x go into effect at 4 PM EDT on September 6th, 2022 on both Testnet and Mainnet. You should upgrade your node before the changes go into effect, otherwise they may experience loss of uptime.
The supported plugin version is 16.
Miscellaneous
- Reduced the severity of not quickly connecting to bootstrap nodes from
FATALtoWARN
Geth
- Reduced the log level of
BAD BLOCKs fromERRORtoDEBUG - Added Apricot Phase6 to Chain Config
Stringfunction
v1.8.0
This is a mandatory security upgrade. Please upgrade your node as soon as possible.
The changes in the upgrade go into effect at 4 PM EDT on September 6th, 2022 on both Testnet and Mainnet. You should upgrade your node before the changes go into effect, otherwise they may experience loss of uptime.
You may see some extraneous ERROR logs ("BAD BLOCK") on your node after upgrading. These may continue until the Apricot Phase 6 activation (at 4 PM EDT on September 6th).
The supported plugin version is 16.
PlatformVM APIs
- Fixed
GetBlockAPI when requesting the encoding asjson - Changed the json key in
AddNetValidatorTxs fromchaintochainID - Added multiple asset support to
getBalance - Updated
PermissionlessValidators returned fromgetCurrentValidatorsandgetPendingValidatorsto includevalidationRewardOwneranddelegationRewardOwner - Deprecated
rewardOwnerinPermissionlessValidators returned fromgetCurrentValidatorsandgetPendingValidators - Added
chainIDargument togetCurrentSupply - Added multiple asset support to
getStake - Added
chainIDargument togetMinStake
PlatformVM Structures
- Renamed existing blocks
ProposalBlock->ApricotProposalBlockAbortBlock->ApricotAbortBlockCommitBlock->ApricotCommitBlockStandardBlock->ApricotStandardBlockAtomicBlock->ApricotAtomicBlock
- Added new block types to be enabled in a future release
BlueberryProposalBlock- Introduces a
Timefield and an unusedTxsfield before the remainingApricotProposalBlockfields
- Introduces a
BlueberryAbortBlock- Introduces a
Timefield before the remainingApricotAbortBlockfields
- Introduces a
BlueberryCommitBlock- Introduces a
Timefield before the remainingApricotCommitBlockfields
- Introduces a
BlueberryStandardBlock- Introduces a
Timefield before the remainingApricotStandardBlockfields
- Introduces a
- Added new transaction types to be enabled in a future release
RemoveNetValidatorTx- Can be included into
BlueberryStandardBlocks - Allows a chain owner to remove a validator from their chain
- Can be included into
TransformNetTx- Can be included into
BlueberryStandardBlocks - Allows a chain owner to convert their chain into a permissionless chain
- Can be included into
AddPermissionlessValidatorTx- Can be included into
BlueberryStandardBlocks - Adds a new validator to the requested permissionless chain
- Can be included into
AddPermissionlessDelegatorTx- Can be included into
BlueberryStandardBlocks - Adds a new delegator to the requested permissionless validator on the requested chain
- Can be included into
PlatformVM Block Building
- Fixed race in
AdvanceTimeTxcreation to avoid unnecessary block construction - Added
block_formation_logic.mdto describe how blocks are created - Refactored
BlockBuilderintoApricotBlockBuilder - Added
BlueberryBlockBuilder - Added
OptionBlockbuilder visitor - Refactored
Mempoolissuance and removal logic to use transaction visitors
PlatformVM Block Execution
- Added support for executing
AddValidatorTx,AddDelegatorTx, andAddNetValidatorTxinside of aBlueberryStandardBlock - Refactored time advancement into a standard state modification structure
- Refactored
ProposalTxExecutorto abstract state diff creation - Standardized upgrade checking rules
- Refactored chain authorization checking
Wallet
- Added support for new transaction types in the P-chain wallet
- Fixed fee amounts used in the Primary Network wallet to reduce unnecessary fee burning
Networking
- Defined
p2p.prototo be used for future network messages - Added
--network-tls-key-log-file-unsafeto support inspecting p2p messages - Added
lux_network_accept_failedmetrics to track networkingAccepterrors
Miscellaneous
- Removed reserved fields from proto files and renumbered the existing fields
- Added generic dynamically resized ring buffer
- Updated gRPC version to
v1.49.0to fix non-deterministic errors reported in therpcchainvm - Removed
--signature-verification-enabledflag - Removed dead code
ids.QueueSettimer.Repeatertimer.NewStagedTimertimer.TimedMeter
Geth
- Incorrectly deprecated Native Asset Call
- Migrated to go-ethereum v1.10.23
- Added API to fetch Chain Config
v1.7.18
This version is backwards compatible to v1.7.0. It is optional, but encouraged. The supported plugin version is 15.
Fixes
- Fixed bug in
codeToFetchdatabase accessors that caused an error when starting/stopping state sync - Fixed rare BAD BLOCK errors during C-chain bootstrapping
- Fixed platformvm
couldn't get preferred block statelog due to attempted block building during bootstrapping - Fixed platformvm
failed to fetch next staker to rewarderror log due to an incorrectlastAcceptedIDreference - Fixed AWS AMI creation
PlatformVM
- Refactored platformvm metrics handling
- Refactored platformvm block creation
- Introduced support to prevent empty nodeID use on the P-chain to be activated in a future upgrade
Geth
- Updated gas price estimation to limit lookback window based on block timestamps
- Added metrics for processed/accepted gas
- Simplified syntactic block verification
- Ensured statedb errors during block processing are logged
- Removed deprecated gossiper/block building logic from pre-Apricot Phase 4
- Added marshal function for duration to improve config output
Miscellaneous
- Updated local network genesis to use a newer start time
- Updated minimum golang version to go1.18.1
- Removed support for RocksDB
- Bumped go-ethereum version to v1.10.21
- Added various additional tests
- Introduced additional database invariants for all database implementations
- Added retries to windows CI installations
- Removed useless ID aliasing during chain creation
v1.7.17
This version is backwards compatible to v1.7.0. It is optional, but encouraged. The supported plugin version is 15.
VMs
- Refactored P-chain block state management
- Supporting easier parsing and usage of blocks
- Improving separation of block execution with block definition
- Unifying state definitions
- Introduced support to send custom X-chain assets to the P-chain to be activated in a future upgrade
- Introduced support to use custom assets on the P-chain to be activated in a future upgrade
- Added VMs README to begin fully documenting plugin invariants
- Added various comments around expected usages of VM tools
Geth
- Added optional JSON logging
- Added interface for supporting stateful precompiles
- Removed legacy code format from the database
Fixes
- Fixed ungraceful gRPC connection closure during very long running requests
- Fixed LevelDB panic during shutdown
- Fixed verification of
--stake-max-consumption-rateto include the upper-bound - Fixed various CI failures
- Fixed flaky unit tests
Miscellaneous
- Added bootstrapping ETA metrics
- Converted all logs to support structured fields
- Improved Consensusman++ oracle block verification error messages
- Removed deprecated or unused scripts
v1.7.16
This version is backwards compatible to v1.7.0. It is optional, but encouraged. The supported plugin version is 15.
LevelDB
- Fix rapid disk growth by manually specifying the maximum manifest file size
v1.7.15
This version is backwards compatible to v1.7.0. It is optional, but encouraged. The supported plugin version is 15.
PlatformVM
- Replaced copy-on-write validator set data-structure to use tree diffs to optimize validator set additions
- Replaced validation transactions with a standardized representation to remove transaction type handling
- Migrated transaction execution to its own package
- Removed child pointers from processing blocks
- Added P-chain wallet helper for providing initial transactions
Geth
- Bumped go-ethereum dependency to v1.10.20
- Updated API names used to enable services in
eth-apiconfig flag. Prior names are supported but deprecated, please update configurations accordingly - Optimized state sync by parallelizing trie syncing
- Added
eth_syncingAPI for compatibility. Note: This API is only accessible after bootstrapping and always returns"false", since the node will no longer be syncing at that point - Added metrics to the atomic transaction mempool
- Added metrics for incoming/outgoing mempool gossip
Fixes
- Updated Consensusman and Lux consensus engines to report original container preferences before processing the provided container
- Fixed inbound message byte throttler context cancellation cleanup
- Removed case sensitivity of IP resolver services
- Added failing health check when a whitelisted chain fails to initialize a chain
Miscellaneous
- Added gRPC client metrics for dynamically created connections
- Added uninitialized continuous time averager for when initial predictions are unreliable
- Updated linter version
- Documented various platform invariants
- Cleaned up various dead parameters
- Improved various tests
v1.7.14
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
APIs
These API format changes are breaking changes. https://api.lux.network and https://api.lux-test.network have been updated with this format. If you are using Lux Node APIs in your code, please ensure you have updated to the latest versions. See https://docs.lux.network/apis/node/cb58-deprecation for details about the CB58 removal.
- Removed
CB58as an encoding option from all APIs - Added
HexCandHexNCas encoding options for all APIs that accept an encoding format - Removed the
Successresponse from all APIs - Replaced
containerIDwithidin the indexer API
PlatformVM
- Fixed incorrect
P-chainheight inConsensusman++when staking is disabled - Moved
platformvmtransactions to be defined in a sub-package - Moved
platformvmgenesis management to be defined in a sub-package - Moved
platformvmstate to be defined in a sub-package - Standardized
platformvmtransactions to always be referenced via pointer - Moved the
platformvmtransaction builder to be defined in a sub-package - Fixed uptime rounding during node shutdown
Geth
- Bumped go-ethereum dependency to v1.10.18
- Parallelized state sync code fetching
Networking
- Updated
ConnectedandDisconnectedmessages to only be sent to chains if the peer is tracking the chain - Updated the minimum TLS version on the p2p network to
v1.3 - Supported context cancellation in the networking rate limiters
- Added
ChitsV2message format for the p2p network to be used in a future upgrade
Miscellaneous
- Fixed
--public-ip-resolution-frequencyinvalid overwrite of the resolution service - Added additional metrics to distinguish between virtuous and rogue currently processing transactions
- Suppressed the super cool
nodebanner whenstdoutis not directed to a terminal - Updated linter version
- Improved various comments and documentation
- Standardized primary network handling across chain maps
v1.7.13
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
State Sync
- Added peer bandwidth tracking to optimize
gethstate sync message routing - Fixed
gethleaf request handler bug to ensure the handler delivers a valid range proof - Removed redundant proof keys from
gethleafs response message format - Improved
gethstate sync request retry logic - Improved
gethstate sync handler metrics - Improved
gethstate sync ETA - Added
lux_{chainID}_handler_async_expiredmetric
Miscellaneous
- Fixed
platform.getCurrentValidatorsAPI to correctly mark a node as connected to itself on chains. - Fixed
platform.getBlockchainStatusto correctly reportUnknownfor blockchains that are not managed by theP-Chain - Added process metrics by default in the
rpcchainvm#Server - Added
Databasehealth checks - Removed the deprecated
Database.Statcall from therpcdb#Server - Added fail fast logic to duplicated Consensusman additions to avoid undefined behavior
- Added additional testing around Consensusman diverged voting tests
- Deprecated
--dynamic-update-durationand--dynamic-public-ipCLI flags - Added
--public-ip-resolution-frequencyand--public-ip-resolution-serviceto replace--dynamic-update-durationand--dynamic-public-ip, respectively
v1.7.12
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
State Sync
- Fixed proposervm state summary acceptance to only accept state summaries with heights higher than the locally last accepted block
- Fixed proposervm state summary serving to only respond to requests after height indexing has finished
- Improved C-chain state sync leaf request serving by optimistically reading leaves from snapshot
- Refactored C-chain state sync block fetching
Networking
- Reduced default peerlist and accepted frontier gossiping
- Increased the default at-large outbound buffer size to 32 MiB
Metrics
- Added leveldb metrics
- Added process and golang metrics for the node binary
- Added available disk space health check
- Ensured that the disk space will not be fully utilized by shutting down the node if there is a critically low amount of free space remaining
- Improved C-chain state sync metrics
Performance
- Added C-chain acceptor queue within
core/blockchain.go - Removed rpcdb locking when committing batches and using iterators
- Capped C-chain TrieDB dirties cache size during block acceptance to reduce commit size at 4096 block interval
Cleanup
- Refactored the xvm to utilize the external txs package
- Unified platformvm dropped tx handling
- Clarified consensusman child block acceptance calls
- Fixed small consensus typos
- Reduced minor duplicated code in consensus
- Moved the platformvm key factory out of the VM into the test file
- Removed unused return values from the timeout manager
- Removed weird json rpc private interface
- Standardized json imports
- Added vm factory interface checks
v1.7.11
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
The first startup of the C-Chain will cause an increase in CPU and IO usage due to an index update. This index update runs in the background and does not impact restart time.
State Sync
- Added state syncer engine to facilitate VM state syncing, rather than full historical syncing
- Added
GetStateSummaryFrontier,StateSummaryFrontier,GetAcceptedStateSummary,AcceptedStateSummaryas P2P messages - Updated
Ancestorsmessage specification to expect an empty response if the container is unknown - Added
--state-sync-ipsand--state-sync-idsflags to allow manual overrides of which nodes to query for accepted state summaries - Updated networking library to permanently track all manually tracked peers, rather than just beacons
- Added state sync support to the
metervm - Added state sync support to the
proposervm - Added state sync support to the
rpcchainvm - Added beta state sync support to
geth
ProposerVM
- Prevented rejected blocks from overwriting the
proposervmheight index - Optimized
proposervmblock rewind to utilize the height index if available - Ensured
proposervmheight index is marked as repaired inInitializeif it is fully repaired on startup - Removed
--reset-proposervm-height-index. The height index will be reset upon first restart - Optimized
proposervmheight index resetting to periodically flush deletions
Bug Fixes
- Fixed IPC message issuance and restructured consensus event callbacks to be checked at compile time
- Fixed
gethmetrics initialization - Fixed bootstrapping startup logic to correctly startup if initially connected to enough stake
- Fixed
gethpanic during metrics collection - Fixed panic on concurrent map read/write in P-chain wallet SDK
- Fixed
rpcchainvmpanic by sanitizing http response codes - Fixed incorrect JSON tag on
platformvm.BaseTx - Fixed
AppRequest,AppResponse, andAppGossipstringers used in logging
API/Client
- Supported client implementations pointing to non-standard URIs
- Introduced
ids.NodeIDtype to standardize logging and simplify API service and client implementations - Changed client implementations to use standard types rather than
strings wherever possible - Added
chainIDas an argument toplatform.getTotalStake - Added
connectedto the chain validators in responses toplatform.getCurrentValidatorsandplatform.getPendingValidators - Add missing
adminAPI client methods - Improved
indexerAPI client implementation to avoid encoding edge cases
Networking
- Added
--consensus-mixed-query-num-push-vdrand--consensus-mixed-query-num-push-non-vdrto allow parameterization of sending push queries- By default, non-validators now send only pull queries, not push queries.
- By default, validators now send both pull queries and push queries upon inserting a container into consensus. Previously, nodes sent only push queries.
- Added metrics to track the amount of over gossiping of
peerlistmessages - Added custom message queueing support to outbound
Peermessages - Reused
Pingmessages to avoid needless memory allocations
Logging
- Replaced Lux Node's internal logger with uber-go/log.
- Replaced Lux Node's log rotation with lumberjack.
- Renamed
log-display-highlighttolog-formatand addedjsonoption. - Added
log-rotater-max-size,log-rotater-max-files,log-rotater-max-age,log-rotater-compress-enabledoptions for log rotation.
Miscellaneous
- Added
--data-dirflag to easily move all default file locations to a custom location - Standardized RPC specification of timestamp fields
- Logged health checks whenever a failing health check is queried
- Added callback support for the validator set manager
- Increased
gethtrie tip buffer size to 32 - Added CPU usage metrics for Lux Node and all sub-processes
- Added Disk IO usage metrics for Lux Node and all sub-processes
Cleanup
- Refactored easily separable
platformvmfiles into separate smaller packages - Simplified default version parsing
- Fixed various typos
- Converted some structs to interfaces to better support mocked testing
- Refactored IP utils
Documentation
- Increased recommended disk size to 1 TB
- Updated issue template
- Documented additional
consensusman.Blockinvariants
v1.7.10
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
Networking
- Improved vertex and block gossiping for validators with low stake weight.
- Added peers metric by chain.
- Added percentage of stake connected metric by chain.
APIs
- Added support for specifying additional headers and query params in the RPC client implementations.
- Added static API clients for the
platformvmand thexvm.
PlatformVM
- Introduced time based windowing of accepted P-chain block heights to ensure that local networks update the proposer list timely in the
proposervm. - Improved selection of decision transactions from the mempool.
RPCChainVM
- Increased
bufversion tov1.3.1. - Migrated all proto definitions to a dedicated
/protofolder. - Removed the dependency on the non-standard grpc broker to better support other language implementations.
- Added grpc metrics.
- Added grpc server health checks.
Geth
- Fixed a bug where a deadlock on shutdown caused historical re-generation on restart.
- Added an API endpoint to fetch the current VM Config.
- Added Lux Node custom log formatting to the logs.
- Removed support for the JS Tracer.
Logging
- Added piping of chain logs to stdout.
- Lazily initialized logs to avoid opening files that are never written to.
- Added support for arbitrarily deleted log files while node is running.
- Removed redundant logging configs.
Miscellaneous
- Updated minimum go version to
v1.17.9. - Added chain bootstrapping health checks.
- Supported multiple tags per codec instantiation.
- Added minor fail-fast optimization to string packing.
- Removed dead code.
- Fixed typos.
- Simplified consensus engine
Shutdownnotification dispatching. - Removed
Sleepcall in the inbound connection throttler.
v1.7.9
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
Updates
- Improved chain gossip to only send messages to nodes participating in that chain.
- Fixed inlined VM initialization to correctly register static APIs.
- Added logging for file descriptor limit errors.
- Removed dead code from network packer.
- Improved logging of invalid hash length errors.
v1.7.8
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
Networking
- Fixed duplicate reference decrease when closing a peer.
- Freed allocated message buffers immediately after sending.
- Added
--network-peer-read-buffer-sizeand--network-peer-write-buffer-sizeconfig options. - Moved peer IP signature verification to enable concurrent verifications.
- Reduced the number of connection flushes when sending messages.
- Canceled outbound connection requests on shutdown.
- Reused dialer across multiple outbound connections.
- Exported
NewTestNetworkfor easier external testing.
Geth
- Reduced log level of snapshot regeneration logs.
- Enabled atomic tx replacement with higher gas fees.
- Parallelized trie index re-generation.
Miscellaneous
- Fixed incorrect
BlockchainIDusage in the X-chainImportTxbuilder. - Fixed incorrect
OutputOwnersin the P-chainImportTxbuilder. - Improved FD limit error logging and warnings.
- Rounded bootstrapping ETAs to the nearest second.
- Added gossip config support to the chain configs.
- Optimized various queue removals for improved memory freeing.
- Added a basic X-chain E2E usage test to the new testing framework.
v1.7.7
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
Networking
- Refactored the networking library to track potential peers by nodeID rather than IP.
- Separated peer connections from the mesh network implementation to simplify testing.
- Fixed duplicate
Connectedmessages bug. - Supported establishing outbound connections with peers reporting different inbound and outbound IPs.
Database
- Disabled seek compaction in leveldb by default.
GRPC
- Increased protocol version, this requires all plugin definitions to update their communication dependencies.
- Merged services to be served using the same server when possible.
- Implemented a fast path for simple HTTP requests.
- Removed duplicated message definitions.
- Improved error reporting around invalid plugins.
Geth
- Optimized FeeHistory API.
- Added protection to prevent accidental corruption of archival node trie index.
- Added capability to restore complete trie index on best effort basis.
- Rounded up fastcache sizes to utilize all mmap'd memory in chunks of 64MB.
Configs
- Removed
--inbound-connection-throttling-max-recent - Renamed
--network-peer-list-sizeto--network-peer-list-num-validator-ips - Removed
--network-peer-list-gossip-size - Removed
--network-peer-list-staker-gossip-fraction - Added
--network-peer-list-validator-gossip-size - Added
--network-peer-list-non-validator-gossip-size - Removed
--network-get-version-timeout - Removed
--benchlist-peer-summary-enabled - Removed
--peer-alias-timeout
Miscellaneous
- Fixed error reporting when making Lux chains that did not manually specify a primary alias.
- Added beacon utils for easier programmatic handling of beacon nodes.
- Resolved the default log directory on initialization to avoid additional error handling.
- Added support to the chain state module to specify an arbitrary new accepted block.
v1.7.6
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
Consensus
- Introduced a new vertex type to support future
Luxbased network upgrades. - Added pending message metrics to the chain message queues.
- Refactored event dispatchers to simplify dependencies and remove dead code.
PlatformVM
- Added
jsonencoding option to theplatform.getTxcall. - Added
platform.getBlockAPI. - Cleaned up block building logic to be more modular and testable.
Geth
- Increased
FeeHistorymaximum historical limit to improve MetaMask UI on the C-Chain. - Enabled chain state metrics.
- Migrated go-ethereum v1.10.16 changes.
Miscellaneous
- Added the ability to load new VM plugins dynamically.
- Implemented X-chain + P-chain wallet that can be used to build and sign transactions. Without providing a full node private keys.
- Integrated e2e testing to the repo to avoid maintaining multiple synced repos.
- Fixed
proposervmheight indexing check to correctly mark the indexer as repaired. - Introduced message throttling overrides to be used in future improvements to reliably send messages.
- Introduced a cap on the client specified request deadline.
- Increased the default
leveldbopen files limit to1024. - Documented the
leveldbconfigurations. - Extended chain shutdown timeout.
- Performed various cleanup passes.
v1.7.5
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
Consensus
- Added asynchronous processing of
App.*messages. - Added height indexing support to the
proposervmandrpcchainvm. If a node is updated to>=v1.7.5and then downgraded to<v1.7.5, the user must enable the--reset-proposervm-height-index=trueflag to ensure theproposervmheight index is correctly updated going forward. - Fixed bootstrapping job counter initialization that could cause negative ETAs to be reported.
- Fixed incorrect processing check that could log incorrect information.
- Removed incorrect warning logs.
Miscellaneous
- Added tracked chains to be reported in calls to the
info.peersAPI. - Updated gRPC implementations to use
buftooling and standardized naming and locations. - Added a consistent hashing implementation to be used in future improvements.
- Fixed database iteration invariants to report
ErrClosedrather than silently exiting. - Added additional sanity checks to prevent users from incorrectly configuring their node.
- Updated log timestamps to include milliseconds.
Geth
- Added beta support for offline pruning.
- Refactored peer networking layer.
- Enabled cheap metrics by default.
- Marked RPC call metrics as expensive.
- Added Abigen support for native asset call precompile.
- Fixed bug in BLOCKHASH opcode during traceBlock.
- Fixed bug in handling updated chain config on startup.
v1.7.4
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
The first startup of the C-Chain will take a few minutes longer due to an index update.
Consensus
- Removed deprecated Consensusstorm consensus implementation that no longer aligned with the updated specification.
- Updated bootstrapping logs to no longer reset counters after a node restart.
- Added bootstrapping ETAs for fetching Consensusman blocks and executing operations.
- Renamed the
MultiPutmessage to theAncestorsmessage to match other message naming conventions. - Introduced Whitelist conflicts into the Consensusstorm specification that will be used in future X-chain improvements.
- Refactored the separation between the Bootstrapping engine and the Consensus engine to support Fast-Sync.
Geth
- Added an index mapping height to the list of accepted atomic operations at that height in a trie. Generating this index will cause the node to take a few minutes longer to startup the C-Chain for the first restart.
- Updated Geth dependency to
v1.10.15. - Updated
networkIDto matchchainID.
VMs
- Refactored
platformvmrewards calculations to enable usage from an external library. - Fixed
platformvmandxvmUTXO fetching to not re-iterate the UTXO set if no UTXOs are fetched. - Refactored
platformvmstatus definitions. - Added support for multiple address balance lookups in the
platformvm. - Refactored
platformvmandxvmkeystore users to reuse similar code.
RPCChainVM
- Returned a
500 InternalServerErrorif an unexpected gRPC error occurs during the handling of an HTTP request to a plugin. - Updated gRPC server's max message size to enable responses larger than 4MiB from the plugin's handling of an HTTP request.
Configs
- Added
--stake-max-consumption-ratewhich defaults to120,000. - Added
--stake-min-consumption-ratewhich defaults to100,000. - Added
--stake-supply-capwhich defaults to720,000,000,000,000,000nLUX. - Renamed
--bootstrap-multiput-max-containers-sentto--bootstrap-ancestors-max-containers-sent. - Renamed
--bootstrap-multiput-max-containers-receivedto--bootstrap-ancestors-max-containers-received. - Enforced that
--staking-enabled=falsecan not be specified on public networks (TestnetandMainnet).
Metrics
- All
multi_putmetrics were converted toancestorsmetrics.
Miscellaneous
- Improved
corruptabledberror reporting by tracking the first reported error. - Updated CPU tracking to use the proper EWMA tracker rather than a linear approximation.
- Separated health checks into
readiness,healthiness, andlivenesschecks to support more fine-grained monitoring. - Refactored API client utilities to use a
Contextrather than an explicit timeout.
v1.7.3
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
Consensus
- Introduced a notion of vertex conflicts that will be used in future X-chain improvements.
Geth
- Added an index mapping height to the list of accepted atomic transactions at that height. Generating this index will cause the node to take approximately 2 minutes longer to startup the C-Chain for the first restart.
- Fixed bug in base fee estimation API that impacted custom defined networks.
- Decreased minimum transaction re-gossiping interval from 1s to 500ms.
- Removed websocket handler from the static vm APIs.
Database
- Reduced lock contention in
prefixDBs.
Networking
- Increase the gossip size from
6to10validators. - Prioritized
ConnectedandDisconnectedmessages in the message handler.
Miscellaneous
- Notified VMs of peer versions on
Connected. - Fixed acceptance broadcasting over IPC.
- Fixed 32-bit architecture builds for Lux Node (not Geth).
v1.7.2
This version is backwards compatible to v1.7.0. It is optional, but encouraged.
Geth
- Fixed memory leak in the estimate gas API.
- Reduced the default RPC gas limit to 50,000,000 gas.
- Improved RPC logging.
- Removed pre-AP5 legacy code.
PlatformVM
- Optimized validator set change calculations.
- Removed storage of non-decided blocks.
- Simplified error handling.
- Removed pre-AP5 legacy code.
Networking
- Explicitly fail requests with responses that failed to be parsed.
- Removed pre-AP5 legacy code.
Configs
- Introduced the ability for a delayed graceful node shutdown.
- Added the ability to take all configs as environment variables for containerized deployments.
Utils
- Fixed panic bug in logging library when importing from external projects.
v1.7.1
This update is backwards compatible with v1.7.0. Please see the expected update times in the v1.7.0 release.
Geth
- Reduced fee estimate volatility.
Consensus
- Fixed vote bubbling for unverified block chits.
v1.7.0
This upgrade adds support for issuing multiple atomic transactions into a single block and directly transferring assets between the P-chain and the C-chain.
The changes in the upgrade go into effect at 1 PM EST, December 2nd 2021 on Mainnet. One should upgrade their node before the changes go into effect, otherwise they may experience loss of uptime.
All nodes should upgrade before 1 PM EST, December 2nd 2021.
Networking
- Added peer uptime reports as metrics.
- Removed IP rate limiting over local networks.
PlatformVM
- Enabled
AtomicTxs to be issued intoStandardBlocks and deprecatedAtomicBlocks. - Added the ability to export/import LUX to/from the C-chain.
Geth
- Enabled multiple
AtomicTxs to be issued per block. - Added the ability to export/import LUX to/from the P-chain.
- Updated dynamic fee calculations.
ProposerVM
- Removed storage of undecided blocks.
RPCChainVM
- Added support for metrics to be reported by plugin VMs.
Configs
- Removed
--consensus-epoch-first-transitionandconsensus-epoch-durationas command line arguments.
v1.6.5
This version is backwards compatible to v1.6.0. It is optional, but encouraged.
Bootstrapping
- Drop inbound messages to a chain if that chain is in the execution phase of bootstrapping.
- Print beacon nodeIDs upon failure to connect to them.
Metrics
- Added
lux_{ChainID}_bootstrap_finished, which is 1 if the chain is done bootstrapping, 0 otherwise.
APIs
- Added
info.uptimeAPI call that attempts to report the network's view of the local node. - Added
observedUptimeto each peer's result ininfo.peers.
Network
- Added reported uptime to pong messages to be able to better track a local node's uptime as viewed by the network.
- Refactored request timeout registry to avoid a potential race condition.
v1.6.4
This version is backwards compatible to v1.6.0. It is optional, but encouraged.
Config
- Added flag
throttler-inbound-bandwidth-refill-rate, which specifies the max average inbound bandwidth usage of a peer. - Added flag
throttler-inbound-bandwidth-max-burst-size, which specifies the max inbound bandwidth usage of a peer.
Networking
- Updated peerlist gossiping to use the same mechanism as other gossip calls.
- Added inbound message throttling based on recent bandwidth usage.
Metrics
- Updated
lux_{ChainID}_handler_gossip_{count,sum}tolux_{ChainID}_handler_gossip_request_{count,sum}. - Updated
lux_{ChainID}_lat_get_accepted_{count,sum}tolux_{ChainID}_lat_accepted_{count,sum}. - Updated
lux_{ChainID}_lat_get_accepted_frontier_{count,sum}tolux_{ChainID}_lat_accepted_frontier_{count,sum}. - Updated
lux_{ChainID}_lat_get_ancestors_{count,sum}tolux_{ChainID}_lat_multi_put_{count,sum}. - Combined
lux_{ChainID}_lat_pull_query_{count,sum}andlux_{ChainID}_lat_push_query_{count,sum}tolux_{ChainID}_lat_chits_{count,sum}. - Added
lux_{ChainID}_app_response_{count,sum}. - Added
lux_network_bandwidth_throttler_inbound_acquire_latency_{count,sum} - Added
lux_network_bandwidth_throttler_inbound_awaiting_acquire - Added
lux_P_vm_votes_won - Added
lux_P_vm_votes_lost
Indexer
- Added method
GetContainerByIDto client implementation. - Client methods now return
[]byterather thanstringrepresentations of a container.
C-Chain
- Updated Geth dependency to 1.10.11.
- Added a new admin API for updating the log level and measuring performance.
- Added a new
--allow-unprotected-txsflag to allow issuance of transactions without EIP-155 replay protection.
Net & Custom VMs
- Ensured that all possible chains are run in
--staking-enabled=falsenetworks.
Historical Version Tags
Preserved for Historical Reference
- v1.10.20 - Chain ID 7777 genesis version (December 2023)
- v1.11.13 - Chain ID 96369 original genesis version (November 2025)
- v1.13.13 - Current development version (August 2025)
Current Releases
v1.13.13
Geth
This version represents the current state of development, fully synchronized with upstream luxd.
v1.11.13
Chain ID 96369 Genesis Version
This was the version used for the official Lux Network mainnet launch in November 2025 with Chain ID 96369.
v1.10.20
Chain ID 7777 Genesis Version
This was the version used for the first public Lux Network deployment in December 2023 with Chain ID 7777.
Key Features
- Full node implementation for Lux network
- Support for primary network and chains/L2s
- Consensus mechanism optimized for Lux network
- Support for POA mode with modified consensus parameters
- Built with Go 1.24.5
- All upstream tests passing
Major Components
- Consensus Engine: Our own consensus implementation
- Network Layer: P2P networking with custom modifications
- Chain Management: Support for multiple blockchain VMs
- API Server: Full RPC/REST API support
- Database: Efficient state management
Configuration
- Network ID 96369 for mainnet
- Support for single-node development mode
- Modified consensus parameters (consensus-sample-size=1, consensus-quorum-size=1)
- APIs: admin, auth, health, info, keystore, metrics, platform, X-Chain
Network Support
- Primary Network: LUX mainnet and testnet
- Net Support: Full chain capabilities
- Cross-Chain: Warp messaging and atomic swaps
- Validator Management: Staking and delegation
Development
- Extensive test suite with full upstream compatibility
- Docker support
- Comprehensive documentation
- Active development and community support