Activity

A feed of development activity from across Sia Foundation GitHub repositories.

Oct 5, 2024

Bumps go.sia.tech/mux from 1.2.0 to 1.3.0.

Commits
  • e3a6299 v2: Add deprecation notice to DialStreamContext
  • b7fef91 Merge pull request #1 from SiaFoundation/err
  • 67b430a Merge branch 'master' into err
  • 5169509 fix lint
  • 471f45c github: group dependabot
  • cb672ff github: enable dependabot
  • c378ce8 v2: address lint
  • 21856fd deps: update dependencies
  • 98a2580 ci: switch to common workflow
  • 61fdfb5 v1,v2: Return available data alongside error
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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)
Oct 5, 2024

Bumps go.sia.tech/core from 0.4.6 to 0.4.7.

Commits
  • 72daac0 Merge pull request #207 from SiaFoundation/preimage-len
  • 7a2ef40 types: Switch to fixed-length PolicyHash preimage
  • 0f61e58 Merge pull request #205 from SiaFoundation/proof-supplement
  • a176ef9 consensus: Add V1StorageProofSupplement, fixing encoding bug
  • 37cd8b8 build(deps): bump go.sia.tech/mux in the all-dependencies group
  • e21edfd Merge pull request #201 from SiaFoundation/nate/upgrade-go
  • 708363a ci,deps: upgrade go, switch to common workflow
  • 2cdf6f6 Merge pull request #196 from SiaFoundation/nate/v2-revision-ordering
  • 3dcc8ac consensus: Validate against earlier v2 contract revisions in block
  • 300042f build(deps): bump the all-dependencies group with 2 updates
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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)
Oct 5, 2024

Bumps go.sia.tech/coreutils from 0.3.2 to 0.4.0.

Commits
  • 44117d3 rhp4: address review comments
  • 3543c96 rhp4: add proof validation comment
  • c1dddb9 rhp4: use clear for zero reader (Chris)
  • 9dc122d rhp4: switch RPCWrite to streaming
  • a80d6d9 rhp4: period in docstring
  • 4977cf4 rhp4,chain: remove slashes in protocol
  • 19326ed rhp4: make input validation clearer
  • 48da7a3 rhp4: address comments
  • ab3a7bd rhp4: add result types
  • 2e81244 rhp/v4: fix modify sectors test
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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)
Oct 5, 2024

Bumps the all-dependencies group with 3 updates in the / directory: github.com/cloudflare/cloudflare-go, go.sia.tech/core and go.sia.tech/coreutils.

Updates github.com/cloudflare/cloudflare-go from 0.104.0 to 0.106.0

Release notes

Sourced from github.com/cloudflare/cloudflare-go's releases.

v0.106.0

