Activity

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

Dec 20, 2024
Dec 20, 2024
  • Tests for renterd files and uploads pagination.
  • Test for hostd contracts and volumes pagination.
  • e2e: Added support for uploading files of a specific size.
Dec 20, 2024
  • Refactors duplicated column filtering code into the useTableState hook.
  • Refines naming to make the purpose more clear.
Dec 20, 2024

Updates the UI to v0.54.1 updates the net address placeholder on the configuration page

Dec 20, 2024
  • This PR cleans up "dataset" related code and makes it consistent across all apps in terms of prop names, pagination (marker and offset), and empty state handling.
  • These changes fix some related bugs along the way such as with paginating the files and uploads and adding missing empty states for all data tables.
  • The PR largely consists of applying identical changes across all dataset instances.
  • The term "dataset" is used to refer to collections of data, some datasets are filtered and paginated on the server others on the client.
  • Refactored useDatasetState to include a noneOnPage state, a renamed loaded state, and a more explicit API.
  • Added EmptyState component for handling all dataset empty states with custom or default components.
  • Data tables now show an empty state when viewing a page greater than the first page with no data.
  • Added maybeFromNullishArrayResponse for casting null empty array responses to [].
  • PaginationMarker now takes an explicit nextMarker and also an optional marker. If the current marker is not passed at all, previous page navigation is always enabled.
  • Fixed a bug where pagination did now work on the file explorer.
  • Fixed a bug where pagination did now work on the file uploads list.
  • Host and contract responses are now Nullable rather than Maybe, since empty responses return null.
  • Fixed a bug where the transaction list would show pending transactions when viewing pages other than the first page.
Dec 20, 2024

The following feature have been removed, relates to https://github.com/SiaFoundation/renterd/issues/1747

  • The contracts explorer no longer includes a column for host IP.
  • The contracts explorer no longer supports filtering by host IP.
  • The contracts multi-select menu no longer supports bulk blocklist actions.
  • The blocklist dialog no longer shows how many active contacts match a suggestion.
Dec 20, 2024

Changes the Knope config to exclude conventional commits so that only explicit change set files will be included in the final change log.

Dec 20, 2024

v2.0.0 has a number of config changes that are incompatible with existing configs. Currently, hostd will exit if the config contains unexpected fields. This adds support for upgrading an existing v1.1.2 config file to the v2.0.0 config format.

Dec 19, 2024
  • Updates core and coreutils to v0.9.0 to fully support the V2 hardfork.
  • Updates the UI to make the net address changes clearer
Dec 19, 2024
  • Fixed an issue with the copy file metadata action in the file context menu.
  • The object response has been updated in v2.
Dec 19, 2024
  • Fixed an issue where selecting the entire page of files would select the parent navigation row.
Dec 19, 2024
Dec 19, 2024
  • The host and contracts multi-select menus both now include an option to rescan the selected hosts.
Screenshot 2024-12-16 at 11 12 05 AM
Dec 19, 2024
Dec 19, 2024
Dec 19, 2024

Fixes an NDF in TestContractLifecycle when running on slow CI nodes

Dec 19, 2024

Fixes a panic that occurs when the consensus database is deleted and the node is attempting to sync. This will remove all existing consensus state from the database and rescan from genesis without affecting the wallet data.

Fixes #204

Dec 19, 2024

Fixes a bug I encountered while testing where deleting the settings from the database caused uploads to fail rather than using the defaults as intended.

Dec 19, 2024

This PR fixes all the NDFs apart from the panic which we will need to fix in coreutils.

Dec 19, 2024
Dec 18, 2024

This PR was created automatically. Merging it will create a new release for 0.9.0

  • Add host public key to AccountToken
  • Add helper for generating account tokens
  • Allow v1 contracts to be resolved immediately
Dec 18, 2024
Dec 18, 2024

After careful testing, I found that siad does allow a contract to be resolved within the same block it was created. In short:

  • Contracts must have a WindowStart of at least currentHeight+1
  • Storage proofs check that currentHeight is not greater than the "trigger height," which is WindowStart - 1
  • Therefore, if you create a contract with WindowStart = currentHeight + 1, its trigger height will be currentHeight, so a storage proof is allowed.

So in fact, you can create, revise, and resolve a v1 contract all in the same block! (On that note, the update docstrings are more descriptive now.)

Note that v2 contracts do NOT share this property. There is no such thing as an ephemeral v2 contract; that is, you can't use types.UnassignedLeafIndex when referencing a v2 contract. (We could support this, but I see little reason to.)

Lastly, I improved the validation tests by checking for specific error strings, and switched the consensus errors to use %v formatting for SC amounts, rather than Hastings.

Dec 18, 2024

Screenshot 2024-12-17 at 1.36.12 PM.png

I played with the positioning of these two buttons (next to block height, center, etc) and whether to write out "previous block" and "next block" or not. I settled with this and a tooltip. Included catching the < 1 and > current block height cases.

Dec 18, 2024
Dec 18, 2024
Dec 18, 2024
Dec 18, 2024

Routes added:

  • /contract
  • /hosts
  • /host
  • /metric
  • /multipart
  • /objects
  • /object
  • /params
  • /slabbuffers
  • /sectors
  • /settings
  • /slabs
  • /state
  • /stats
  • /system
  • /upload
  • /webhooks
Dec 18, 2024
Dec 18, 2024
Dec 18, 2024

The net address in the host settings was changed to only include the hostname instead of hostname:port. This broke DDNS updates as the port was still expected to be on the hostname. This adds additional validation to the host's net address setting and fixes DDNS updates.

Dec 17, 2024
Dec 17, 2024
  • Remove left over code from a hostd API that has been removed.
Dec 17, 2024

Adds a helper for generating a signed RHP4 account token

Dec 17, 2024

Bumps the dependencies group with 1 update in the / directory: go.sia.tech/web/hostd.

Updates go.sia.tech/web/hostd from 0.52.0 to 0.53.0

Release notes

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

[email protected]

Minor Changes

  • c909ad28: Multi-select now supports single select, toggle select, and range selection interactions, with click, ctrl-click, and shift-click.
