Releases: spacemeshos/poet
v0.10.2
What's Changed
- Bump golang.org/x/sys from 0.14.0 to 0.15.0 by @dependabot in #438
- Bump actions/setup-go from 4 to 5 by @dependabot in #439
- Bump google.golang.org/grpc from 1.59.0 to 1.60.0 by @dependabot in #440
- Bump github.com/google/uuid from 1.4.0 to 1.5.0 by @dependabot in #441
- Bump google.golang.org/grpc from 1.60.0 to 1.60.1 by @dependabot in #442
- Bump go.uber.org/mock from 0.3.0 to 0.4.0 by @dependabot in #443
- Bump google.golang.org/protobuf from 1.31.0 to 1.32.0 by @dependabot in #444
- Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 by @dependabot in #445
- Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.18.1 to 2.19.0 by @dependabot in #446
- Bump golang.org/x/sync from 0.5.0 to 0.6.0 by @dependabot in #447
- Bump golang.org/x/sys from 0.15.0 to 0.16.0 by @dependabot in #448
- Expose public key from Server by @poszu in #449
Full Changelog: v0.10.1...v0.10.2
v0.10.1
v0.10.0
What's Changed
- Bump google.golang.org/grpc from 1.58.3 to 1.59.0 by @dependabot in #425
- Bump golang.org/x/net from 0.15.0 to 0.17.0 by @dependabot in #426
- Bump github.com/google/uuid from 1.3.1 to 1.4.0 by @dependabot in #428
- Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.18.0 to 2.18.1 by @dependabot in #433
- Bump golang.org/x/sync from 0.4.0 to 0.5.0 by @dependabot in #431
- Bump golang.org/x/sys from 0.13.0 to 0.14.0 by @dependabot in #432
- Support certificates for registeration by @poszu in #429
Full Changelog: v0.9.8...v0.10.0
v0.9.8
v0.9.7
What's Changed
- Fail new tree creation when layer files exist by @poszu in #414
- Allow running registration service only by @poszu in #417
- Bump golang.org/x/sys from 0.12.0 to 0.13.0 by @dependabot in #420
- Bump golang.org/x/sync from 0.3.0 to 0.4.0 by @dependabot in #421
- Optimize PoW by @poszu in #419
Full Changelog: v0.9.6...v0.9.7
v0.9.6
What's Changed
- Bump github.com/spacemeshos/go-scale from 1.1.11 to 1.1.12 by @dependabot in #405
- Poet Operator Manual. by @pigmej in #391
- Bump google.golang.org/grpc from 1.58.1 to 1.58.2 by @dependabot in #406
- Update protobuf toolset by @poszu in #408
- Bump github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus from 1.0.0-rc.0 to 1.0.0 by @dependabot in #409
- Update poet_operator_manual.md by @schinzelh in #407
- Remove unused lines from Makefile by @fasmat in #411
- Bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0 by @dependabot in #412
- Remove open and executing round IDs from /Info GRPC endpoint by @poszu in #413
- Add proof deadline to /Submit GRPC by @poszu in #410
New Contributors
- @schinzelh made their first contribution in #407
Full Changelog: v0.9.5...v0.9.6
v0.9.5
What's Changed
- Bump to Go 1.21 by @poszu in #392
- Cleaning up by @poszu in #393
- Fix dependabot not working by @fasmat in #394
- Bump google.golang.org/grpc from 1.58.0 to 1.58.1 by @dependabot in #397
- Bump go.uber.org/zap from 1.25.0 to 1.26.0 by @dependabot in #399
- Bump go.uber.org/mock from 0.2.0 to 0.3.0 by @dependabot in #398
- Allow configuring the max GRPC reponse size to serve bigger proofs by @poszu in #395
- Stop worker when ctx is canceled during recovered round execution by @poszu in #401
- Set the default value for max GRPC msg size by @poszu in #402
- Refactor handling submits batch to avoid stuck submits by @poszu in #403
- Create datadir recursively by @poszu in #404
Full Changelog: v0.9.3...v0.9.5
Max GRPC payload size is configurable
The maximum size of response body returned on the REST endpoints is limited by the max GRPC message size (default 4MiB). It is now possible to configure it with max-grpc-resp-size
config option (defaults to 8MiB). It's important to increase it as the size of the poet proofs increase.
⚠️ How to upgrade from v0.9.3
The v0.9.3 version contained a bug that might cause (with 50% chance) the round to be restarted when the poet process is gracefully shutting down while running a recovered round (#400 fixed in #401). This won't happen if poet is running the round for the first time (if it has been not restarted since the round start). To avoid this during upgrading the version, poet needs to by killed with SIGKILL. It is best to kill it shortly after it persisted round state to avoid losing some progress.
How do I know if poet persisted progress?
The poet saves progress every ~16.67M leafs by default. Look for the following log:
{"L":"INFO","T":"2023-09-19T16:11:42.490+0200","N":"worker","M":"persisting execution state","epoch":4,"numLeaves":369098752,"epoch":4}
How do I know if poet is running a recovered round?
Poet recovers a round when it is restarted mid-round, after it has already started and is producing leafs. You can look for the following logs to make sure it is running a recovered round:
{"L":"INFO","T":"2023-09-21T06:11:34.727+0200","N":"recovery","M":"recovered round","epoch":4}
{"L":"INFO","T":"2023-09-21T06:11:34.727+0200","N":"recovery","M":"round is executing","started":"2023-09-17T10:00:00.753+0200","leaves":9814671360}
{"L":"INFO","T":"2023-09-21T06:11:34.767+0200","N":"worker","M":"recovering execution","epoch":4,"end":"2023-10-01T20:00:00.000Z","num_leaves":9814671360}
v0.9.5-rc2
What's Changed
- Bump to Go 1.21 by @poszu in #392
- Cleaning up by @poszu in #393
- Fix dependabot not working by @fasmat in #394
- Bump google.golang.org/grpc from 1.58.0 to 1.58.1 by @dependabot in #397
- Bump go.uber.org/zap from 1.25.0 to 1.26.0 by @dependabot in #399
- Bump go.uber.org/mock from 0.2.0 to 0.3.0 by @dependabot in #398
- Allow configuring the max GRPC reponse size to serve bigger proofs by @poszu in #395
- Stop worker when ctx is canceled during recovered round execution by @poszu in #401
- Set the default value for max GRPC msg size by @poszu in #402
- Refactor handling submits batch to avoid stuck submits by @poszu in #403
- Create datadir recursively by @poszu in #404
Full Changelog: v0.9.3...v0.9.5-rc2
v0.9.3
What's Changed
- Bump golang.org/x/sys from 0.11.0 to 0.12.0 by @dependabot in #369
- Update tooling by @fasmat in #372
- Bump actions/checkout from 3 to 4 by @dependabot in #374
- Fail DB migration if dst exists by @poszu in #371
- Skip mocks in codecov by @poszu in #375
- Use go.uber.org/mock/gomock instead of github.com/golang/mock by @fasmat in #376
- Bump mikepenz/action-junit-report from 3 to 4 by @dependabot in #377
- Bump github.com/spacemeshos/go-scale from 1.1.10 to 1.1.11 by @dependabot in #379
- Bump google.golang.org/grpc from 1.57.0 to 1.58.0 by @dependabot in #378
- Bump github.com/spacemeshos/merkle-tree from 0.2.2 to 0.2.3 by @dependabot in #381
- Update scalegen to correct version by @fasmat in #382
- Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.17.1 to 2.18.0 by @dependabot in #383
- Bump docker/setup-buildx-action from 2 to 3 by @dependabot in #388
- Bump docker/build-push-action from 4 to 5 by @dependabot in #389
- Bump docker/login-action from 2 to 3 by @dependabot in #387
- Split poet into registration and worker services by @poszu in #364
- Disregard and remove legacy open rounds recovered by Service by @poszu in #390
Full Changelog: v0.9.1...v0.9.3
v0.9.1
What's Changed
- Fix logging genesis time by @poszu in #356
- Register challenges in batches by @poszu in #358
- Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.17.0 to 2.17.1 by @dependabot in #359
- Bump golang from 1.20-alpine to 1.21-alpine by @dependabot in #342
- fix typo by @zhiqiangxu in #323
- Set version build-arg when building poet docker image in CI by @poszu in #354
- Build releases with the latest stable Go by @poszu in #360
- Fix release workflow - don't run long tests by @poszu in #361
Full Changelog: v0.9.0...v0.9.1