ENHANCEMENTS:

  • access_application: added target contexts support for access application type infrastructure (#3186)
  • access_policy: added infrastructure connection rule support for access policy (#3186)

v0.105.0

ENHANCEMENTS:

  • device_posture_rule: add score field for custom_s2s posture rule (#3031)
  • infrastructure_targets: initialize CRUD endpoints for infrastructure access endpoints (#3184)
  • load_balancing: add account load balancer support (#3027)
Changelog

Sourced from github.com/cloudflare/cloudflare-go's changelog.

0.106.0 (September 27th, 2024)

ENHANCEMENTS:

  • access_application: added target contexts support for access application type infrastructure (#3186)
  • access_policy: added infrastructure connection rule support for access policy (#3186)

0.105.0 (September 25th, 2024)

ENHANCEMENTS:

  • device_posture_rule: add score field for custom_s2s posture rule (#3031)
  • infrastructure_targets: initialize CRUD endpoints for infrastructure access endpoints (#3184)
  • load_balancing: add account load balancer support (#3027)
Commits
  • e9034aa Update CHANGELOG.md
  • d6ec26a generate changelog
  • 5958d1b Merge pull request #3250 from SaiDadireddy/sdadireddy/infra-app
  • f7dbab2 expand Infra => Infrastructure with correct namespace
  • 8c36601 add changelog
  • 4721188 small fix
  • 12ad68e Add connection rules to access policy tests
  • e27fa59 Struct types should use pointers as they are optional
  • 24fb45c Move infra related types to appropriate file
  • 76fa2f7 Cleanup comments
  • Additional commits viewable in compare view

Updates go.sia.tech/core from 0.4.6 to 0.4.7

Commits
  • 72daac0 Merge pull request #207 from SiaFoundation/preimage-len
  • 7a2ef40 types: Switch to fixed-length PolicyHash preimage
  • 0f61e58 Merge pull request #205 from SiaFoundation/proof-supplement
  • a176ef9 consensus: Add V1StorageProofSupplement, fixing encoding bug
  • 37cd8b8 build(deps): bump go.sia.tech/mux in the all-dependencies group
  • e21edfd Merge pull request #201 from SiaFoundation/nate/upgrade-go
  • 708363a ci,deps: upgrade go, switch to common workflow
  • 2cdf6f6 Merge pull request #196 from SiaFoundation/nate/v2-revision-ordering
  • 3dcc8ac consensus: Validate against earlier v2 contract revisions in block
  • 300042f build(deps): bump the all-dependencies group with 2 updates
  • Additional commits viewable in compare view

Updates go.sia.tech/coreutils from 0.3.2 to 0.4.0

Commits
  • 44117d3 rhp4: address review comments
  • 3543c96 rhp4: add proof validation comment
  • c1dddb9 rhp4: use clear for zero reader (Chris)
  • 9dc122d rhp4: switch RPCWrite to streaming
  • a80d6d9 rhp4: period in docstring
  • 4977cf4 rhp4,chain: remove slashes in protocol
  • 19326ed rhp4: make input validation clearer
  • 48da7a3 rhp4: address comments
  • ab3a7bd rhp4: add result types
  • 2e81244 rhp/v4: fix modify sectors test
  • Additional commits viewable in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Oct 4, 2024
Oct 3, 2024
Oct 3, 2024

Bumps the all-dependencies group with 3 updates: github.com/cloudflare/cloudflare-go, go.sia.tech/core and go.sia.tech/web/hostd.

Updates github.com/cloudflare/cloudflare-go from 0.104.0 to 0.106.0

Release notes

Sourced from github.com/cloudflare/cloudflare-go's releases.

v0.106.0

ENHANCEMENTS:

  • access_application: added target contexts support for access application type infrastructure (#3186)
  • access_policy: added infrastructure connection rule support for access policy (#3186)

v0.105.0

ENHANCEMENTS:

  • device_posture_rule: add score field for custom_s2s posture rule (#3031)
  • infrastructure_targets: initialize CRUD endpoints for infrastructure access endpoints (#3184)
  • load_balancing: add account load balancer support (#3027)
Changelog

Sourced from github.com/cloudflare/cloudflare-go's changelog.

0.106.0 (September 27th, 2024)

ENHANCEMENTS:

  • access_application: added target contexts support for access application type infrastructure (#3186)
  • access_policy: added infrastructure connection rule support for access policy (#3186)

0.105.0 (September 25th, 2024)

ENHANCEMENTS:

  • device_posture_rule: add score field for custom_s2s posture rule (#3031)
  • infrastructure_targets: initialize CRUD endpoints for infrastructure access endpoints (#3184)
  • load_balancing: add account load balancer support (#3027)
Commits
  • e9034aa Update CHANGELOG.md
  • d6ec26a generate changelog
  • 5958d1b Merge pull request #3250 from SaiDadireddy/sdadireddy/infra-app
  • f7dbab2 expand Infra => Infrastructure with correct namespace
  • 8c36601 add changelog
  • 4721188 small fix
  • 12ad68e Add connection rules to access policy tests
  • e27fa59 Struct types should use pointers as they are optional
  • 24fb45c Move infra related types to appropriate file
  • 76fa2f7 Cleanup comments
  • Additional commits viewable in compare view

Updates go.sia.tech/core from 0.4.6 to 0.4.7

Commits
  • 72daac0 Merge pull request #207 from SiaFoundation/preimage-len
  • 7a2ef40 types: Switch to fixed-length PolicyHash preimage
  • 0f61e58 Merge pull request #205 from SiaFoundation/proof-supplement
  • a176ef9 consensus: Add V1StorageProofSupplement, fixing encoding bug
  • 37cd8b8 build(deps): bump go.sia.tech/mux in the all-dependencies group
  • e21edfd Merge pull request #201 from SiaFoundation/nate/upgrade-go
  • 708363a ci,deps: upgrade go, switch to common workflow
  • 2cdf6f6 Merge pull request #196 from SiaFoundation/nate/v2-revision-ordering
  • 3dcc8ac consensus: Validate against earlier v2 contract revisions in block
  • 300042f build(deps): bump the all-dependencies group with 2 updates
  • Additional commits viewable in compare view

Updates go.sia.tech/web/hostd from 0.47.0 to 0.48.0

Release notes

Sourced from go.sia.tech/web/hostd's releases.

[email protected]

Minor Changes

  • 7a333ffd: The command menu now opens via Ctrl+K on Linux and Windows.
Commits
  • 50e225e chore: release packages
  • 7a333ff refactor(renterd): remove default bucket
  • 7b2555d fix: feedback
  • 5bfdb01 refactor(renterd): object routes
  • a4db3e9 refactor(explorer): re-add host announcements to transaction route
  • 24b984b feat(explored-types): add hostAnnouncements to ExplorerTransaction
  • 137b55d chore: export renterd/v0.62.0
  • 291fa16 chore: release packages
  • 8c93f0a chore: remove deprecated env vars
  • 0721586 feat(renterd): list objects allows fetching across buckets
  • Additional commits viewable in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Oct 3, 2024

Bumps the all-dependencies group with 2 updates in the / directory: go.sia.tech/core and go.sia.tech/coreutils.

Updates go.sia.tech/core from 0.4.6 to 0.4.7

Commits
  • 72daac0 Merge pull request #207 from SiaFoundation/preimage-len
  • 7a2ef40 types: Switch to fixed-length PolicyHash preimage
  • 0f61e58 Merge pull request #205 from SiaFoundation/proof-supplement
  • a176ef9 consensus: Add V1StorageProofSupplement, fixing encoding bug
  • 37cd8b8 build(deps): bump go.sia.tech/mux in the all-dependencies group
  • e21edfd Merge pull request #201 from SiaFoundation/nate/upgrade-go
  • 708363a ci,deps: upgrade go, switch to common workflow
  • 2cdf6f6 Merge pull request #196 from SiaFoundation/nate/v2-revision-ordering
  • 3dcc8ac consensus: Validate against earlier v2 contract revisions in block
  • 300042f build(deps): bump the all-dependencies group with 2 updates
  • Additional commits viewable in compare view

Updates go.sia.tech/coreutils from 0.3.2 to 0.4.0

Commits
  • 44117d3 rhp4: address review comments
  • 3543c96 rhp4: add proof validation comment
  • c1dddb9 rhp4: use clear for zero reader (Chris)
  • 9dc122d rhp4: switch RPCWrite to streaming
  • a80d6d9 rhp4: period in docstring
  • 4977cf4 rhp4,chain: remove slashes in protocol
  • 19326ed rhp4: make input validation clearer
  • 48da7a3 rhp4: address comments
  • ab3a7bd rhp4: add result types
  • 2e81244 rhp/v4: fix modify sectors test
  • Additional commits viewable in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Oct 3, 2024
  • 7a333ffd: The command menu now opens via Ctrl+K on Linux and Windows.
Oct 3, 2024

Bumps the all-dependencies group with 1 update: go.sia.tech/core.

Updates go.sia.tech/core from 0.4.6 to 0.4.7

Commits
  • 72daac0 Merge pull request #207 from SiaFoundation/preimage-len
  • 7a2ef40 types: Switch to fixed-length PolicyHash preimage
  • 0f61e58 Merge pull request #205 from SiaFoundation/proof-supplement
  • a176ef9 consensus: Add V1StorageProofSupplement, fixing encoding bug
  • 37cd8b8 build(deps): bump go.sia.tech/mux in the all-dependencies group
  • e21edfd Merge pull request #201 from SiaFoundation/nate/upgrade-go
  • 708363a ci,deps: upgrade go, switch to common workflow
  • 2cdf6f6 Merge pull request #196 from SiaFoundation/nate/v2-revision-ordering
  • 3dcc8ac consensus: Validate against earlier v2 contract revisions in block
  • 300042f build(deps): bump the all-dependencies group with 2 updates
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Oct 2, 2024
  • Upgrade next version used across repo and projects.
Oct 2, 2024
Oct 2, 2024

I occasionally saw "superfluous response.WriteHeader call" in testing and decided to trace it down today. Turns out it comes from the renew handler. We also assert MinNewCollateral can't be zero but I think it can.

Oct 2, 2024
Oct 1, 2024
  • All query parameters are now lowercased for API consistency.
Sep 30, 2024
  • Fixed a bug where the network average prices would show as 0 in the configuration fields.
  • Max RPC price and max contract price now show a suggestion instead of a network average (10/million SC and 1 SC).
    • The network averages were showing as near 0 values, which could direct the user to set them too low.
  • Added handful of tests related to averages and fiat conversion.
Sep 30, 2024

Strict mode refactoring part 3/3: no changes to functionality.

  • Update renterd app to TypeScript strict mode 2/2: config feature.
  • Primarily adds all missing strict null checks.
  • Refine config data types to be more specific.
Sep 30, 2024

Strict mode refactoring part 2/3: no changes to functionality. Tests are passing on part 3/3: https://github.com/SiaFoundation/web/pull/747

  • Update renterd app to TypeScript strict mode: part 1.
  • Primarily adds all missing strict null checks throughout the codebase.
  • Covers all files except the config feature which is done in a separate PR: https://github.com/SiaFoundation/web/pull/747
Sep 30, 2024

Strict mode refactoring part 1/3: no changes to functionality. Tests are passing on part 3/3: https://github.com/SiaFoundation/web/pull/747

  • Upgrade typescript to the latest stable version.
  • Upgrade msw (mock service worker) - required update to use with latest typescript.
Sep 28, 2024

Use offset and limit consistently. Turns out there were various places where we were needlessly trying to decode the offset and limit it in the handler. I chose to rename offset to encryptionoffset in the worker because that would be inconsistent with the normal offset usage. Since the option is named EncryptionOffset I feel it's fine to name the query string parameter the same way.

Fixes https://github.com/SiaFoundation/renterd/issues/1567

Sep 28, 2024
Sep 28, 2024
Sep 28, 2024

Should help with rate limit issues for tests and builds relying on DockerHub.

Sep 28, 2024

Closes https://github.com/SiaFoundation/renterd/issues/1559

To distinguish between the different versions of encryption keys, they are prefixed with a single byte in the database. I'm also open to suggestions when it comes to naming. "salted keys" is more of a working title.

Sep 27, 2024
Sep 27, 2024

Small PR to add a missing test, no change in functionality.

  • Add a test for resizing a volume.
  • Adjust validation to use BigNumber operations.
Sep 26, 2024
Sep 26, 2024

Icarus experienced large contract churn on 9/20 around 10pm, ~60 contracts got removed from the set. The logs indicate hosts were considered gouging because their recommended transaction fee exceeded a certain amount. We hit a renew window around that time as well as a considerable drop in hash rate (40%), the theory is that the transaction pool clogged up causing the hosts to set higher transaction fees, which in turn caused renters to flip out about it.

We use the recommended fee when we renew contracts with the host. It's expressed as a fee per byte so we multiply it by 4096. This PR updates the gouging checks to compare the recommended fee against the max contract price, essentially protection against the same exploit but with a (configurable) setting that's a bit more lenient.

Sep 26, 2024
  • 7a333ffd: The bucket list now has an empty state.
  • 7a333ffd: The cmdk menu now has an two separate files search options, one for across all buckets and one for the current bucket.
  • 7a333ffd: It is now possible to delete a bucket named 'default'.
  • 7a333ffd: The file search feature can now search across all buckets.
  • 7a333ffd: The command menu now opens via Ctrl+K on Linux and Windows.
Sep 26, 2024

We now no longer assume a default bucket.

  • It is now possible to delete a bucket named 'default'.
  • The file search feature can now search across all buckets.
  • The bucket list now has an empty state.
  • The cmdk menu now has an two separate files search options, one for across all buckets and one for the current bucket.
  • Updated to the new objects remove API.
  • Adjusted the name of the objects rename API.
Sep 26, 2024
  • The single object and list APIs routes have been updated.
Sep 26, 2024
Sep 26, 2024

We are inconsistent when it comes to escaping the bucket name in the query string. This PR makes the behaviour consistent and allows for bucket names with spaces in them. I'm wondering whether we should allow special characters in bucket names. If not we should add an assertion in create bucket.

Related to https://github.com/SiaFoundation/renterd/issues/1498

Sep 25, 2024
Sep 25, 2024
Sep 25, 2024
Sep 25, 2024
Sep 24, 2024
Sep 24, 2024
Sep 24, 2024

See #206

Sep 24, 2024

Seems like we forgot to remove the triggers from the schema when we removed them. So I did that here and added another migration to remove them.

Sep 24, 2024

Bumps the all-dependencies group with 2 updates: go.sia.tech/mux and go.sia.tech/web/renterd.

Updates go.sia.tech/mux from 1.2.0 to 1.3.0

Commits
  • e3a6299 v2: Add deprecation notice to DialStreamContext
  • b7fef91 Merge pull request #1 from SiaFoundation/err
  • 67b430a Merge branch 'master' into err
  • 5169509 fix lint
  • 471f45c github: group dependabot
  • cb672ff github: enable dependabot
  • c378ce8 v2: address lint
  • 21856fd deps: update dependencies
  • 98a2580 ci: switch to common workflow
  • 61fdfb5 v1,v2: Return available data alongside error
  • Additional commits viewable in compare view

Updates go.sia.tech/web/renterd from 0.61.0 to 0.62.0

Release notes

Sourced from go.sia.tech/web/renterd's releases.

[email protected]

Minor Changes

  • 64d82fc3: The transactions list now includes more details such as specific transaction types and maturity height for locked siacoin.
  • 32363a16: The files directory and global mode explorers now use the new list objects API.
  • 978b70aa: The hosts explorer now uses the new combined hosts API.
  • ac703a94: The configuration feature now internally uses the new strong settings APIs.
  • ac703a94: The configuration feature no longer includes the enable pinning or forex endpoint options under price pinning.
  • ac703a94: Contracts can now be filtered and sorted by deletions and sector roots spending.
  • ac703a94: The app now uses the daemon configured explorer for exchange rates.
  • ac703a94: The keys feature now internally uses the new S3 settings API format.
  • feca9f36: The configuration now internally uses the updated gouging base units.

Patch Changes

  • 978b70aa: Fixed a bug optimistically updating last scan information when initiating a host scan.
  • 1c94a604: Fixed an issue where the fit allowance suggestions were showing as NaN because all required fields were not filled.
Commits
  • 291fa16 chore: release packages
  • 8c93f0a chore: remove deprecated env vars
  • 0721586 feat(renterd): list objects allows fetching across buckets
  • ac703a9 refactor(renterd): settings APIs and daemon explorer exchange rates
  • feca9f3 refactor(renterd): gouging base units
  • 32363a1 refactor(renterd): migrate objects and multipart apis
  • 64d82fc refactor(renterd): migrate to events apis and remove other deprecated apis
  • 978b70a refactor(renterd): migrate hosts apis
  • 0950598 test(e2e): use cluster api breakers branch
  • 028d08f refactor(explorer): transaction route now uses explored
  • Additional commits viewable in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Sep 23, 2024

In SQLite index names have to be unique across all tables, not like in MySQL where it has to be unique within each table. For SQLite the migration errors out with Error: index idx_contracts_proof_height already exists, this PR fixes that by recreating all indices. I don't think we can get around that in SQLite, either that or we have to do it from the application side but I don't see an issue recreating them, it was super fast on arequipa.

Sep 23, 2024
Sep 23, 2024
Sep 19, 2024

Once again

Sep 18, 2024

Bumps the all-dependencies group with 1 update: github.com/cloudflare/cloudflare-go.

Updates github.com/cloudflare/cloudflare-go from 0.103.0 to 0.104.0

Release notes

Sourced from github.com/cloudflare/cloudflare-go's releases.

v0.104.0

BREAKING CHANGES:

  • dns: removed deprecated ZoneID and ZoneName fields (#2986)

ENHANCEMENTS:

  • bot_management: add ai_bots_protection to public API (#2974)

DEPENDENCIES:

  • deps: bumps golang.org/x/net from 0.28.0 to 0.29.0 (#3030)
  • deps: bumps golang.org/x/time from 0.5.0 to 0.6.0 (#2816)
Changelog

Sourced from github.com/cloudflare/cloudflare-go's changelog.

0.104.0 (September 11th, 2024)

BREAKING CHANGES:

  • dns: removed deprecated ZoneID and ZoneName fields (#2986)

ENHANCEMENTS:

  • bot_management: add ai_bots_protection to public API (#2974)

DEPENDENCIES:

  • deps: bumps golang.org/x/net from 0.28.0 to 0.29.0 (#3030)
  • deps: bumps golang.org/x/time from 0.5.0 to 0.6.0 (#2816)
Commits
  • 8743749 Update CHANGELOG.md
  • da8f52c generate changelog
  • 2b12f5e Merge pull request #2816 from cloudflare/dependabot/go_modules/golang.org/x/t...
  • 313ac03 add CHANGELOG for #2816
  • 1f3b024 Bump golang.org/x/time from 0.5.0 to 0.6.0
  • 03c61c1 Merge pull request #3030 from cloudflare/dependabot/go_modules/golang.org/x/n...
  • 18cdb17 add CHANGELOG for #3030
  • b6c1dda Bump golang.org/x/net from 0.28.0 to 0.29.0
  • 933dac0 Merge pull request #2986 from janik-cloudflare/dns-record-zone-name
  • fe15c7b Update 2986.txt
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Sep 18, 2024

If we move /objects to /object we can get rid of GET /listobjects/*prefix".

Sep 18, 2024
  • 64d82fc3: The transactions list now includes more details such as specific transaction types and maturity height for locked siacoin.
  • 32363a16: The files directory and global mode explorers now use the new list objects API.
  • 978b70aa: The hosts explorer now uses the new combined hosts API.
  • ac703a94: The configuration feature now internally uses the new strong settings APIs.
  • ac703a94: The configuration feature no longer includes the enable pinning or forex endpoint options under price pinning.
  • ac703a94: Contracts can now be filtered and sorted by deletions and sector roots spending.
  • ac703a94: The app now uses the daemon configured explorer for exchange rates.
  • ac703a94: The keys feature now internally uses the new S3 settings API format.
  • feca9f36: The configuration now internally uses the updated gouging base units.
  • 978b70aa: Fixed a bug optimistically updating last scan information when initiating a host scan.
  • 1c94a604: Fixed an issue where the fit allowance suggestions were showing as NaN because all required fields were not filled.
Sep 17, 2024

Fixes #203

I'll follow this up with a regression test in coreutils.

Sep 17, 2024

Hm look like this slipped through. When I saw the issue I was surprised because I was sure I added it, but it looks like I'm not populating the autopilots if the setting isn't found and we return the default settings.

Fixes https://github.com/SiaFoundation/renterd/issues/1532

Sep 17, 2024

Relates to https://github.com/SiaFoundation/renterd/pull/1517

  • The list objects API now includes a slabEncryptionKey parameter.
  • The list objects API bucket parameter is now optional, and bucket is returned in in the object metadata.
Sep 17, 2024
  • Removed deprecated setting APIs.
  • Added new strong settings APIs.
  • The configuration feature now interally uses the new strong settings API.
  • The configuration feature no longer includes the enabled pinning or forex endpoint options under price pinning.
  • The app now uses the daemon configured explorer for exchange rates.
  • The keys feature now interally uses the updated S3 settings API.
  • The bus state API now includes daemon configured explorer.
Sep 17, 2024

All checks pass on final api-breakers PR: https://github.com/SiaFoundation/web/pull/743

  • The configuration now internally uses the updated gouging base units.
Sep 17, 2024

All checks pass on final api-breakers PR: https://github.com/SiaFoundation/web/pull/743

  • Removed deprecated object search and object directory APIs.
  • The files directory and global mode explorers now use the new list objects API.
  • Updated the multipart upload APIs with the new payloads.
Sep 17, 2024

All checks pass on final api-breakers PR: https://github.com/SiaFoundation/web/pull/743

This PR corresponds to the changes in: https://github.com/SiaFoundation/renterd/pull/1478

  • Removed deprecated wallet transactions and pending transactions APIs.
  • Added wallet events and pending events APIs.
  • Removed deprecated wallet discard, fund, sign, and outputs APIs.
  • The renterd transactions list is now includes more details such as specific transaction types and maturity height for locked siacoin.
Sep 17, 2024

All checks pass on final api-breakers PR: https://github.com/SiaFoundation/web/pull/743

  • Removed deprecated search hosts and autopilot hosts APIs
  • Added the new combined hosts API.
  • The hosts explorer now uses the new combined hosts API.
  • Added the bus list autopilots API.
  • Fixed a bug optimistically updating last scan information when initiating a host scan.
Sep 17, 2024
Sep 17, 2024
Sep 17, 2024

Bumps the all-dependencies group with 1 update: go.sia.tech/mux.

Updates go.sia.tech/mux from 1.2.0 to 1.3.0

Commits
  • e3a6299 v2: Add deprecation notice to DialStreamContext
  • b7fef91 Merge pull request #1 from SiaFoundation/err
  • 67b430a Merge branch 'master' into err
  • 5169509 fix lint
  • 471f45c github: group dependabot
  • cb672ff github: enable dependabot
  • c378ce8 v2: address lint
  • 21856fd deps: update dependencies
  • 98a2580 ci: switch to common workflow
  • 61fdfb5 v1,v2: Return available data alongside error
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Sep 17, 2024

Gets rid of /hosts/scanning by adding an extra filter option to the /hosts endpoint.

Sep 17, 2024

Occasionally we have to perform a migration only on the SQLite db and not the MySQL db or vice versa (see 00020_idx_db_directory). Up until now MySQL would fail though with "empty query". Since it's nice to have a nice overview of migrations I think we should allow empty migrations and not execute them when we find they're empty.

Sep 16, 2024
Sep 16, 2024
Sep 16, 2024
Sep 16, 2024
Sep 16, 2024
Sep 16, 2024

Bumps the all-dependencies group with 2 updates: github.com/klauspost/reedsolomon and go.sia.tech/gofakes3.

Updates github.com/klauspost/reedsolomon from 1.12.3 to 1.12.4

Release notes

Sourced from github.com/klauspost/reedsolomon's releases.

v1.12.4

What's Changed

Full Changelog: https://github.com/klauspost/reedsolomon/compare/v1.12.3...v1.12.4

Commits

Updates go.sia.tech/gofakes3 from 0.0.4 to 0.0.5

Commits
  • 11d8cef avoid panic in copyObject
  • 33e8e5c Merge pull request #36 from SiaFoundation/dependabot/go_modules/github.com/aw...
  • 1b80b3c Bump github.com/aws/aws-sdk-go from 1.54.15 to 1.55.5
  • f1a15e1 Merge pull request #32 from SiaFoundation/dependabot/go_modules/github.com/aw...
  • 59bb670 Merge pull request #31 from SiaFoundation/dependabot/go_modules/golang.org/x/...
  • 1c4a320 Bump github.com/aws/aws-sdk-go from 1.54.6 to 1.54.15
  • 77c1304 Bump golang.org/x/tools from 0.22.0 to 0.23.0
  • See full diff in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Sep 14, 2024
Sep 13, 2024

Adds an endpoint to backup a running hostd node to the local system. Can be used to schedule automatic atomic backups without shutting down the node or locking the database for a significant amount of time.

[POST] /api/system/sqlite3/backup

curl -u :"sia is cool" http://localhost:9980/api/system/sqlite3/backup -X POST -d '{ "path": "/backups/hostd.sqlite3.bak" }'
Sep 13, 2024
Sep 13, 2024
Sep 12, 2024

Fixes #176

Sep 11, 2024
Sep 10, 2024
Sep 10, 2024
  • Fixed an issue where the fit allowance suggestions were showing as NaN because all required fields were not filled.
Sep 10, 2024

Bumps the all-dependencies group with 2 updates: github.com/mattn/go-sqlite3 and golang.org/x/term.

Updates github.com/mattn/go-sqlite3 from 1.14.22 to 1.14.23

Commits

Updates golang.org/x/term from 0.23.0 to 0.24.0

Commits
  • 2f7b0dd go.mod: update golang.org/x dependencies
  • f867b76 x/term: set missing VIRTUAL_TERMINAL_INPUT flag on Windows
  • See full diff in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Sep 10, 2024
  • 02c02fe7: The send siacoin feature now validates the entered address.
  • 5f34c9a6: The UI now uses the daemon configured explorer for exchange rates.
  • 81d374f4: The send siacoin feature now calculates the fee using the daemon's recommended fee per byte and a standard transaction size.
  • 5f34c9a6: Migrated all exchange rate usage from Sia Central to Siascan.
  • d6eed368: The contracts metrics now show active, rejected, failed, renewed, finalized, and successful.
Sep 10, 2024

Bumps the all-dependencies group with 4 updates: github.com/mattn/go-sqlite3, go.sia.tech/web/hostd, golang.org/x/sys and golang.org/x/term.

Updates github.com/mattn/go-sqlite3 from 1.14.22 to 1.14.23

Commits

Updates go.sia.tech/web/hostd from 0.46.0 to 0.47.0

Release notes

Sourced from go.sia.tech/web/hostd's releases.

[email protected]

Minor Changes

  • 02c02fe7: The send siacoin feature now validates the entered address.
  • 5f34c9a6: The UI now uses the daemon configured explorer for exchange rates.
  • 81d374f4: The send siacoin feature now calculates the fee using the daemon's recommended fee per byte and a standard transaction size.
  • 5f34c9a6: Migrated all exchange rate usage from Sia Central to Siascan.
  • d6eed368: The contracts metrics now show active, rejected, failed, renewed, finalized, and successful.
Commits
  • 054bb27 chore: release packages
  • 5e478dc refactor: explored-types: add id to ExplorerTransaction type
  • 5c0df06 fix: pluralize add tests
  • 02c02fe refactor: wallet send form
  • 81d374f feat: renterd wallet send
  • a8c22bb refactor: renterd account reset drift moved to worker
  • d6eed36 fix: hostd metrics
  • 6bb9322 refactor: explored-types: update routes to match explored API changes
  • d5dc0f8 refactor: pluralize
  • dd1b403 fix: renterd no recommendations
  • Additional commits viewable in compare view

Updates golang.org/x/sys from 0.24.0 to 0.25.0

Commits
  • a43b625 windows: add SIO_UDP_NETRESET constant
  • ed67b15 windows: add console codepage api
  • 9cb830b unix: add missing import to syscall_hurd.go
  • 71132f5 unix: add POLLRDHUP to FreeBSD
  • 3283fc3 cpu: add support for detecting RISC-V extensions
  • 29e55b2 unix: use os.Executable rather than os.Args[0] in tests
  • a8c5219 unix: rename XDPUmemReg field back to Size
  • 59665e5 unix: add Connectx for darwin
  • a0c72ef unix: add f_flag member flags on z/OS
  • c64c51d unix: update riscv64 hwprobe to Linux kernel 6.10
  • Additional commits viewable in compare view

Updates golang.org/x/term from 0.23.0 to 0.24.0

Commits
  • 2f7b0dd go.mod: update golang.org/x dependencies
  • f867b76 x/term: set missing VIRTUAL_TERMINAL_INPUT flag on Windows
  • See full diff in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Sep 9, 2024

Bumps the all-dependencies group with 2 updates: golang.org/x/crypto and golang.org/x/sys.

Updates golang.org/x/crypto from 0.26.0 to 0.27.0

Commits
  • c9da6b9 all: fix printf(var) mistakes detected by latest printf checker
  • b35ab4f go.mod: update golang.org/x dependencies
  • bcb0f91 internal/poly1305: Port sum_amd64.s to Avo
  • 7eace71 chacha20poly1305: Avo port of chacha20poly1305_amd64.s
  • 620dfbc salsa20/salsa: Port salsa20_amd64.s to Avo
  • 82942cf blake2b: port blake2b_amd64.s to Avo
  • 0484c26 blake2b: port blake2bAVX2_amd64.s to Avo
  • 38ed1bc blake2s: port blake2s_amd64.s to Avo
  • 38a0b5d argon2: Avo port of blamka_amd64.s
  • bf5f14f x509roots/fallback: update bundle
  • Additional commits viewable in compare view

Updates golang.org/x/sys from 0.24.0 to 0.25.0

Commits
  • a43b625 windows: add SIO_UDP_NETRESET constant
  • ed67b15 windows: add console codepage api
  • 9cb830b unix: add missing import to syscall_hurd.go
  • 71132f5 unix: add POLLRDHUP to FreeBSD
  • 3283fc3 cpu: add support for detecting RISC-V extensions
  • 29e55b2 unix: use os.Executable rather than os.Args[0] in tests
  • a8c5219 unix: rename XDPUmemReg field back to Size
  • 59665e5 unix: add Connectx for darwin
  • a0c72ef unix: add f_flag member flags on z/OS
  • c64c51d unix: update riscv64 hwprobe to Linux kernel 6.10
  • Additional commits viewable in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Sep 4, 2024

The failed and succesful logic changed slightly when migrating to the v2 consensus causing some contracts that were considered failed to be changed to successful. This enables that transition instead of crashing.

Sep 3, 2024

Bumps the all-dependencies group with 2 updates: github.com/cloudflare/cloudflare-go and nhooyr.io/websocket.

Updates github.com/cloudflare/cloudflare-go from 0.102.0 to 0.103.0

Release notes

Sourced from github.com/cloudflare/cloudflare-go's releases.

v0.103.0

ENHANCEMENTS:

  • errors: implement the Unwrap method for custom error types to access the wrapped errors via errors.Is and errors.As (#2857)
  • rulesets: add "contains" field to custom cache key header (#2935)
  • teams_certificates: renamed enabled to in_use (#2937)
  • waiting_room: add support for enabled_origin_commands (#2931)

DEPENDENCIES:

  • deps: bumps github.com/urfave/cli/v2 from 2.27.3 to 2.27.4 (#2863)
Changelog

Sourced from github.com/cloudflare/cloudflare-go's changelog.

0.103.0 (August 28th, 2024)

ENHANCEMENTS:

  • errors: implement the Unwrap method for custom error types to access the wrapped errors via errors.Is and errors.As (#2857)
  • rulesets: add "contains" field to custom cache key header (#2935)
  • teams_certificates: renamed enabled to in_use (#2937)
  • waiting_room: add support for enabled_origin_commands (#2931)

DEPENDENCIES:

  • deps: bumps github.com/urfave/cli/v2 from 2.27.3 to 2.27.4 (#2863)
Commits
  • c8841b9 Update CHANGELOG.md
  • f484daa generate changelog
  • 1cc0e61 Merge pull request #2937 from alyssamw/master
  • b7939eb Update .changelog/2937.txt
  • 9f93802 Merge pull request #2935 from anthocf/anthocf/cache-key-headers-contains
  • 3fb0362 Update .changelog/2935.txt
  • 3a85591 rename enabled to in use for gateway certificates
  • daafdee add "contains" field to custom cache key
  • e4ee7f2 Merge pull request #2857 from favonia/unwrap-errors
  • 60f64ed Merge pull request #2932 from OilyLime/hyperdrive-binding
  • Additional commits viewable in compare view

Updates nhooyr.io/websocket from 1.8.11 to 1.8.17

Release notes

Sourced from nhooyr.io/websocket's releases.

v1.8.17

  • This library is now deprecated. Please do not use this library any longer at the nhooyr.io/websocket import path. It will not receive any further updates. Coder is now maintaining it at https://github.com/coder/websocket under the github.com/coder/websocket import path.

v1.8.16

  • Please do not use this library any longer at the nhooyr.io/websocket import path as it is deprecated. It will not receive any maintenance updates. Coder is maintaining it now at https://github.com/coder/websocket under the github.com/coder/websocket import path.

v1.8.15

  • Please do not use this library any longer at the nhooyr.io/websocket import path as it is deprecated. It will not receive any maintenance updates. Coder is maintaining it now at https://github.com/coder/websocket under the github.com/coder/websocket import path.

v1.8.14

  • Please do not use this library any longer at the nhooyr.io/websocket import path as it is deprecated. It will not receive any maintenance updates. Coder is maintaining it now at https://github.com/coder/websocket under the github.com/coder/websocket import path.
Commits

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Sep 2, 2024
Sep 2, 2024

Enables --network=anagami

Sep 2, 2024
Sep 1, 2024
Sep 1, 2024
Sep 1, 2024

Fixes a validation regression in the core consensus allowing revisions with lower revision numbers in the same block.

Sep 1, 2024

TODO

  • Database migration
  • Reset consensus
  • Update UI #440
Sep 1, 2024

Changes endpoints without a response body to return 204 No Content instead of 200 OK

Aug 31, 2024

Add v2 apply/revert coverage for siacoin outputs, siafund outputs, file contracts, file contract revisions, and storage proofs as described in https://github.com/SiaFoundation/core/issues/191 and https://github.com/SiaFoundation/core/pull/187#issuecomment-2274189642

Aug 31, 2024
  • Added available environment variables found in main.go
  • Fixed yaml config structure in accordance with config/config.go
Aug 30, 2024

Adds a config option and CLI flag to disable auth on some endpoints when running walletd as a service. This option is intended to make it easier for wallet developers and exchanges to use walletd as part of their infrastructure.

walletd.yml:

http:
  publicEndpoints: true

CLI flag:

walletd --http.public
Aug 29, 2024

Add v1 apply/revert coverage for siacoin outputs, siafund outputs, file contracts, file contract revisions, and storage proofs as described in https://github.com/SiaFoundation/core/issues/191 and https://github.com/SiaFoundation/core/pull/187#issuecomment-2274189642

Aug 29, 2024
Aug 29, 2024

This was mistakenly upgraded

Aug 27, 2024

Bumps the all-dependencies group with 4 updates: github.com/cloudflare/cloudflare-go, go.sia.tech/core, go.sia.tech/coreutils and go.sia.tech/web/hostd.

Updates github.com/cloudflare/cloudflare-go from 0.101.0 to 0.102.0

Release notes

Sourced from github.com/cloudflare/cloudflare-go's releases.

v0.102.0

ENHANCEMENTS:

  • rulesets: Add DeleteRulesetRule (#2833)
  • rulesets: Export DeleteRulesetRuleParams fields (#2886)
  • teams_accounts: Add disable_for_time attribute (#2797)

DEPENDENCIES:

  • deps: bumps golang.org/x/net from 0.27.0 to 0.28.0 (#2835)
Changelog

Sourced from github.com/cloudflare/cloudflare-go's changelog.

0.102.0 (August 14th, 2024)

ENHANCEMENTS:

  • rulesets: Add DeleteRulesetRule (#2833)
  • rulesets: Export DeleteRulesetRuleParams fields (#2886)
  • teams_accounts: Add disable_for_time attribute (#2797)

DEPENDENCIES:

  • deps: bumps golang.org/x/net from 0.27.0 to 0.28.0 (#2835)
Commits
  • 694d59f Update CHANGELOG.md
  • 01784c5 Update CHANGELOG.md for #2797
  • 30dac60 Merge pull request #2797 from da-cf/support-teams-accounts-admin-override
  • 928fb7f Merge branch 'master' into support-teams-accounts-admin-override
  • 8cd3d9d Update CHANGELOG.md (Manual Trigger)
  • dbda9aa Merge pull request #2888 from tlimoncelli/tlim_crlf
  • 2ddd86b Merge pull request #2886 from tlimoncelli/tlim_b2885_exportfields
  • b3ec349 add changelog
  • 7f0dcbc cosmetic(crlf): Fix CRLF line endings
  • d0e24f1 Add changelog
  • Additional commits viewable in compare view

Updates go.sia.tech/core from 0.4.3 to 0.4.4

Commits
  • ebc804c Merge pull request #190 from SiaFoundation/create-attestations
  • faa6c86 consensus: Mark attestation elements as created
  • 9dffffb Merge pull request #188 from SiaFoundation:revision-window
  • ccf1fd7 consensus: Add TestWindowRevision
  • 9a56fba Merge pull request #189 from SiaFoundation/dependabot/go_modules/all-dependen...
  • 04c69e1 build(deps): bump the all-dependencies group with 2 updates
  • 07c9bc5 consensus: Disallow contract revision after proof window opens
  • See full diff in compare view

Updates go.sia.tech/coreutils from 0.2.5 to 0.3.0

Commits
  • 1c4c895 ci: skip test build
  • 48d2bed ci: use centralized workflow
  • 14b0a04 deps: update core
  • e59f706 Merge pull request #88 from SiaFoundation/anagami-reset
  • f495292 chain: change foundation primary
  • 81834af chain: add docstring
  • bf73762 reset anagami network
  • 6bd5795 Merge pull request #87 from SiaFoundation/revert-expiration
  • fee4ef5 chain: Revert confusion in revision expiration reversion
  • 40722f8 Merge pull request #86 from SiaFoundation/nate/attestation-tests
  • Additional commits viewable in compare view

Updates go.sia.tech/web/hostd from 0.45.1 to 0.46.0

Release notes

Sourced from go.sia.tech/web/hostd's releases.

[email protected]

Minor Changes

  • a64f40cc: Sync status is now determined by whether the last block's timestamp is within the last 12 hours.
  • a64f40cc: The app has been updated to use the new v2 endpoints and data types. Closes SiaFoundation/hostd#440
  • a64f40cc: Transaction types have been refined to include new v2 derived transaction types.
  • a64f40cc: The wallet balance tip now includes an immature balance.
Commits
  • 4902aaa chore: release packages
  • 70d9d60 chore: prettier revert proseWrap
  • d4c828e fix: website sia-ui downloads
  • a64f40c feat: hostd v2 changes
  • a6c956e refactor: react-core docs, cleanup
  • eabad8c feat: renterd price pinning
  • 54d1490 chore: prettier proseWrap
  • ce89b99 fix: renterd network names
  • 4bb128d fix: renterd uploads new intermediate directories
  • 6ad3f2f feat: renterd price pinning library changes
  • Additional commits viewable in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Aug 21, 2024
Aug 20, 2024

Bumps the all-dependencies group with 2 updates: github.com/cloudflare/cloudflare-go and go.sia.tech/web/hostd.

Updates github.com/cloudflare/cloudflare-go from 0.101.0 to 0.102.0

Release notes

Sourced from github.com/cloudflare/cloudflare-go's releases.

v0.102.0

ENHANCEMENTS:

  • rulesets: Add DeleteRulesetRule (#2833)
  • rulesets: Export DeleteRulesetRuleParams fields (#2886)
  • teams_accounts: Add disable_for_time attribute (#2797)

DEPENDENCIES:

  • deps: bumps golang.org/x/net from 0.27.0 to 0.28.0 (#2835)
Changelog

Sourced from github.com/cloudflare/cloudflare-go's changelog.

0.102.0 (August 14th, 2024)

ENHANCEMENTS:

  • rulesets: Add DeleteRulesetRule (#2833)
  • rulesets: Export DeleteRulesetRuleParams fields (#2886)
  • teams_accounts: Add disable_for_time attribute (#2797)

DEPENDENCIES:

  • deps: bumps golang.org/x/net from 0.27.0 to 0.28.0 (#2835)
Commits
  • 694d59f Update CHANGELOG.md
  • 01784c5 Update CHANGELOG.md for #2797
  • 30dac60 Merge pull request #2797 from da-cf/support-teams-accounts-admin-override
  • 928fb7f Merge branch 'master' into support-teams-accounts-admin-override
  • 8cd3d9d Update CHANGELOG.md (Manual Trigger)
  • dbda9aa Merge pull request #2888 from tlimoncelli/tlim_crlf
  • 2ddd86b Merge pull request #2886 from tlimoncelli/tlim_b2885_exportfields
  • b3ec349 add changelog
  • 7f0dcbc cosmetic(crlf): Fix CRLF line endings
  • d0e24f1 Add changelog
  • Additional commits viewable in compare view

Updates go.sia.tech/web/hostd from 0.45.1 to 0.46.0

Release notes

Sourced from go.sia.tech/web/hostd's releases.

[email protected]

Minor Changes

  • a64f40cc: Sync status is now determined by whether the last block's timestamp is within the last 12 hours.
  • a64f40cc: The app has been updated to use the new v2 endpoints and data types. Closes SiaFoundation/hostd#440
  • a64f40cc: Transaction types have been refined to include new v2 derived transaction types.
  • a64f40cc: The wallet balance tip now includes an immature balance.
Commits
  • 4902aaa chore: release packages
  • 70d9d60 chore: prettier revert proseWrap
  • d4c828e fix: website sia-ui downloads
  • a64f40c feat: hostd v2 changes
  • a6c956e refactor: react-core docs, cleanup
  • eabad8c feat: renterd price pinning
  • 54d1490 chore: prettier proseWrap
  • ce89b99 fix: renterd network names
  • 4bb128d fix: renterd uploads new intermediate directories
  • 6ad3f2f feat: renterd price pinning library changes
  • Additional commits viewable in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Aug 20, 2024

Hosts return ErrHostInternalError when trying to read a sector that can't be found, we can safely expose that error.

Aug 16, 2024
Aug 16, 2024
  • a64f40cc: Transaction types have been refined to include new v2 derived transaction types.
  • a64f40cc: Event and transaction utility methods have been moved to the units library.
Aug 14, 2024
Aug 14, 2024

While I was browsing the accounts code I found that both CreditAccountWithContract and DebitAccount don't actually return the account balance because of scoping. Since those return variables weren't being used I figured we might as well get rid of them.

Aug 14, 2024
Aug 14, 2024

Attestations were being treated as "updated" instead of "created," causing various accumulator-related panics.

Fixes https://github.com/SiaFoundation/coreutils/pull/86

Aug 13, 2024

This PR adds issue templates similar to renterds.

Aug 13, 2024

Bumps the all-dependencies group with 1 update: golang.org/x/term.

Updates golang.org/x/term from 0.22.0 to 0.23.0

Commits

Dependabot compatibility score

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Aug 13, 2024

Bumps the all-dependencies group with 5 updates:

PackageFromTo
go.sia.tech/core0.4.10.4.3
go.sia.tech/coreutils0.2.10.2.5
golang.org/x/sys0.23.00.24.0
golang.org/x/term0.22.00.23.0
nhooyr.io/websocket1.8.111.8.17

Updates go.sia.tech/core from 0.4.1 to 0.4.3

Commits
  • 4dfdbd9 types: omit merkleproof field from JSON when empty
  • 41ed190 Merge pull request #187 from SiaFoundation/revert-revision
  • 025d4a6 consensus: Add TestRevertedRevisionLeaf
  • 523c0be consensus: Skip irrelevant elements in ForEachTreeNode
  • a1a2c3f consensus: Add (*MidState).forEachRevertedElement
  • 17f466f Merge pull request #186 from SiaFoundation/dependabot/go_modules/all-dependen...
  • 6943478 build(deps): bump golang.org/x/sys in the all-dependencies group
  • 2b1c3d8 Merge pull request #185 from SiaFoundation/nate/json-update-missed-proof
  • 9ae5cfa types: use const instead of magic strings for v2 resolutions
  • 698efe3 consensus: add MissedProofs to update structs
  • See full diff in compare view

Updates go.sia.tech/coreutils from 0.2.1 to 0.2.5

Commits
  • a9618c2 deps: update dependencies
  • 05864d0 wallet: clear event proofs
  • 02c8b1f Merge pull request #84 from SiaFoundation/nate/unify-wallet-types
  • 585837f testutil: fix lint
  • b680c3b wallet: make event structs consistent across all apps
  • becc186 testutil: add v2 testnet, remove unused field
  • a70e251 Merge pull request #81 from SiaFoundation/chris/fund-fix
  • 3e2d37d chain: Add (*Manager).V2UnconfirmedParents
  • c13491e wallet: Fix ephemeral output handling
  • bf9cb54 Merge pull request #83 from SiaFoundation/chris/anagami
  • Additional commits viewable in compare view

Updates golang.org/x/sys from 0.23.0 to 0.24.0

Commits
  • 914deed unix: add missing ETHTOOL_FLAG_ constants
  • 4c7077e windows: add enums for IpAdapterUnicastAddress
  • 29298aa windows: delete TestGetKeyboardLayout
  • See full diff in compare view

Updates golang.org/x/term from 0.22.0 to 0.23.0

Commits

Updates nhooyr.io/websocket from 1.8.11 to 1.8.17

Release notes

Sourced from nhooyr.io/websocket's releases.

v1.8.17

  • This library is now deprecated. Please do not use this library any longer at the nhooyr.io/websocket import path. It will not receive any further updates. Coder is now maintaining it at https://github.com/coder/websocket under the github.com/coder/websocket import path.

v1.8.16

  • Please do not use this library any longer at the nhooyr.io/websocket import path as it is deprecated. It will not receive any maintenance updates. Coder is maintaining it now at https://github.com/coder/websocket under the github.com/coder/websocket import path.

v1.8.15

  • Please do not use this library any longer at the nhooyr.io/websocket import path as it is deprecated. It will not receive any maintenance updates. Coder is maintaining it now at https://github.com/coder/websocket under the github.com/coder/websocket import path.

v1.8.14

  • Please do not use this library any longer at the nhooyr.io/websocket import path as it is deprecated. It will not receive any maintenance updates. Coder is maintaining it now at https://github.com/coder/websocket under the github.com/coder/websocket import path.
Commits

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Aug 12, 2024

Slightly worrisome that I missed this check when porting siad... 👀 This demonstrates why it's insufficient to rely on the fact that core can sync the existing chain: those are all valid blocks. Syncing mainnet tells us nothing about whether core will behave the same as siad with respect to invalid blocks. So we should probably use the fuzzer to pass blocks to both core and siad, checking that either they both accept or both reject.

Aug 12, 2024

Bumps the all-dependencies group with 2 updates: golang.org/x/crypto and golang.org/x/sys.

Updates golang.org/x/crypto from 0.25.0 to 0.26.0

Commits
  • 5bcd010 go.mod: update golang.org/x dependencies
  • 3375612 ssh: add support for unpadded RSA signatures
  • bb80217 ssh: don't use dsa keys in integration tests
  • 6879722 ssh: remove go 1.21+ dependency on slices
  • e983fa2 sha3: Avo port of keccakf_amd64.s
  • 80fd972 LICENSE: update per Google Legal
  • f2bc3a6 x509roots/fallback/internal/goissue52287: delete
  • d66d9c3 x509roots/fallback: update bundle
  • See full diff in compare view

Updates golang.org/x/sys from 0.23.0 to 0.24.0

Commits
  • 914deed unix: add missing ETHTOOL_FLAG_ constants
  • 4c7077e windows: add enums for IpAdapterUnicastAddress
  • 29298aa windows: delete TestGetKeyboardLayout
  • See full diff in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Aug 9, 2024

Changes the wallet types to use coreutils. This does not change the encoding of the types. Requires https://github.com/SiaFoundation/coreutils/pull/84

Aug 7, 2024

Updates core and coreutils to fix the reorg issue and refactors the node startup to be inline with explored and hostd

Aug 7, 2024

When iterating over the elements in a MidState, we need to be careful with regard to contract revisions. When applying a block, we want to report the latest revision; but when reverting, we want to report the earliest. Unfortunately, this asymmetry was overlooked, leading to a rather pernicious bug: when a block containing a revision is reverted, the Merkle tree is still contains the revision, not the original contract.

It's pernicious because A) reorgs are fairly uncommon, and B) the reorg has to contain a revision, and also C) redundancy in the DB code means that the invalid hashes may be overwritten by valid ones, masking the problem. That's likely why we only discovered this bug after adding a sanity check that validates every block supplement. Sure, our consensus tests are a bit lacking when it comes to file contracts -- I don't think there are any involving both a revision and a reorg! -- but the nature of this bug makes me wonder if it would have eluded detection anyway.

If you've been running a core node long enough to observe a reorg, there's a decent chance your Merkle tree is (very slightly) wrong. This can probably be fixed by updating and then manually reverting and re-applying a lot of blocks... but resyncing from genesis is the best way to be sure your state is ok. 🙃

Aug 5, 2024

Bumps the all-dependencies group with 1 update: golang.org/x/sys.

Updates golang.org/x/sys from 0.22.0 to 0.23.0

Commits
  • aa1c4c8 unix: provide Mount on openbsd
  • cde4660 unix: add linux mseal system call
  • 31ef9e7 unix: update to Linux kernel 6.10
  • d03a807 unix: update glibc to 2.40
  • beb5949 windows: correctly generate GetAce syscall
  • 7bb0bf7 cpu: add Int8 matrix multiplication instructions CPU feature flag for ARM64
  • bce4cf7 windows: add GetKeyboardLayout & ToUnicodeEx
  • 0eac9b5 windows: add flags for GetAdaptersAddresses
  • 0c18c88 cpu: add DIT option and hwcap DIT support
  • dce4e64 LICENSE: update per Google Legal
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Jul 31, 2024

This is a smaller version of #158 that only adds the endpoints

Jul 31, 2024

Adds consensus update endpoints for retrieving block deltas and adds experimental support for using a remote consensus database for wallet state.

Jul 23, 2024

All v1 contracts are considered valid in the JSON representation regardless of their resolution. Adds an additional missed slice.

Jul 22, 2024

Core v0.4.1 fixed the serialization of V2FileContractFinalization

Jul 19, 2024
Jul 17, 2024

This field does not follow the consistent use of camelCase for JSON serialization.

Jul 17, 2024

Adds two new endpoints /outputs/siacoin/:id and /outputs/siafund/:id to lookup utxos by ID. These endpoints are intended only for nodes in full index mode.

Jul 16, 2024

Bumps the all-dependencies group with 2 updates: go.sia.tech/core and go.sia.tech/coreutils.

Updates go.sia.tech/core from 0.3.0 to 0.3.1

Commits
  • 12fc9fb consensus: Add validateSupplement
  • db1b4ea types: Fix PolicyTypeUnlockConditions validation
  • b24c351 Merge pull request #179 from SiaFoundation/sp-whitespace
  • 299bf42 Merge pull request #178 from SiaFoundation/dependabot/go_modules/all-dependen...
  • aef43ff types: Handle whitespace in SpendPolicy encoding
  • eb4f71a build(deps): bump the all-dependencies group with 2 updates
  • See full diff in compare view

Updates go.sia.tech/coreutils from 0.1.0 to 0.1.2

Commits
  • 11bcc7b Merge pull request #69 from SiaFoundation/chris/fix-syncer-connect
  • b87f104 fix allowConnect
  • 5b6af68 Merge pull request #68 from SiaFoundation/dependabot/go_modules/golang.org/x/...
  • dea812b Merge pull request #67 from SiaFoundation/chris/connect-dns
  • 429d31d build(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0
  • 657868e syncer: resolve domain before checking if peer is banned
  • 4a9f0a6 Merge pull request #66 from SiaFoundation/nate/update-bootstrap-peers
  • fbd7056 syncer: update zen bootstrap peer list
  • See full diff in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Jul 16, 2024
  • Fixes an off-by-one error in the event maturity heights
  • Fixes the JSON encoding of EventV2ContractResolution due to the embedded types.V2FileContractResolution field
  • Adds sanity testing for each event type
Jul 16, 2024

The expression-based SpendPolicy encoding is more compact and easier to read, but using it as the standard JSON encoding means that all clients have to write a custom rule, which is annoying. Since most users won't be looking at raw JSON anyway, we might as well make life a bit easier for our devs by switch to a more conventional structural encoding. (Note, however, that we still intend to use the expression-based encoding when displaying policies in UIs.)

Thanks to @Alrighttt for surfacing this.

Old:

thresh(2, [
  above(100),
  pk(0x111d2995afa8bf162180a647b9f1eb6a275fe8818e836b69b351871d5caf9c590ed25aec0616),
  thresh(2, [
    above(200),
    pk(0x111d2995afa8bf162180a647b9f1eb6a275fe8818e836b69b351871d5caf9c590ed25aec0616),
  ]),
]),

New:

{
  "type": "thresh",
  "policy": {
    "n": 2,
    "of": [
      {
        "type": "above",
        "policy": 100
      },
      {
        "type": "pk",
        "policy": "ed25519:111d2995afa8bf162180a647b9f1eb6a275fe8818e836b69b351871d5caf9c590ed25aec0616"
      },
      {
        "type": "thresh",
        "policy": {
          "n": 2,
          "of": [
            {
              "type": "above",
              "policy": 200
            },
            {
              "type": "pk",
              "policy": "ed25519:111d2995afa8bf162180a647b9f1eb6a275fe8818e836b69b351871d5caf9c590ed25aec0616"
            }
          ]
        }
      }
    ]
  }
}
Jul 16, 2024

This enables consensus "subscription" over HTTP, which in turn allows nodes running on the same machine to share a consensus.db. See https://github.com/SiaFoundation/core/pull/180

This is an unfortunate amount of code. It could be shrunk a little by factoring out the MidState marshaling but... meh. It's not the end of the world.

Jul 12, 2024

This is a testing PR for all event types and not intended to be merged

Jul 11, 2024
Jul 10, 2024

Specifiers were always intended to be human-readable IDs. This codifies that by escaping non-alphanumeric specifiers during marshaling. Alphanumeric specifiers are marshaled exactly the same as before.

Non-alphanumeric specifiers are fairly rare. The most common offending character is " ", which shows up in v1 specifiers like "siacoin output". Also, an early version of the RHP used raw integers in some of its RPC IDs (e.g. "RPCDownload\x02"), but those RPCs have been obsolete for many years at this point.

Specifiers are primarily seen in two places: UnlockKey algorithms in transaction inputs, and RPC IDs in logs. The latter are developer chosen, so nothing will change there. As for the former, users can technically set the algorithm to whatever they want, but doing so exposes their SC to possible theft, so there is basically no reason to do it. Probably >99% of algorithms are "ed25519", so again, no change.

I also decided to add length validation in NewSpecifier. While this is a little annoying, there's no question that silently truncating to 16 bytes has the potential to cause bugs. For example, because of this change, I discovered that "RelayTransactionSet" is actually sent over the wire as "RelayTransaction"! If we had added an RPC for sending a single transaction and called it "RelayTransaction", those IDs would have collided.

Jul 9, 2024

Previously, ValidateBlock (and by extension, ApplyBlock) assumed that the supplied V1BlockSupplement was valid. This is not entirely unreasonable, since the supplement is computed locally -- unlike the Block itself, it is not directly manipulable by an attacker. However, even if a local computation isn't malicious, it can still be buggy! And indeed, we recently discovered that the consensusDB helper in validation_test.go was not updating the Merkle proofs of its elements, which ultimately lead to a panic in ApplyBlock.

This PR adds a validateSupplement step to ApplyBlock, which ensures that all of the state elements in the supplement exist in the accumulator (and have not been spent or resolved). Note that this is different from how we handle accumulator checks in v2 transactions: in v2, we check the Merkle proofs individually (e.g. in validateV2Siacoins), whereas with v1 we validate all of the proofs in one place. Each strategy has its pros and cons; personally, doing accumulator checks in v1 validation functions just felt a bit out-of-place to me. Besides, there are other checks that need to be performed for the supplement, so centralizing them seemed sensible.

Jul 9, 2024

The old implementation was broken, as evidenced by the test cases I added. Specifically, we were implementing this policy in terms of PolicyThreshold, but PolicyThreshold requires you to mask any unused public keys with PolicyOpaque, which PolicyTypeUnlockConditions can't do. We also now handle algorithms other than SpecifierEd25519 correctly. Overall, this brings validation into agreement with consensus.validateSignatures. We can't match its behavior exactly (because v1 transactions contain a list signatures that target specific inputs, while v2 transaction inputs carry their signatures with them), but that's fine; we just need to ensure that any UnlockConditions that were satisfiable in v1 are also satisfiable in v2.

Jul 9, 2024

Bumps the all-dependencies group with 1 update: golang.org/x/term.

Updates golang.org/x/term from 0.21.0 to 0.22.0

Commits

Dependabot compatibility score

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Jul 8, 2024
Jul 8, 2024

Bumps the all-dependencies group with 2 updates: golang.org/x/crypto and golang.org/x/sys.

Updates golang.org/x/crypto from 0.24.0 to 0.25.0

Commits
  • 9fadb0b go.mod: update golang.org/x dependencies
  • a6a393f all: bump go.mod version and drop compatibility shims
  • 1c74500 ssh/test: make struct comment match struct name
  • d4e7c9c ssh: fail client auth immediately on receiving disconnect message
  • See full diff in compare view

Updates golang.org/x/sys from 0.21.0 to 0.22.0

Commits
  • faed7ec unix: add PthreadChdir and PthreadFchdir on darwin
  • c892bb7 unix: fix MmapPtr test failing on OpenBSD
  • a0ef40a unix: fix MremapPtr test failing on NetBSD
  • daa2394 unix: add unsafe mmap, munmap, mremap
  • 7670087 windows: add GetAce Windows API
  • 348425a windows/svc: do not pass theService to windows.RegisterServiceCtrlHandlerEx
  • See full diff in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
Jun 28, 2024

/wallet/:id/events can be slow in full index mode when the wallet has no events. Adds a check to make sure the wallet has events before running the more expensive events query.

Jun 27, 2024
Jun 27, 2024

This adds a created bool argument to the (Update).ForEach methods, allowing callers to identify ephemeral elements by checking for created && spent (or, in the case of file contracts, created && resolved.

This is very useful for any callers who care about persistently tracking unspent outputs. Normally, the code for doing so looks like this:

cau.ForEachSiacoinElement(func(sce types.SiacoinElement, spent bool) {
    if spent {
        deleteUTXO(sce.ID)
    } else {
        insertUTXO(sce)
    }
})

but this is subtly buggy: if the element was ephemeral, spent will be true, so we'll try to delete it; but since it's ephemeral, it's not in the set, so there's nothing to delete! Whether or not this causes problems depends on how deleteUTXO is implemented. Specifically, if you assert that an element must exist in order to be deleted, that assert will fail.

To avoid this, we need a way to detect whether an element is ephemeral. chain.DBStore attempted to do this by checking sce.LeafIndex == types.EphemeralLeafIndex. However, this doesn't work: ephemeral elements are assigned leaf indices just like regular outputs, so that condition is never satisfied! This eventually lead to a panic: ephemeral outputs within a reverted block would be added to the UTXO set (instead of being ignored), and if a future block references that same output, the DB gets confused and crashes.

Adding a created flag seemed like the most direct of doing this. Another option would be to always skip the ephemeral elements in the ForEach methods, and add a new method (or methods) for accessing only the ephemeral elements. This is attractive, since it doesn't break any existing code, and most callers want to skip ephemeral elements anyway. Ultimately, though, I decided against it; it pollutes the namespace, and it's one more thing you "just need to know" in order to use the API properly. Plus it makes the name "ForEach" a lie. Better to keep everything in one place.

Jun 25, 2024

This changes the policy to stringify and parse the unlock key in the v1 format specifier:hex key. You can currently create a valid PolicyTypeUnlockCondition using an UnlockKey without an ed25519 algorithm, but can't reverse it. This doesn't cause any issues since the v2 validation checks will reject it, but it's slightly annoying that a valid serialization can't be reversed.

also: I could be wrong, but I believe v1 treated unlock conditions with unknown key algorithms as, effectively, anyone-can-spend. I'm not sure if it was ever actually seen on-chain, but after the require height any unlock condition that used a different algorithm will no longer be spendable.

Current:

sp := SpendPolicy{PolicyTypeUnlockConditions(UnlockConditions{
	Timelock: 0,
	PublicKeys: []UnlockKey{
		{
			Algorithm: NewSpecifier("blank"),
			Key:       frand.Bytes(40),
		},
	},
	SignaturesRequired: 1,
})}
sp.String() // uc(0,[0x97ef92d4c07713b7a3a0e17000e59a9ef6e27402eaef0b5c9ae5cb0da50a78dd0a04e63d0e78e60d],1)

New:

sp := SpendPolicy{PolicyTypeUnlockConditions(UnlockConditions{
	Timelock: 0,
	PublicKeys: []UnlockKey{
		{
			Algorithm: NewSpecifier("blank"),
			Key:       frand.Bytes(40),
		},
	},
	SignaturesRequired: 1,
})}
sp.String() // uc(0,[blank:97ef92d4c07713b7a3a0e17000e59a9ef6e27402eaef0b5c9ae5cb0da50a78dd0a04e63d0e78e60d],1)