Commits
  • 11aff94 chore: release packages
  • c909ad2 refactor: improve multiselect behaviours
  • f3d2a95 chore: export renterd/v0.68.0 hostd/v0.52.0 walletd/v0.25.0
  • See full diff 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
Dec 17, 2024

Bumps the dependencies group with 3 updates: go.sia.tech/core, go.sia.tech/coreutils and go.sia.tech/web/hostd.

Updates go.sia.tech/core from 0.7.1 to 0.8.0

Release notes

Sourced from go.sia.tech/core's releases.

0.8.0 (2024-12-13)

Breaking Changes

Add revisable to RPCLatestRevision

Adds two additional flags to the RPCLatestRevision response. The Revisable field indicates whether the host will accept further revisions to the contract. A host will not accept revisions too close to the proof window or revisions on contracts that have already been resolved. The Renewed field indicates whether the contract was renewed. If the contract was renewed, the renter can use FileContractID.V2RenewalID to get the ID of the new contract.

0.7.3 (2024-12-12)

Features

  • Update golang.org/x/crypto from 0.30.0 to 0.31.0

0.7.2 (2024-12-12)

Features

Allow revisions to set MaxRevisionNumber

MaxRevisionNumber was previously used to finalize contracts, but that is not the case anymore, so the restriction can be removed.

Fixes

  • Include storage cost in renter renewal cost
Changelog

Sourced from go.sia.tech/core's changelog.

0.8.0 (2024-12-13)

Breaking Changes

Add revisable to RPCLatestRevision

Adds two additional flags to the RPCLatestRevision response. The Revisable field indicates whether the host will accept further revisions to the contract. A host will not accept revisions too close to the proof window or revisions on contracts that have already been resolved. The Renewed field indicates whether the contract was renewed. If the contract was renewed, the renter can use FileContractID.V2RenewalID to get the ID of the new contract.

0.7.3 (2024-12-12)

Features

  • Update golang.org/x/crypto from 0.30.0 to 0.31.0

0.7.2 (2024-12-12)

Features

Allow revisions to set MaxRevisionNumber

MaxRevisionNumber was previously used to finalize contracts, but that is not the case anymore, so the restriction can be removed.

Fixes

  • Include storage cost in renter renewal cost
Commits
  • b590860 Merge pull request #256 from SiaFoundation/release
  • 35e29c0 chore: prepare release 0.8.0
  • f81268e Merge pull request #255 from SiaFoundation/nate/rhp4-revision-revisable
  • 8383d65 improve docstring
  • 0875745 add revisable and renewed to RPCLatestRevision response
  • c36fa2a chore: fix go.mod version
  • 109d18f chore: fix missing changelog entry
  • 2321b69 chore: cleanup old changesets
  • 6fc49ab build(deps): bump golang.org/x/crypto in the go_modules group
  • 67ca48e chore: prepare release 0.7.2
  • Additional commits viewable in compare view

Updates go.sia.tech/coreutils from 0.7.1-0.20241203172514-7bf95dd18f31 to 0.8.0

Release notes

Sourced from go.sia.tech/coreutils's releases.

0.8.0 (2024-12-13)

Breaking Changes

Add revised and renewed fields to RPCLatestRevision

Adds two additional fields to the RPCLatestRevision response. The Revisable field indicates whether the host will accept further revisions to the contract. A host will not accept revisions too close to the proof window or revisions on contracts that have already been resolved. The Renewed field indicates whether the contract was renewed. If the contract was renewed, the renter can use FileContractID.V2RenewalID to get the ID of the new contract.

  • Remove unused duration param from rhp4.RPCWrite

Features

Add support for block pruning in v2

The chain manager can now automatically delete blocks after a configurable number of confirmations. Note that this does not apply retroactively.

Fixes

  • Return 0 balance for nonexistent accounts instead of an error
  • Extended TestRPCRenew and TestRPCRefresh with an initial sector upload
  • Fix panic when fetching block with empty block id from ChainManager
Changelog

Sourced from go.sia.tech/coreutils's changelog.

0.8.0 (2024-12-13)

Breaking Changes

Add revised and renewed fields to RPCLatestRevision

Adds two additional fields to the RPCLatestRevision response. The Revisable field indicates whether the host will accept further revisions to the contract. A host will not accept revisions too close to the proof window or revisions on contracts that have already been resolved. The Renewed field indicates whether the contract was renewed. If the contract was renewed, the renter can use FileContractID.V2RenewalID to get the ID of the new contract.

  • Remove unused duration param from rhp4.RPCWrite

Features

Add support for block pruning in v2

The chain manager can now automatically delete blocks after a configurable number of confirmations. Note that this does not apply retroactively.

Fixes

  • Return 0 balance for nonexistent accounts instead of an error
  • Extended TestRPCRenew and TestRPCRefresh with an initial sector upload
  • Fix panic when fetching block with empty block id from ChainManager
Commits

Updates go.sia.tech/web/hostd from 0.52.0 to 0.53.0

Release notes

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

[email protected]

Minor Changes

  • c909ad28: Multi-select now supports single select, toggle select, and range selection interactions, with click, ctrl-click, and shift-click.
Commits
  • 11aff94 chore: release packages
  • c909ad2 refactor: improve multiselect behaviours
  • f3d2a95 chore: export renterd/v0.68.0 hostd/v0.52.0 walletd/v0.25.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
Dec 17, 2024
Dec 17, 2024

Updates core and coreutils and adds integration tests for RHP4

Dec 17, 2024

Bumps the all-dependencies group with 3 updates: go.sia.tech/core, go.sia.tech/coreutils and go.sia.tech/web/walletd.

Updates go.sia.tech/core from 0.7.1 to 0.8.0

Release notes

Sourced from go.sia.tech/core's releases.

0.8.0 (2024-12-13)

Breaking Changes

Add revisable to RPCLatestRevision

Adds two additional flags to the RPCLatestRevision response. The Revisable field indicates whether the host will accept further revisions to the contract. A host will not accept revisions too close to the proof window or revisions on contracts that have already been resolved. The Renewed field indicates whether the contract was renewed. If the contract was renewed, the renter can use FileContractID.V2RenewalID to get the ID of the new contract.

0.7.3 (2024-12-12)

