This release introduces two notable features:
- Bridge node <> core endpoint sync over gRPC
- Archival trimming of historic block files
Bridge node sync over gRPC
:warning: ⚠️ ⚠️ In this release, bridge nodes (BNs) will no longer use RPC for syncing against the given core endpoint. It will now use gRPC via https://github.com/celestiaorg/celestia-node/pull/3998.
Please make sure to pass a gRPC compatible (at least v3.3.0-arabica) core endpoint, passing the port via the new --core.port flag. The --core.grpc.port flag is now deprecated.
This also means there is no longer a RPCPort field in the core config. Instead, it is just Port which refers to the gRPC port of the core node.
:warning: ⚠️ ⚠️
Additionally, it's possible to configure TLS for the gRPC connection via the following new flags:
--core.tls Specifies whether TLS is enabled or not. Default: false
--core.xtoken.path string specifies the file path to the JSON file containing the X-Token for gRPC authentication. The JSON file should have a key-value pair where the key is 'x-token' and the value is the authentication token. NOTE: the path is parsed only if coreTLS enabled.If left empty, the client will not include the X-Token in its requests.
Archival trimming of historic block files
For archival node runners (both full node and bridge node), archival trimming will now be enabled by default, cutting archival node disk use for historic blocks in roughly half via https://github.com/celestiaorg/celestia-node/pull/4028.
Note that the previous shwap release contains a condition to prevent nodes freshly syncing from storing the fourth quadrant files (.q4 files) for historic blocks that are outside the sampling window, but did not contain the functionality to clean up .q4 files once a block becomes freshly outdated, so disk use reductions are noticed only for the period between the completed full sync --> now.
What's Changed
- fix(openrpc-gen): add go-square blob to examples by @vgonkivs in https://github.com/celestiaorg/celestia-node/pull/3962
- fix(.github/workflows): no automatic tagging of releases for CI by @renaynay in https://github.com/celestiaorg/celestia-node/pull/3963
- refactor(share): GetShare -> GetSamples by @Wondertan in https://github.com/celestiaorg/celestia-node/pull/3891
- deps(go.mod): bump app by @renaynay in https://github.com/celestiaorg/celestia-node/pull/3968
- fix: jwt token nonce and expiration time by @cristaloleg in https://github.com/celestiaorg/celestia-node/pull/3967
- chore(deps): upgrade to celestia-app v3.0.2 by @rootulp in https://github.com/celestiaorg/celestia-node/pull/3969
- fix(goreleaser): tag_sort by @cristaloleg in https://github.com/celestiaorg/celestia-node/pull/3972
- nodebuilder/pruner: Enforce light pruning by @renaynay in https://github.com/celestiaorg/celestia-node/pull/3912
- feat(availability): env var to disable pruning by @Wondertan in https://github.com/celestiaorg/celestia-node/pull/3949
- fix(ci): add param to specify tag by @cristaloleg in https://github.com/celestiaorg/celestia-node/pull/3979
- fix(share/availability): add missing protection for autobatch by @walldiss in https://github.com/celestiaorg/celestia-node/pull/3988
- refactor(share/availability/light | share/availability/full): Availability implementations are aware of sampling window, removed from DASer by @renaynay in https://github.com/celestiaorg/celestia-node/pull/3957
- fix(api): add time.Duration and rsmt2d.Axis types by @cristaloleg in https://github.com/celestiaorg/celestia-node/pull/3994
- fix(cmd/blob): fix namespace parsing in cli by @vgonkivs in https://github.com/celestiaorg/celestia-node/pull/4003
- chore/make: add celestia-node make file for arabica testnet by @Bidon15 in https://github.com/celestiaorg/celestia-node/pull/3992
- fix(sync/test): fix TestSyncStartStopLightWithBridge by @vgonkivs in https://github.com/celestiaorg/celestia-node/pull/3990
- perf(shwap): cache Both Row sides by @Wondertan in https://github.com/celestiaorg/celestia-node/pull/4005
- refactor(docgen): simplify init by @cristaloleg in https://github.com/celestiaorg/celestia-node/pull/3997
- fix(nodebuilder/da): remove random print by @renaynay in https://github.com/celestiaorg/celestia-node/pull/4029
- feat(modshare): implement GetRow by @vgonkivs in https://github.com/celestiaorg/celestia-node/pull/4002
- Revert "fix(p2p): disable quic (#3937)" by @Wondertan in https://github.com/celestiaorg/celestia-node/pull/4039
- chore(pruner): remove SpacedHeaderGenerator by @ronething-bot in https://github.com/celestiaorg/celestia-node/pull/4032
- feat(modp2p): Ping and ConnectionState APIs by @Wondertan in https://github.com/celestiaorg/celestia-node/pull/3989
- feat(share/availability/full): Introduce Q4 trimming for archival nodes by @renaynay in https://github.com/celestiaorg/celestia-node/pull/4028
- chore(deps): upgrade celestia-app by @rootulp in https://github.com/celestiaorg/celestia-node/pull/4024
- feat: lunar use dnsaddr by @smuu in https://github.com/celestiaorg/celestia-node/pull/3741
- fix(share/shwap/p2p/bitswap): set archivalPool ctx by @renaynay in https://github.com/celestiaorg/celestia-node/pull/4052
- feat!(core): remove dependency of RPC in favour of gRPC by @vgonkivs in https://github.com/celestiaorg/celestia-node/pull/3998
- deps(go.mod): bump app by @renaynay in https://github.com/celestiaorg/celestia-node/pull/4056
- misc!(flags): rename core.grpc.port to core.port by @vgonkivs in https://github.com/celestiaorg/celestia-node/pull/4059
- chore(ci): fix job name by @cristaloleg in https://github.com/celestiaorg/celestia-node/pull/4061
- misc(state/core_accessor): add retry logic for creating a txClient by @vgonkivs in https://github.com/celestiaorg/celestia-node/pull/4053
- deps(go.mod): bump go-header v0.6.4 by @cristaloleg in https://github.com/celestiaorg/celestia-node/pull/4060
- deps(go.mod): bump quic-go v0.49.0 by @cristaloleg in https://github.com/celestiaorg/celestia-node/pull/4062
- test(swamp/share): cover share module with swamp tests by @vgonkivs in https://github.com/celestiaorg/celestia-node/pull/4036
- fix(nodebuilder/pruner): Change archival mode warning message by @renaynay in https://github.com/celestiaorg/celestia-node/pull/4064
New Contributors
- @ronething-bot made their first contribution in https://github.com/celestiaorg/celestia-node/pull/4032
Full Changelog: https://github.com/celestiaorg/celestia-node/compare/v0.20.3-mocha...v0.21.3-mocha