A feed of development activity from across Sia Foundation GitHub repositories.
- Tests for renterd files and uploads pagination.
- Test for hostd contracts and volumes pagination.
- e2e: Added support for uploading files of a specific size.
- Refactors duplicated column filtering code into the
useTableState
hook. - Refines naming to make the purpose more clear.
Updates the UI to v0.54.1 updates the net address placeholder on the configuration page
- 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.
- Additional tests for file and uploads pagination fixes in subsequent PR: https://github.com/SiaFoundation/web/pull/855 to avoid bloat here.
- 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.
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.
Changes the Knope config to exclude conventional commits so that only explicit change set files will be included in the final change log.
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.
- Updates
core
andcoreutils
to v0.9.0 to fully support the V2 hardfork. - Updates the UI to make the net address changes clearer
- Fixed an issue with the copy file metadata action in the file context menu.
- The object response has been updated in v2.
- Fixed an issue where selecting the entire page of files would select the parent navigation row.
- Address configuration setting now expects only the hostname without a port. https://github.com/SiaFoundation/hostd/issues/536
- The host and contracts multi-select menus both now include an option to rescan the selected hosts.
Fixes an NDF in TestContractLifecycle when running on slow CI nodes
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
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.
This PR fixes all the NDFs apart from the panic which we will need to fix in coreutils
.
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
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 leastcurrentHeight+1
- Storage proofs check that
currentHeight
is not greater than the "trigger height," which isWindowStart - 1
- Therefore, if you create a contract with
WindowStart = currentHeight + 1
, its trigger height will becurrentHeight
, 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.
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.
Routes added:
-
/contract
-
/hosts
-
/host
-
/metric
-
/multipart
-
/objects
-
/object
-
/params
-
/slabbuffers
-
/sectors
-
/settings
-
/slabs
-
/state
-
/stats
-
/system
-
/upload
-
/webhooks
Brought to my attention by https://github.com/SiaFoundation/renterd/issues/1756
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.
- Remove left over code from a hostd API that has been removed.
Adds a helper for generating a signed RHP4 account token
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 packagesc909ad2
refactor: improve multiselect behavioursf3d2a95
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
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. TheRenewed
field indicates whether the contract was renewed. If the contract was renewed, the renter can useFileContractID.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.00.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. TheRenewed
field indicates whether the contract was renewed. If the contract was renewed, the renter can useFileContractID.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.00.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/release35e29c0
chore: prepare release 0.8.0f81268e
Merge pull request #255 from SiaFoundation/nate/rhp4-revision-revisable8383d65
improve docstring0875745
add revisable and renewed to RPCLatestRevision responsec36fa2a
chore: fix go.mod version109d18f
chore: fix missing changelog entry2321b69
chore: cleanup old changesets6fc49ab
build(deps): bump golang.org/x/crypto in the go_modules group67ca48e
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
- See full diff in compare view
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 packagesc909ad2
refactor: improve multiselect behavioursf3d2a95
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
Updates core and coreutils and adds integration tests for RHP4
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. TheRenewed
field indicates whether the contract was renewed. If the contract was renewed, the renter can useFileContractID.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.00.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. TheRenewed
field indicates whether the contract was renewed. If the contract was renewed, the renter can useFileContractID.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.00.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/release35e29c0
chore: prepare release 0.8.0f81268e
Merge pull request #255 from SiaFoundation/nate/rhp4-revision-revisable8383d65
improve docstring0875745
add revisable and renewed to RPCLatestRevision responsec36fa2a
chore: fix go.mod version109d18f
chore: fix missing changelog entry2321b69
chore: cleanup old changesets6fc49ab
build(deps): bump golang.org/x/crypto in the go_modules group67ca48e
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
- See full diff in compare view
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 packages5bcfaf6
ci: fix publishing copy prep script16b7df4
fix: renterd hostd wallet balance detailse04a35c
fix: renterd and hostd wallet onboardingc54455f
fix: explorer siafund address total3c5f490
fix: explorer address transaction values723803a
fix: explorer host error6fc53f4
fix: renterd onboarding, host setting7a0f954
fix: website map00041ed
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
The contract state was not being correctly handled when rescanning the blockchain leading to issues with metric calculation.
incrementContractUsage
is called from updateContractUsage
for distributeRHP3AccountUsage
effectively doubling the contract usage columns.
Routes added:
-
consensus
-
/contracts
-
/contract
-
/hosts
-
/metric
-
/multipart
-
/object
-
/params
-
/slabbuffers
-
/sectors
-
/settings
-
/slabs
-
/state
-
/syncer
-
/system
-
/txpool
-
/upload
-
/wallet
-
/webhooks
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
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
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 cache7042ebc
openpgp/clearsign: just use rand.Reader in tests3e90321
go.mod: update golang.org/x dependencies8c4e668
x509roots/fallback: update bundle- 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 You can disable automated security fix PRs for this repo from the Security Alerts page.
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.
- 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.
- The min account expiry and min price table validity configuration settings are now stored in milliseconds.
- Update cluster.
- Re-enable overriding to latest versions.
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.
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
- Contracts that have not been renewed from or two another contract no longer show the empty contract ID in the contract ID table cell. https://github.com/SiaFoundation/hostd/issues/524
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.
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
This PR fixes a few RHP4 tests that should have everything they need to pass implemented already
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
b4f1988
ssh: make the public key cache a 1-entry FIFO cache- 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 You can disable automated security fix PRs for this repo from the Security Alerts page.
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
Last item for full RHP4 support in hostd
Slightly different implementation of #251 that does not change the function signature
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:
- I moved the individual component declarations for
TextField
,NumberField
, andSiacoinField
into the overall FormField component, reducing the abstractions here by one. I saw the purpose of those abstractions to center around setting defaults, so: - 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
.
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.
- 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
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.
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
This PR moves the upload manager to our internal
package.
Related https://github.com/SiaFoundation/renterd/issues/1646
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
Commits
- See full diff in compare view
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 packages7f020f8
fix: hostd volumes error642e0a1
chore: copy md files for release566487d
chore: lockfiledbbd5d9
ci: changeset version37ca8d8
chore: release packages709026a
chore: design-system publish css,js assets1c376d0
chore: package publishing format9c2325d
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
442846a
go.mod: update golang.org/x dependencies- 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
Bumps the dependencies group with 5 updates:
Package | From | To |
---|---|---|
github.com/cloudflare/cloudflare-go | 0.110.0 | 0.111.0 |
go.sia.tech/core | 0.7.1-0.20241203090808-c6a988d759d6 | 0.7.1 |
go.sia.tech/web/hostd | 0.51.0 | 0.52.0 |
golang.org/x/sys | 0.27.0 | 0.28.0 |
golang.org/x/term | 0.26.0 | 0.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. UseDestinations
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. UseDestinations
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.md47cc401
generate CHANGELOG11a494d
Merge pull request #3680 from PhilipSkinner/masterbafbbae
Update .changelog/3680.txt558bbd3
Fixes an issue with the authenticated origin pulls per hostname where2599d89
Merge pull request #3675 from Michael9127/mike/ZTIA-35539f0a1e
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 #367212337bd
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
Commits
- See full diff in compare view
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
- 2f4378d0: Fixed an issue where the metrics graphs were much wider than the screen. Closes SiaFoundation/hostd#500
Commits
6be6b1a
chore: release packages938a85d
fix(website): rpm ARM64 download link named AMD642f4378d
fix(hostd): home metrics graph width5581662
fix(cluster): cluster and types0973fec
refactor(renterd): bulk menu namingcd4789d
refactor(renterd): contract total cost initial renter funds83aa5a5
feat(hostd): contracts multi-select and bulk integrity check6c9adb0
refactor(renterd): alerts set change event replaced with similar churn event5078fc0
refactor(renterd): remove migrationSurchargeMultiplierc3778e0
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
Updates golang.org/x/term
from 0.26.0 to 0.27.0
Commits
442846a
go.mod: update golang.org/x dependencies- 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
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.
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 tests3e90321
go.mod: update golang.org/x dependencies8c4e668
x509roots/fallback: update bundle- See full diff in compare view
Updates golang.org/x/sys
from 0.27.0 to 0.28.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
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.
- Adjust component and file naming for consistency.
- Disable cluster daemon install overrides.
- Fix renterd type issues found in cluster.
- Update cluster.
- Use shared consensus.
Just something that was nagging me for a while.
This PR was created automatically. Merging it will create a new release for 0.7.1
- Automate releases
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)
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-policiesbf93a07
types: Fully test (SpendPolicy).Verify788be94
types: Move complexity check to (SpendPolicy).Verify611d481
Merge pull request #228 from SiaFoundation/v2-headerdae65a3
types,gateway: Refactor BlockHeader4a72a16
types: Add EncodePtrCast and DecodePtrCast51068a3
docs: fix docstringbafdc34
fix linta74ae6f
rhp4: hard code temp sector duration88d9985
Merge pull request #234 from SiaFoundation/encoding- 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
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.
"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.
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.
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
).
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-policiesbf93a07
types: Fully test (SpendPolicy).Verify788be94
types: Move complexity check to (SpendPolicy).Verify611d481
Merge pull request #228 from SiaFoundation/v2-headerdae65a3
types,gateway: Refactor BlockHeader4a72a16
types: Add EncodePtrCast and DecodePtrCast51068a3
docs: fix docstringbafdc34
fix linta74ae6f
rhp4: hard code temp sector duration88d9985
Merge pull request #234 from SiaFoundation/encoding- 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
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).
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:
Commits
3e917ed
Update CHANGELOG.mdf155936
generate changelog68dc897
Merge pull request #3618 from khiller-cf/master59de991
AUTH-6586 adds identity update behavior field6e537fe
Merge pull request #3596 from WowVeryLogin/denis/FLPROD-796d6feff7
Update .changelog/3596.txt72fcc88
Merge pull request #3594 from punkeel/maxime/fix-turnstile-update8384968
FLPROD-796: Fixing wrong response type for snippet update endpointe69380e
Fix turnstile's UpdateTurnstileWidgetParams7289d6f
Merge pull request #3577 from dfialho/master- 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
Refactors the contract manager to match the interface expected by the RHP4 server
Taken from #490
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.
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-idf5479af
types: add recursion comment24a1ed6
types: address comments8941fc1
types: add ID field to transaction JSON7b530e0
build(deps): bump the all-dependencies group with 2 updatesa872ea8
Merge pull request #230 from SiaFoundation/nate/json-consistencyabd95cc
ChainIndexElement camelCase9450b1a
FileContract.UnlockHash Hash256 -> Address2a3a1bf
Merge pull request #227 from SiaFoundation/nate/fix-finalization-encodingde1461f
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 step5d07959
chore: lockfile98c09ae
chore: release packages19dd6e6
chore: specify internal dependency versions75a0135
refactor: library build and publishinge738738
fix: renterd upload packing description487dc4e
fix: renterd upload packing toggle829d91d
fix: renterd improve estimates allowance, calculated only on save, fiat displ...5bf282a
fix: files encode uric4aafc6
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
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.
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.
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
b725e36
go.mod: update golang.org/x dependencies54df7da
README: don't recommend go get- 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
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 dependencies71ed71b
README: don't recommend go get750a45f
sha3: add MarshalBinary, AppendBinary, and UnmarshalBinary36b1725
sha3: avoid trailing permutation80ea76e
sha3: fix padding for long cSHAKE parametersc17aa50
sha3: avoid buffer copy7cfb916
ssh: return unexpected msg error when server fails keyboard-interactive auth ...b61b08d
chacha20: extend ppc64le support to ppc646c21748
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 notifications8f2aa9f
cpu: conditionally re-enable AVX512 support on darwin/amd64054f1fc
README: don't recommend go getca04041
unix: extend z/OS support18e038c
unix: move NETLINK_* consts to own sectiond045236
windows: implement Ftruncate using a single syscall on Windowscff53d5
unix: gofmt after CL 610296123459f
unix: update z/OS implementation of fcntl and mmapdf4a4da
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
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 packagesbe794d5
test: refactor all fixtures into boxed steps17b29cf
feat(renterd): directory mode files multiselect and batch deleteed264a0
feat(apps): add bottom actions to app layout, configure and animate existing ...e9995c5
refactor(apps): persist layouts between page transitions0914286
refactor: refine multiselect APIad74b8a
test(e2e): update cluster2bb6a0d
refactor(explored-types): change confirmationIndex and confirmationTransactio...c587068
fix(renterd): add autopilot configured check to evaluations9ca477c
fix(website): desktop download autoselect- 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
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
- See full diff in compare view
Updates go.sia.tech/coreutils
from 0.4.2-0.20241017012544-0b4946403c93 to 0.5.0
Commits
- 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
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 packages9277382
feat(renterd): generate debug report zip866fc68
feat(explored-types): add transactionID to ExplorerFileContract type3d2a152
test: set up explorer-e2e8d0c92a
test: extract e2e fixtures into library1d1452d
fix(renterd): config fields blank sia central4cf6c8e
chore: resolve various warnings5cf4f1b
chore: upgrade radix56974bb
refactor: react-core hooks key format411e378
refactor(explored-types): add null case to proof* fields in ExplorerFileContr...- 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
Adds support for the confirmation field to all event endpoints. Requires https://github.com/SiaFoundation/coreutils/pull/106
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.00dd7ac1
Merge pull request #93 from SiaFoundation/nate/allow-manual-connect84df0c9
Merge branch 'master' into nate/allow-manual-connect474d921
deps: update core61919d6
Merge pull request #94 from SiaFoundation/nate/add-chain-loge757eef
chain: add optional logging1767a28
syncer: always allow manual peer connections70443a4
syncer: increase default peersd798f1f
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
4768a22
update README3f951cc
switch to stdlib ChaCha8 generator- 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
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
- See full diff in compare view
Updates golang.org/x/term
from 0.24.0 to 0.25.0
Commits
9d5441a
go.mod: update golang.org/x dependencies- 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
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-len7a2ef40
types: Switch to fixed-length PolicyHash preimage0f61e58
Merge pull request #205 from SiaFoundation/proof-supplementa176ef9
consensus: Add V1StorageProofSupplement, fixing encoding bug37cd8b8
build(deps): bump go.sia.tech/mux in the all-dependencies groupe21edfd
Merge pull request #201 from SiaFoundation/nate/upgrade-go708363a
ci,deps: upgrade go, switch to common workflow2cdf6f6
Merge pull request #196 from SiaFoundation/nate/v2-revision-ordering3dcc8ac
consensus: Validate against earlier v2 contract revisions in block300042f
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 comments3543c96
rhp4: add proof validation commentc1dddb9
rhp4: use clear for zero reader (Chris)9dc122d
rhp4: switch RPCWrite to streaminga80d6d9
rhp4: period in docstring4977cf4
rhp4,chain: remove slashes in protocol19326ed
rhp4: make input validation clearer48da7a3
rhp4: address commentsab3a7bd
rhp4: add result types2e81244
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
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-len7a2ef40
types: Switch to fixed-length PolicyHash preimage0f61e58
Merge pull request #205 from SiaFoundation/proof-supplementa176ef9
consensus: Add V1StorageProofSupplement, fixing encoding bug37cd8b8
build(deps): bump go.sia.tech/mux in the all-dependencies groupe21edfd
Merge pull request #201 from SiaFoundation/nate/upgrade-go708363a
ci,deps: upgrade go, switch to common workflow2cdf6f6
Merge pull request #196 from SiaFoundation/nate/v2-revision-ordering3dcc8ac
consensus: Validate against earlier v2 contract revisions in block300042f
build(deps): bump the all-dependencies group with 2 updates- 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
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
846fea6
Update amalgamation code to 3.46.13c0390b
add support for libsqlite3 on z/OS18cdded
fix: some typos- See full diff in compare view
Updates golang.org/x/term
from 0.23.0 to 0.24.0
Commits
2f7b0dd
go.mod: update golang.org/x dependenciesf867b76
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
Changes endpoints without a response body to return 204 No Content
instead of 200 OK
- Added available environment variables found in
main.go
- Fixed yaml config structure in accordance with
config/config.go
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
- 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.
501,936 block height
85,938 online hosts
449 active hosts
6.64 PB total storage
2.24 PB used storage
1,588 M total registry
19 M used registry
20,996 commits
71 contributors
469 forks
43 releases