Features

  • Update golang.org/x/crypto from 0.30.0 to 0.31.0

0.7.2 (2024-12-12)

Features

Allow revisions to set MaxRevisionNumber

MaxRevisionNumber was previously used to finalize contracts, but that is not the case anymore, so the restriction can be removed.

Fixes

  • Include storage cost in renter renewal cost
Changelog

Sourced from go.sia.tech/core's changelog.

0.8.0 (2024-12-13)

Breaking Changes

Add revisable to RPCLatestRevision

Adds two additional flags to the RPCLatestRevision response. The Revisable field indicates whether the host will accept further revisions to the contract. A host will not accept revisions too close to the proof window or revisions on contracts that have already been resolved. The Renewed field indicates whether the contract was renewed. If the contract was renewed, the renter can use FileContractID.V2RenewalID to get the ID of the new contract.

0.7.3 (2024-12-12)

Features

  • Update golang.org/x/crypto from 0.30.0 to 0.31.0

0.7.2 (2024-12-12)

Features

Allow revisions to set MaxRevisionNumber

MaxRevisionNumber was previously used to finalize contracts, but that is not the case anymore, so the restriction can be removed.

Fixes

  • Include storage cost in renter renewal cost
Commits
  • b590860 Merge pull request #256 from SiaFoundation/release
  • 35e29c0 chore: prepare release 0.8.0
  • f81268e Merge pull request #255 from SiaFoundation/nate/rhp4-revision-revisable
  • 8383d65 improve docstring
  • 0875745 add revisable and renewed to RPCLatestRevision response
  • c36fa2a chore: fix go.mod version
  • 109d18f chore: fix missing changelog entry
  • 2321b69 chore: cleanup old changesets
  • 6fc49ab build(deps): bump golang.org/x/crypto in the go_modules group
  • 67ca48e chore: prepare release 0.7.2
  • Additional commits viewable in compare view

Updates go.sia.tech/coreutils from 0.7.1-0.20241203172514-7bf95dd18f31 to 0.8.0

Release notes

Sourced from go.sia.tech/coreutils's releases.

0.8.0 (2024-12-13)

Breaking Changes

Add revised and renewed fields to RPCLatestRevision

Adds two additional fields to the RPCLatestRevision response. The Revisable field indicates whether the host will accept further revisions to the contract. A host will not accept revisions too close to the proof window or revisions on contracts that have already been resolved. The Renewed field indicates whether the contract was renewed. If the contract was renewed, the renter can use FileContractID.V2RenewalID to get the ID of the new contract.

  • Remove unused duration param from rhp4.RPCWrite

Features

Add support for block pruning in v2

The chain manager can now automatically delete blocks after a configurable number of confirmations. Note that this does not apply retroactively.

Fixes

  • Return 0 balance for nonexistent accounts instead of an error
  • Extended TestRPCRenew and TestRPCRefresh with an initial sector upload
  • Fix panic when fetching block with empty block id from ChainManager
Changelog

Sourced from go.sia.tech/coreutils's changelog.

0.8.0 (2024-12-13)

Breaking Changes

Add revised and renewed fields to RPCLatestRevision

Adds two additional fields to the RPCLatestRevision response. The Revisable field indicates whether the host will accept further revisions to the contract. A host will not accept revisions too close to the proof window or revisions on contracts that have already been resolved. The Renewed field indicates whether the contract was renewed. If the contract was renewed, the renter can use FileContractID.V2RenewalID to get the ID of the new contract.

  • Remove unused duration param from rhp4.RPCWrite

Features

Add support for block pruning in v2

The chain manager can now automatically delete blocks after a configurable number of confirmations. Note that this does not apply retroactively.

Fixes

  • Return 0 balance for nonexistent accounts instead of an error
  • Extended TestRPCRenew and TestRPCRefresh with an initial sector upload
  • Fix panic when fetching block with empty block id from ChainManager
Commits

Updates go.sia.tech/web/walletd from 0.25.0 to 0.26.0

Release notes

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

[email protected]

Minor Changes

  • c909ad28: Multi-select now supports single select, toggle select, and range selection interactions, with click, ctrl-click, and shift-click.
Commits
  • e4c8aca chore: release packages
  • 5bcfaf6 ci: fix publishing copy prep script
  • 16b7df4 fix: renterd hostd wallet balance details
  • e04a35c fix: renterd and hostd wallet onboarding
  • c54455f fix: explorer siafund address total
  • 3c5f490 fix: explorer address transaction values
  • 723803a fix: explorer host error
  • 6fc53f4 fix: renterd onboarding, host setting
  • 7a0f954 fix: website map
  • 00041ed fix: website downloads
  • 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
Dec 17, 2024

The contract state was not being correctly handled when rescanning the blockchain leading to issues with metric calculation.

Dec 16, 2024
Dec 16, 2024
Dec 16, 2024
Dec 16, 2024
Dec 16, 2024

incrementContractUsage is called from updateContractUsage for distributeRHP3AccountUsage effectively doubling the contract usage columns.

Dec 16, 2024
Dec 16, 2024

Routes added:

  • consensus
  • /contracts
  • /contract
  • /hosts
  • /metric
  • /multipart
  • /object
  • /params
  • /slabbuffers
  • /sectors
  • /settings
  • /slabs
  • /state
  • /syncer
  • /system
  • /txpool
  • /upload
  • /wallet
  • /webhooks
Dec 16, 2024

This PR moves the migration code from the worker to the autopilot. The diff is already quite big so I decided to draw the line here, we definitely have to revisit the structure of the internal package a bit, and we have to cleanup a bunch of interfaces that got out of hand. Since we're moving the autopilot into the bus next I figured it's probably best to do it then.

In short:

  • autopilot has a new migrator package
  • added migrator section to the config
  • contract spending moved to internal
  • account manager moved to internal
  • host manager moved to internal
  • remove all migration code from worker
Dec 16, 2024

If PRAGMA foreign_key_check fails after running a migration, renterd currently outputs totally useless information. I updated the code to scan for all errors and indicate what FK failed on what table on what row.

Before:

failed to create node: failed to perform migrations: migration X failed: transaction failed (attempt 1): foreign key constraints are not satisfied, err sql: expected 4 destination arguments in Scan, not 0

