The change improves initial sync speed and any sync protocol requests required during consensus.
#5109 Limit number of layers that tortoise needs to read on startup.
Bounds the time required to restart a node.
v1.2.0
Upgrade information
This upgrade is incompatible with versions older than v1.1.6.
At the start of the upgrade, mesh data will be pruned and compacted/vacuumed. Pruning takes longer for
nodes that joined the network earlier. For 1-week-old nodes, it takes ~20 minutes. for 3-week-old
nodes it takes ~40 minutes. The vacuum operation takes ~5 minutes and requires extra disk space
to complete successfully. If the size of state.sql is 25 GiB at the beginning of upgrade, the WAL file
(state.sql-wal) will grow to 25 GiB and then drop to 0 when the vacuum is complete. The node will resume
its normal startup routine after the pruning and vacuum is complete. The final size of state.sql is
expected to be ~1.5 GiB.
A new config poet-request-timeout has been added, that defines the timeout for requesting PoET proofs.
It defaults to 9 minutes so there is enough time to retry if the request fails.
Config option and flag p2p-disable-legacy-discovery is dropped. DHT has been the only p2p discovery
mechanism since release v1.1.2.
Support for old certificate sync protocol is dropped. This update is incompatible with v1.0.x series.
Highlights
Features
#5031 Nodes will also fetch from PoET 112 for round 4 if they were able to register to PoET 110.
#5067 dbstat virtual table can be read periodically to collect table/index sizes.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps github.com/spacemeshos/go-spacemesh from 1.0.2 to 1.2.2.
Release notes
Sourced from github.com/spacemeshos/go-spacemesh's releases.
... (truncated)
Changelog
Sourced from github.com/spacemeshos/go-spacemesh's changelog.
... (truncated)
Commits
48cb0ed
release v1.2.28b7490c
set cache to 100_000 and disable libp2p resource manager3eea530
mesh: refactor Updates handling (#5160)816744c
fetch: parametrize success rate threshold (#5161)6fde86c
reduce info log spam in mesh, ballots, atxs modules (#5153)523e81e
add missinng changelog for tortoise recovery change (#5152)ea1f755
sql: remove rewards_coinbase_layer as it is created with primary (#4696)c0b74d7
sync: prioritize peers with higher success rate and low latency (#5143)1c7e11d
Beacon cleanups (#5148)338fe09
Simplify VRFSigner() method to not return an error (#5147)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show