After:

failed to create node: failed to perform migrations: migration X failed: transaction failed (attempt 1): foreign key constraint violation in table 'slabs': row 2423432, foreign key buffered_slabs
Dec 15, 2024

Bumps the go_modules group with 1 update: golang.org/x/crypto.

Updates golang.org/x/crypto from 0.29.0 to 0.31.0

Commits
  • b4f1988 ssh: make the public key cache a 1-entry FIFO cache
  • 7042ebc openpgp/clearsign: just use rand.Reader in tests
  • 3e90321 go.mod: update golang.org/x dependencies
  • 8c4e668 x509roots/fallback: update bundle
  • See full diff 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 You can disable automated security fix PRs for this repo from the Security Alerts page.
Dec 14, 2024

In v2, the global metrics were changed to only include active contracts. This requires recalculating the existing metrics to remove pending contracts from the global metrics.

Dec 13, 2024
  • Fixed an issue where the first attempt to download a file would show a bucket not found error.
  • Strange issue where buckets.data is still undefined in the closure even though the data has been fetched. Adding useCallback does the trick, oddly even just console logging buckets.data above downloadFiles fixes the issue.
Dec 13, 2024
  • The min account expiry and min price table validity configuration settings are now stored in milliseconds.
Dec 13, 2024
  • Update cluster.
  • Re-enable overriding to latest versions.
Dec 13, 2024

This PR was created automatically. Merging it will create a new release for 0.8.0

Adds two additional flags to the RPCLatestRevision response. The Revisable field indicates whether the host will accept further revisions to the contract. A host will not accept revisions too close to the proof window or revisions on contracts that have already been resolved. The Renewed field indicates whether the contract was renewed. If the contract was renewed, the renter can use FileContractID.V2RenewalID to get the ID of the new contract.

Dec 13, 2024

Adds two additional fields to the RPCLatestRevision response.

The Revisable field indicates whether the host will accept further revisions to the contract. A host will not accept revisions too close to the proof window or for contracts that have already been resolved.

The Renewed field indicates whether the contract was renewed. If the contract was renewed, the renter can use FileContractID.V2RenewalID to get the ID of the new contract

Closes #246

Dec 13, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024
Dec 12, 2024

This PR was created automatically. Merging it will create a new release for 0.7.3

MaxRevisionNumber was previously used to finalize contracts, but that is not the case anymore, so the restriction can be removed.

Dec 12, 2024

Added a bus section to our OpenAPI spec containing the following routes:

  • /accounts
  • /alerts
  • /autopilot
  • /buckets
  • /consensus
  • /contracts
  • /hosts
  • /metric
  • /multipart
  • /object
  • /params
  • /slabbuffers
  • /sectors
  • /settings
  • /slabs
  • /state
  • /syncer
  • /system
  • /txpool
  • /upload
  • /wallet
  • /webhooks
Dec 12, 2024

This PR fixes a few RHP4 tests that should have everything they need to pass implemented already

Dec 12, 2024

Bumps the go_modules group with 1 update: golang.org/x/crypto.

Updates golang.org/x/crypto from 0.30.0 to 0.31.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 You can disable automated security fix PRs for this repo from the Security Alerts page.
Dec 12, 2024

This PR was created automatically. Merging it will create a new release for 0.7.2

MaxRevisionNumber was previously used to finalize contracts, but that is not the case anymore, so the restriction can be removed.

  • Include storage cost in renter renewal cost
Dec 12, 2024

Last item for full RHP4 support in hostd

Dec 12, 2024

Slightly different implementation of #251 that does not change the function signature

Dec 11, 2024
Dec 11, 2024
Dec 11, 2024

The purpose of this PR is to create a component file comparable to FormFormik.ts to carry the formik to react-hook-form transition--the ultimate goal being to delete FormFormik and the formik dependency across the project. It may be helpful to pull that file up while reviewing. While I was doing this translation, I took the opportunity to refactor a bit:

  1. I moved the individual component declarations for TextField, NumberField, and SiacoinField into the overall FormField component, reducing the abstractions here by one. I saw the purpose of those abstractions to center around setting defaults, so:
  2. I moved the defaults that those individual abstractions were setting into the unwrapped components' props. Example: <Numberfield...allowDecimals={allowDecimals || false}. All these props were already flowing through the parent component, so I decided to use the base components sooner and trim down the complexity.

There is a question/potential issue to rectify that may impact this PR, but I'll talk about it on top of this stack of two as the issue is passed down. It has to do with the typing of the props/genericism of the ReactHookFormField component with react-hook-form's FieldValues.

Dec 11, 2024

This replaces formik in the explorer faucet fund form. This doesn't remove the formik dependency, yet, because we still have these files using formik:

ContractsFilterContractIdDialog
ContractsFilterAddressDialog
ContractsFilterPublicKeyDialog
HostsFilterAddressDialog
HostsFilterPublicKeyDialog
AllowlistForm
BlocklistForm
FileCreateDirectoryDialog
WalletAddAddressDialog

I have one concern that I really haven't found the right solution for. I think a blue sky implementation of react-hook-form looks something like this:

const { handleSubmit, register } = useForm<(<foo: string, bar: number)>()
const onSubmit = (data) => { data.foo... }

return <form onSubmit={handleSubmit(onSubmit)}>
         <input type="text" {...register('foo')} />
       </form>

In theory, this should extend react-hook-form's FieldValues to be properly typed and, for example, prevent trying to register a property that doesn't exist in the type or use a value of the wrong type. The problem? I can't figure out how to receive that type in the ReactHookForm component. I've tried pretty much everything I can think of, including a T Extends FieldValues approach, but it hasn't worked. In lieu of that panning out, this implementation does work-setting the type in the data of the onSubmit. But you won't be properly checked around registering and setting values the way you might be if we could receive the type correctly in the ReactHookFormField component's FieldValues. Open to ideas here, for sure.

Otherwise, this does remove formik for react-hook-form in the faucet form. There just may be a better way to type it on the component side which would somewhat affect this implementation.

Dec 11, 2024
Dec 11, 2024
Dec 11, 2024
  • Multi-select now supports single select, toggle select, and range selection interactions, with click, ctrl-click, and shift-click.
  • Table now prevents default on any mouse down with shift held. This ensures the user does not highlight text while shift selecting a range of rows.
  • Renamed selectionMap to selection in the useMultiSelect hook API.

normal click (single select):

  • The selection is reduced to the clicked row, and the range selection anchor is updated.
  • Clicking the only selected row does not deselect it.

ctrl/cmd-click (toggle select):

  • Toggles selection of an individual row without affecting others.
  • If selected, updates the anchor to that row.
  • If deselected, the anchor is updated to the nearest selected index, first checking higher indices, then lower. If no index is found reset the anchor.

shift-click (range select):

  • Always select the full continuous range between the anchor and the clicked row, deselect all rows between the anchor and the last range end from the same anchor.
  • Do not update the anchor on shift-click, unless there is none set yet.
  • If no anchor is set, the range select will use the top row as the anchor and set the range end to the selected row.

anchor

  • Whenever the anchor is updated, the range end is reset.
  • Whenever the anchor is reset the range end is also reset.

I could not get screenstudio to show the keypresses, but the following video shows some of the new multi-select interactions, such as how ranges are selected and rows between the anchor and the previous range end are deselected.

https://github.com/user-attachments/assets/4c49769c-2fad-4a27-8063-48090637fa5f

Dec 11, 2024
Dec 11, 2024

Related to the failing tests in https://github.com/SiaFoundation/coreutils/pull/134. Broadcasting the revision fails with siacoin inputs (600274999999999999906047180800 H) do not equal outputs (600274999999999999910241484800 H) which seems to exactly match the storage cost. After verifying it by setting the storage price to 0, I confirmed that this change fixes the error.

Dec 10, 2024
Dec 10, 2024

Improves sector lookups by 50% on average by removing the sector lock tables and moving reference pruning out of the hot path.

Broken out of #490

Dec 10, 2024

This PR moves the upload manager to our internal package.

Related https://github.com/SiaFoundation/renterd/issues/1646

Dec 10, 2024

Bumps the all-dependencies group with 3 updates: go.sia.tech/core, go.sia.tech/web/walletd and golang.org/x/term.

Updates go.sia.tech/core from 0.7.1-0.20241203090808-c6a988d759d6 to 0.7.1

Release notes

Sourced from go.sia.tech/core's releases.

0.7.1 (2024-12-04)

Fixes

  • Automate releases
Commits

Updates go.sia.tech/web/walletd from 0.24.0 to 0.25.0

Release notes

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

[email protected]

Minor Changes

  • 5e7fedb9: The wallet balance is now refreshed at least every 15 seconds.
Commits
  • 5e3105c chore: release packages
  • 7f020f8 fix: hostd volumes error
  • 642e0a1 chore: copy md files for release
  • 566487d chore: lockfile
  • dbbd5d9 ci: changeset version
  • 37ca8d8 chore: release packages
  • 709026a chore: design-system publish css,js assets
  • 1c376d0 chore: package publishing format
  • 9c2325d chore: export renterd/v0.30.0 hostd/v0.24.0 walletd/v0.12.0
  • See full diff in compare view

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

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
Dec 10, 2024
Dec 9, 2024

Bumps the dependencies group with 5 updates:

PackageFromTo
github.com/cloudflare/cloudflare-go0.110.00.111.0
go.sia.tech/core0.7.1-0.20241203090808-c6a988d759d60.7.1
go.sia.tech/web/hostd0.51.00.52.0
golang.org/x/sys0.27.00.28.0
golang.org/x/term0.26.00.27.0

Updates github.com/cloudflare/cloudflare-go from 0.110.0 to 0.111.0

Release notes

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

v0.111.0

BREAKING CHANGES:

  • access: Remove the deprecated SelfHostedDomains field from Access applications. Use Destinations instead. (#3667)

ENHANCEMENTS:

  • Adds allow_email_alias connection rule boolean to access infra policy payload (#3675)
  • access: Add DomainType field to Access applications. (#3667)
  • leaked_credential_check: add new methods to interact with leaked credential check cloudfare API (#3634)

BUG FIXES:

  • authenticated_origin_pulls_per_hostname: fixes the struct to allow null (nil) values on the Enabled property (#3680)
  • snippets_rules: fix upsert request type (#3669)

DEPENDENCIES:

  • deps: bumps github.com/stretchr/testify from 1.9.0 to 1.10.0 (#3672)
Changelog

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

0.111.0 (December 4th, 2024)

BREAKING CHANGES:

  • access: Remove the deprecated SelfHostedDomains field from Access applications. Use Destinations instead. (#3667)

ENHANCEMENTS:

  • Adds allow_email_alias connection rule boolean to access infra policy payload (#3675)
  • access: Add DomainType field to Access applications. (#3667)
  • leaked_credential_check: add new methods to interact with leaked credential check cloudfare API (#3634)

BUG FIXES:

  • authenticated_origin_pulls_per_hostname: fixes the struct to allow null (nil) values on the Enabled property (#3680)
  • snippets_rules: fix upsert request type (#3669)

DEPENDENCIES:

  • deps: bumps github.com/stretchr/testify from 1.9.0 to 1.10.0 (#3672)
Commits
  • dd007db Update CHANGELOG.md
  • 47cc401 generate CHANGELOG
  • 11a494d Merge pull request #3680 from PhilipSkinner/master
  • bafbbae Update .changelog/3680.txt
  • 558bbd3 Fixes an issue with the authenticated origin pulls per hostname where
  • 2599d89 Merge pull request #3675 from Michael9127/mike/ZTIA-355
  • 39f0a1e ZTIA-355: Adds allow_email_alias connection rule boolean to access infra poli...
  • 39dc22e Merge pull request #3672 from cloudflare/dependabot/go_modules/github.com/str...
  • d2b3631 add CHANGELOG for #3672
  • 12337bd Bump github.com/stretchr/testify from 1.9.0 to 1.10.0
  • Additional commits viewable in compare view

Updates go.sia.tech/core from 0.7.1-0.20241203090808-c6a988d759d6 to 0.7.1

Release notes

Sourced from go.sia.tech/core's releases.

0.7.1 (2024-12-04)

Fixes

  • Automate releases
Commits

Updates go.sia.tech/web/hostd from 0.51.0 to 0.52.0

Release notes

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

[email protected]

Minor Changes

  • 83aa5a58: The contracts table now supports bulk integrity checks.
  • 83aa5a58: The contracts table now support multi-select.

Patch Changes

Commits
  • 6be6b1a chore: release packages
  • 938a85d fix(website): rpm ARM64 download link named AMD64
  • 2f4378d fix(hostd): home metrics graph width
  • 5581662 fix(cluster): cluster and types
  • 0973fec refactor(renterd): bulk menu naming
  • cd4789d refactor(renterd): contract total cost initial renter funds
  • 83aa5a5 feat(hostd): contracts multi-select and bulk integrity check
  • 6c9adb0 refactor(renterd): alerts set change event replaced with similar churn event
  • 5078fc0 refactor(renterd): remove migrationSurchargeMultiplier
  • c3778e0 feat(renterd): hosts multi-select and batch manage blocklist and allowlist
  • Additional commits viewable in compare view

Updates golang.org/x/sys from 0.27.0 to 0.28.0

Commits
  • fe16172 unix: define IfMsghdr2, IfData64, and RtMsghdr2 on darwin
  • 0a57dbc unix: update to kernel Linux 6.12
  • 3cf1e67 unix: don't fail TestPpoll on EINTR
  • d2cea70 windows: add functions to get named pipe process IDs
  • a13946c windows: regenerate zsyscall_windows.go
  • See full diff in compare view

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

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
Dec 9, 2024

MaxRevisionNumber no longer has any relevance to consensus (aside from preventing any further revisions). Previously it was used when resolving contracts, but that is not the case anymore. We might as well keep the constant around, though; removing it would be a breaking API change, and maybe there's a usecase for finalizing a contract without resolving it.

Dec 9, 2024
Dec 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.29.0 to 0.30.0

Commits
  • 7042ebc openpgp/clearsign: just use rand.Reader in tests
  • 3e90321 go.mod: update golang.org/x dependencies
  • 8c4e668 x509roots/fallback: update bundle
  • See full diff in compare view

Updates golang.org/x/sys from 0.27.0 to 0.28.0

Commits
  • fe16172 unix: define IfMsghdr2, IfData64, and RtMsghdr2 on darwin
  • 0a57dbc unix: update to kernel Linux 6.12
  • 3cf1e67 unix: don't fail TestPpoll on EINTR
  • d2cea70 windows: add functions to get named pipe process IDs
  • a13946c windows: regenerate zsyscall_windows.go
  • 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
Dec 9, 2024

Added an openapi.yml spec with the specifications for the autopilot routes and a CI step to validate it. The goal is to eventually have a complete spec for the V2 API that we can use to generate API docs as well as making sure that there is always a valid spec for every given commit in the repo.

Dec 9, 2024
Dec 9, 2024
Dec 6, 2024
Dec 6, 2024
  • Adjust component and file naming for consistency.
  • Disable cluster daemon install overrides.
  • Fix renterd type issues found in cluster.
Dec 6, 2024
  • Update cluster.
  • Use shared consensus.
Dec 6, 2024

Just something that was nagging me for a while.

Dec 4, 2024

This PR was created automatically. Merging it will create a new release for 0.7.1

  • Automate releases
Dec 4, 2024
Dec 4, 2024

This makes PRs slightly more annoying because they will need to have either a documented change set or conventional commits, but this will automate the release process and improve documentation. This is mostly the same setup as renterd and hostd with the addition of tagging the release when the preview PR closes.

(sorry)

Dec 4, 2024
Dec 4, 2024
Dec 4, 2024

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

Updates go.sia.tech/core from 0.6.2 to 0.6.3

Commits
  • d3d9f55 Merge pull request #236 from SiaFoundation/large-policies
  • bf93a07 types: Fully test (SpendPolicy).Verify
  • 788be94 types: Move complexity check to (SpendPolicy).Verify
  • 611d481 Merge pull request #228 from SiaFoundation/v2-header
  • dae65a3 types,gateway: Refactor BlockHeader
  • 4a72a16 types: Add EncodePtrCast and DecodePtrCast
  • 51068a3 docs: fix docstring
  • bafdc34 fix lint
  • a74ae6f rhp4: hard code temp sector duration
  • 88d9985 Merge pull request #234 from SiaFoundation/encoding
  • 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
Dec 3, 2024

Did not notice this until after trying to update coreutils with #238. The new renewal validation logic was checking the individual payout values against the parent file contract element. This does not account for the payouts changing in an unbroadcast revision. This changes the logic to check that the sum of the outputs is equal to the sum of the parent outputs. Also adds some additional validation tests.

Dec 3, 2024

"Pool" was always a bit of a misnomer, because making a siafund claim doesn't subtract value from the "pool." Its actual function is to record the total revenue at specific points in time, so that we can calculate the delta between two points and thereby determine the value of the dividend.

I also slightly tweaked how dividends are calculated in v2. Previously, all file contract taxes were rounded down to a multiple of 10,000 H, so that they would be evenly divisible by the number of siafunds. But this isn't actually necessary; you can just divide when you calculate the claim value, and the rounding will occur then. This is slightly more fair anyway: as an extreme example, if all contract taxes had a value of 9999 H, siafund holders would never receive any dividends, no matter how many contracts were formed.

Dec 3, 2024

Closes #240

Dec 3, 2024

The tradeoff is that resolution transactions can't contain other outputs. That doesn't seem too restrictive to me, but maybe I'm forgetting a use case that requires it?

I also noticed that a renewal's FinalRevision wasn't being applied to the accumulator that way; instead, the accumulator would contain the most recent revision of the contract. Not a huge deal, just felt inconsistent.

Dec 2, 2024

v2 transactions have a NewFoundationAddress field, which, if present, updates both the primary and failsafe addresses. This PR tweaks the update logic slightly: if the new address is types.VoidAddress, only the primary address is updated. (State).FoundationSubsidy also now returns false if the primary address is types.VoidAddress. Together, these changes allow the Foundation to effectively waive the subsidy until a new, non-void primary address is set. This is preferable to receiving and then later burning the subsidy; instead, the subsidy is simply not created in the first place.

I also renamed "primary" and "failsafe" to "subsidy" and "management" to reflect the function of these addresses in v2. The "subsidy" address receives the subsidies, while the "management" address is used to update addresses. (Note that, thanks to spend policies, the old "primary" and "failsafe" can be combined into one address using a threshold policy.)

Checking for types.VoidAddress might seem like a bit of a hack. Alternatively, we could expand the definition of NewFoundationAddress. Technically, this would change the encoding of V2Transaction; however, AFAICT, it would not actually cause any breakage, as the field is a pointer and has never been used in the v2 testnet (hence always encoded as false).

Dec 2, 2024

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

Updates go.sia.tech/core from 0.6.2 to 0.6.3

Commits
  • d3d9f55 Merge pull request #236 from SiaFoundation/large-policies
  • bf93a07 types: Fully test (SpendPolicy).Verify
  • 788be94 types: Move complexity check to (SpendPolicy).Verify
  • 611d481 Merge pull request #228 from SiaFoundation/v2-header
  • dae65a3 types,gateway: Refactor BlockHeader
  • 4a72a16 types: Add EncodePtrCast and DecodePtrCast
  • 51068a3 docs: fix docstring
  • bafdc34 fix lint
  • a74ae6f rhp4: hard code temp sector duration
  • 88d9985 Merge pull request #234 from SiaFoundation/encoding
  • 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
Dec 2, 2024
Nov 27, 2024

Same rationale as #234: this logic wasn't present in UnmarshalJSON, leading to inconsistency.

I also tweaked the behavior of thresh. thresh is supposed to require exactly n policies to be satisfied (so I suppose "threshold" is a bit of a misnomer), so opaque is used to hide unsatisfied policies. But Verify was only checking that pk and h policies were replaced with opaque; above and after were allowed to fail without causing the entire policy to fail. This isn't necessarily wrong -- and in fact, it's slightly more space-efficient -- but it feels inconsistent, and it's more ambiguous. I like how requiring opaque forces you to be explicit about which sub-policies you're using (and also makes it obvious to the reader which sub-policies are being satisfied).

Nov 26, 2024

Closes #514

Nov 25, 2024

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

Updates github.com/cloudflare/cloudflare-go from 0.109.0 to 0.110.0

Release notes

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

v0.110.0

ENHANCEMENTS:

  • access_identity_provider: Adds identity_update_behavior to SCIM config. (#3618)
  • turnstile: fix UpdateTurnstileWidgetParams (support setting values to false) (#3594)

BUG FIXES:

  • snippets: fix response type for UpdateZoneSnippet (#3596)
Changelog

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

0.110.0 (November 20th, 2024)

ENHANCEMENTS:

  • access_identity_provider: Adds identity_update_behavior to SCIM config. (#3618)
  • turnstile: fix UpdateTurnstileWidgetParams (support setting values to false) (#3594)

BUG FIXES:

  • snippets: fix response type for UpdateZoneSnippet (#3596)

DEPENDENCIES:

  • deps: bumps golang.org/x/net from 0.30.0 to 0.31.0 (#3588)
  • deps: bumps golang.org/x/time from 0.7.0 to 0.8.0 (#3584)
  • deps: bumps goreleaser/goreleaser-action from 6.0.0 to 6.1.0 (#3578)
Commits
  • 3e917ed Update CHANGELOG.md
  • f155936 generate changelog
  • 68dc897 Merge pull request #3618 from khiller-cf/master
  • 59de991 AUTH-6586 adds identity update behavior field
  • 6e537fe Merge pull request #3596 from WowVeryLogin/denis/FLPROD-796
  • d6feff7 Update .changelog/3596.txt
  • 72fcc88 Merge pull request #3594 from punkeel/maxime/fix-turnstile-update
  • 8384968 FLPROD-796: Fixing wrong response type for snippet update endpoint
  • e69380e Fix turnstile's UpdateTurnstileWidgetParams
  • 7289d6f Merge pull request #3577 from dfialho/master
  • 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
Nov 25, 2024

Broken out of #490 . Requires #507

Nov 22, 2024

Refactors the contract manager to match the interface expected by the RHP4 server

Taken from #490

Nov 20, 2024
Nov 20, 2024
Nov 20, 2024
Nov 20, 2024

This introduces two changes to simplify client DX. These settings felt very similar to the batch size settings in RHP2 -- the host could technically change them, but actual renter code just assumed the default 17.83 MB was valid. This enforces a safe default assumption and reduces potential complexity around hosts with differing settings.

Nov 19, 2024

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

Updates go.sia.tech/core from 0.6.1 to 0.6.2

Commits
  • 0b6d8d1 Merge pull request #231 from SiaFoundation/nate/add-txn-id
  • f5479af types: add recursion comment
  • 24a1ed6 types: address comments
  • 8941fc1 types: add ID field to transaction JSON
  • 7b530e0 build(deps): bump the all-dependencies group with 2 updates
  • a872ea8 Merge pull request #230 from SiaFoundation/nate/json-consistency
  • abd95cc ChainIndexElement camelCase
  • 9450b1a FileContract.UnlockHash Hash256 -> Address
  • 2a3a1bf Merge pull request #227 from SiaFoundation/nate/fix-finalization-encoding
  • de1461f types: fix finalization json encoding
  • See full diff in compare view

Updates go.sia.tech/web/walletd from 0.23.2 to 0.24.0

Release notes

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

[email protected]

Minor Changes

  • fe888991: Invalid and not found routes now redirect to the home page.

Patch Changes

  • 03221146: Updated the seed wallet address generation process to strip the address prefix, which matches the recent API change. Closes SiaFoundation/walletd#190
Commits
  • 2a68631 chore: update release step
  • 5d07959 chore: lockfile
  • 98c09ae chore: release packages
  • 19dd6e6 chore: specify internal dependency versions
  • 75a0135 refactor: library build and publishing
  • e738738 fix: renterd upload packing description
  • 487dc4e fix: renterd upload packing toggle
  • 829d91d fix: renterd improve estimates allowance, calculated only on save, fiat displ...
  • 5bf282a fix: files encode uri
  • c4aafc6 feat: data revalidation refresh intervals
  • 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
Nov 18, 2024

Previously, we used the policy itself to figure out how many signatures and preimages to expect. This saved two length prefixes (16 bytes), but it was annoying to implement, and also led to a vulnerability: EncodeTo panicked when called with the wrong number of signatures or preimages, but UnmarshalJSON did not validate these, so you could trigger a panic by causing a node to decode an invalid SpendPolicy as JSON and then encode it as binary.

The modal satisfied policy is 1 pubkey + 1 signature, so ~100 bytes, making this a ~16% size increase. Not insignificant, but tolerable.

Note that we don't need any additional validation: (SpendPolicy).Verify already checks for superfluous signatures and preimages.

Nov 15, 2024
Nov 14, 2024

This adds the calculated ID for the transaction to the JSON marshaling of a transaction. This is primarily a convenience for API consumers that may or may not have the ability to calculate it easily. I believe siad added a calculate endpoint, but it's even more annoying to have to call 2 routes imo.

I decided not to override unmarshal and discard the ID for similar convenience, but it could be desirable to validate the deserialized transaction data against the provided ID. However, that would complicate broadcasting a transaction.

Most recent context, but this comes up quite a lot with integrators: https://discord.com/channels/809849352516141067/809858207064653894/1306241130408443915.

Nov 12, 2024

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

Updates golang.org/x/term from 0.25.0 to 0.26.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
Nov 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.28.0 to 0.29.0

Commits
  • 6018723 go.mod: update golang.org/x dependencies
  • 71ed71b README: don't recommend go get
  • 750a45f sha3: add MarshalBinary, AppendBinary, and UnmarshalBinary
  • 36b1725 sha3: avoid trailing permutation
  • 80ea76e sha3: fix padding for long cSHAKE parameters
  • c17aa50 sha3: avoid buffer copy
  • 7cfb916 ssh: return unexpected msg error when server fails keyboard-interactive auth ...
  • b61b08d chacha20: extend ppc64le support to ppc64
  • 6c21748 internal/poly1305: extend ppc64le support to ppc64
  • See full diff in compare view

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

Commits
  • e0753d4 Revert "windows/mkwinsyscall: use syscall.SyscallN instead of syscall.Syscall...
  • c29efe3 windows: add iphlpapi functions for change notifications
  • 8f2aa9f cpu: conditionally re-enable AVX512 support on darwin/amd64
  • 054f1fc README: don't recommend go get
  • ca04041 unix: extend z/OS support
  • 18e038c unix: move NETLINK_* consts to own section
  • d045236 windows: implement Ftruncate using a single syscall on Windows
  • cff53d5 unix: gofmt after CL 610296
  • 123459f unix: update z/OS implementation of fcntl and mmap
  • df4a4da unix/linux: adjust Dockerfile ENV key value format
  • 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
Nov 12, 2024
Nov 5, 2024
Nov 5, 2024

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

Updates go.sia.tech/web/walletd from 0.23.1 to 0.23.2

Release notes

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

[email protected]

Patch Changes

  • e9995c5d: The page layout is now persisted between page transitions.
Commits
  • 675bd8f chore: release packages
  • be794d5 test: refactor all fixtures into boxed steps
  • 17b29cf feat(renterd): directory mode files multiselect and batch delete
  • ed264a0 feat(apps): add bottom actions to app layout, configure and animate existing ...
  • e9995c5 refactor(apps): persist layouts between page transitions
  • 0914286 refactor: refine multiselect API
  • ad74b8a test(e2e): update cluster
  • 2bb6a0d refactor(explored-types): change confirmationIndex and confirmationTransactio...
  • c587068 fix(renterd): add autopilot configured check to evaluations
  • 9ca477c fix(website): desktop download autoselect
  • 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
Nov 1, 2024
Oct 31, 2024
Oct 29, 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.4.8-0.20240928202806-0e77790bd8bf to 0.5.0

Commits

Updates go.sia.tech/coreutils from 0.4.2-0.20241017012544-0b4946403c93 to 0.5.0

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
Oct 21, 2024

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

Updates go.sia.tech/web/walletd from 0.23.0 to 0.23.1

Release notes

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

[email protected]

Patch Changes

  • 4cf6c8ea: Fixed an issue where the app would try to fetch from an invalid URL when first initializing.
Commits
  • b69f454 chore: release packages
  • 9277382 feat(renterd): generate debug report zip
  • 866fc68 feat(explored-types): add transactionID to ExplorerFileContract type
  • 3d2a152 test: set up explorer-e2e
  • 8d0c92a test: extract e2e fixtures into library
  • 1d1452d fix(renterd): config fields blank sia central
  • 4cf6c8e chore: resolve various warnings
  • 5cf4f1b chore: upgrade radix
  • 56974bb refactor: react-core hooks key format
  • 411e378 refactor(explored-types): add null case to proof* fields in ExplorerFileContr...
  • 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 21, 2024

Adds support for the confirmation field to all event endpoints. Requires https://github.com/SiaFoundation/coreutils/pull/106

Oct 21, 2024

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

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

Commits
  • 9cc63ee Merge pull request #95 from SiaFoundation/dependabot/go_modules/golang.org/x/...
  • b6bee60 build(deps): bump golang.org/x/crypto from 0.26.0 to 0.27.0
  • 0dd7ac1 Merge pull request #93 from SiaFoundation/nate/allow-manual-connect
  • 84df0c9 Merge branch 'master' into nate/allow-manual-connect
  • 474d921 deps: update core
  • 61919d6 Merge pull request #94 from SiaFoundation/nate/add-chain-log
  • e757eef chain: add optional logging
  • 1767a28 syncer: always allow manual peer connections
  • 70443a4 syncer: increase default peers
  • d798f1f Merge pull request #89 from SiaFoundation/nate/tpool-race
  • Additional commits viewable in compare view

Updates lukechampine.com/frand from 1.4.2 to 1.5.1

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
Oct 8, 2024

Closes #181

Oct 8, 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.23 to 1.14.24

Commits

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

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
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

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
Sep 12, 2024

Fixes #176

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 2, 2024
Sep 1, 2024
Sep 1, 2024

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

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 21, 2024
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.