A feed of development activity from across Sia Foundation GitHub repositories.
Bumps go.sia.tech/mux from 1.2.0 to 1.3.0.
Commits
e3a6299
v2: Add deprecation notice to DialStreamContextb7fef91
Merge pull request #1 from SiaFoundation/err67b430a
Merge branch 'master' into err5169509
fix lint471f45c
github: group dependabotcb672ff
github: enable dependabotc378ce8
v2: address lint21856fd
deps: update dependencies98a2580
ci: switch to common workflow61fdfb5
v1,v2: Return available data alongside error- 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 this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps 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 this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps 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 this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps the all-dependencies group with 3 updates in the / directory: github.com/cloudflare/cloudflare-go, go.sia.tech/core and go.sia.tech/coreutils.
Updates github.com/cloudflare/cloudflare-go
from 0.104.0 to 0.106.0
Release notes
Sourced from github.com/cloudflare/cloudflare-go's releases.
v0.106.0
ENHANCEMENTS:
- access_application: added target contexts support for access application type infrastructure (#3186)
- access_policy: added infrastructure connection rule support for access policy (#3186)
v0.105.0
ENHANCEMENTS:
Changelog
Sourced from github.com/cloudflare/cloudflare-go's changelog.
0.106.0 (September 27th, 2024)
ENHANCEMENTS:
- access_application: added target contexts support for access application type infrastructure (#3186)
- access_policy: added infrastructure connection rule support for access policy (#3186)
0.105.0 (September 25th, 2024)
ENHANCEMENTS:
Commits
e9034aa
Update CHANGELOG.mdd6ec26a
generate changelog5958d1b
Merge pull request #3250 from SaiDadireddy/sdadireddy/infra-appf7dbab2
expand Infra => Infrastructure with correct namespace8c36601
add changelog4721188
small fix12ad68e
Add connection rules to access policy testse27fa59
Struct types should use pointers as they are optional24fb45c
Move infra related types to appropriate file76fa2f7
Cleanup comments- Additional commits viewable in compare view
Updates go.sia.tech/core
from 0.4.6 to 0.4.7
Commits
72daac0
Merge pull request #207 from SiaFoundation/preimage-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
- Updated react-hot-toast to latest version.
- Latest version likely fixes a glitch over in the desktop apps preventing us from using ScrollArea within a toast body: https://github.com/SiaFoundation/web/issues/629
Bumps the all-dependencies group with 3 updates: github.com/cloudflare/cloudflare-go, go.sia.tech/core and go.sia.tech/web/hostd.
Updates github.com/cloudflare/cloudflare-go
from 0.104.0 to 0.106.0
Release notes
Sourced from github.com/cloudflare/cloudflare-go's releases.
v0.106.0
ENHANCEMENTS:
- access_application: added target contexts support for access application type infrastructure (#3186)
- access_policy: added infrastructure connection rule support for access policy (#3186)
v0.105.0
ENHANCEMENTS:
Changelog
Sourced from github.com/cloudflare/cloudflare-go's changelog.
0.106.0 (September 27th, 2024)
ENHANCEMENTS:
- access_application: added target contexts support for access application type infrastructure (#3186)
- access_policy: added infrastructure connection rule support for access policy (#3186)
0.105.0 (September 25th, 2024)
ENHANCEMENTS:
Commits
e9034aa
Update CHANGELOG.mdd6ec26a
generate changelog5958d1b
Merge pull request #3250 from SaiDadireddy/sdadireddy/infra-appf7dbab2
expand Infra => Infrastructure with correct namespace8c36601
add changelog4721188
small fix12ad68e
Add connection rules to access policy testse27fa59
Struct types should use pointers as they are optional24fb45c
Move infra related types to appropriate file76fa2f7
Cleanup comments- Additional commits viewable in compare view
Updates go.sia.tech/core
from 0.4.6 to 0.4.7
Commits
72daac0
Merge pull request #207 from SiaFoundation/preimage-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/web/hostd
from 0.47.0 to 0.48.0
Release notes
Sourced from go.sia.tech/web/hostd's releases.
[email protected]
Minor Changes
- 7a333ffd: The command menu now opens via Ctrl+K on Linux and Windows.
Commits
50e225e
chore: release packages7a333ff
refactor(renterd): remove default bucket7b2555d
fix: feedback5bfdb01
refactor(renterd): object routesa4db3e9
refactor(explorer): re-add host announcements to transaction route24b984b
feat(explored-types): add hostAnnouncements to ExplorerTransaction137b55d
chore: export renterd/v0.62.0291fa16
chore: release packages8c93f0a
chore: remove deprecated env vars0721586
feat(renterd): list objects allows fetching across buckets- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions
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
- 7a333ffd: The command menu now opens via Ctrl+K on Linux and Windows.
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
- Upgrade next version used across repo and projects.
I occasionally saw "superfluous response.WriteHeader call" in testing and decided to trace it down today. Turns out it comes from the renew handler. We also assert MinNewCollateral
can't be zero but I think it can.
- All query parameters are now lowercased for API consistency.
- Fixed a bug where the network average prices would show as 0 in the configuration fields.
- Max RPC price and max contract price now show a suggestion instead of a network average (10/million SC and 1 SC).
- The network averages were showing as near 0 values, which could direct the user to set them too low.
- Added handful of tests related to averages and fiat conversion.
Strict mode refactoring part 3/3: no changes to functionality.
- Update renterd app to TypeScript strict mode 2/2: config feature.
- Primarily adds all missing strict null checks.
- Refine config data types to be more specific.
Strict mode refactoring part 2/3: no changes to functionality. Tests are passing on part 3/3: https://github.com/SiaFoundation/web/pull/747
- Update
renterd
app to TypeScript strict mode: part 1. - Primarily adds all missing strict null checks throughout the codebase.
- Covers all files except the config feature which is done in a separate PR: https://github.com/SiaFoundation/web/pull/747
Strict mode refactoring part 1/3: no changes to functionality. Tests are passing on part 3/3: https://github.com/SiaFoundation/web/pull/747
- Upgrade
typescript
to the latest stable version. - Upgrade
msw
(mock service worker) - required update to use with latesttypescript
.
Use offset
and limit
consistently. Turns out there were various places where we were needlessly trying to decode the offset and limit it in the handler. I chose to rename offset
to encryptionoffset
in the worker because that would be inconsistent with the normal offset
usage. Since the option is named EncryptionOffset
I feel it's fine to name the query string parameter the same way.
Should help with rate limit issues for tests and builds relying on DockerHub.
Closes https://github.com/SiaFoundation/renterd/issues/1559
To distinguish between the different versions of encryption keys, they are prefixed with a single byte in the database. I'm also open to suggestions when it comes to naming. "salted keys" is more of a working title.
Small PR to add a missing test, no change in functionality.
- Add a test for resizing a volume.
- Adjust validation to use BigNumber operations.
Icarus experienced large contract churn on 9/20 around 10pm, ~60 contracts got removed from the set. The logs indicate hosts were considered gouging because their recommended transaction fee exceeded a certain amount. We hit a renew window around that time as well as a considerable drop in hash rate (40%), the theory is that the transaction pool clogged up causing the hosts to set higher transaction fees, which in turn caused renters to flip out about it.
We use the recommended fee when we renew contracts with the host. It's expressed as a fee per byte so we multiply it by 4096
. This PR updates the gouging checks to compare the recommended fee against the max contract price, essentially protection against the same exploit but with a (configurable) setting that's a bit more lenient.
- 7a333ffd: The bucket list now has an empty state.
- 7a333ffd: The cmdk menu now has an two separate files search options, one for across all buckets and one for the current bucket.
- 7a333ffd: It is now possible to delete a bucket named 'default'.
- 7a333ffd: The file search feature can now search across all buckets.
- 7a333ffd: The command menu now opens via Ctrl+K on Linux and Windows.
We now no longer assume a default bucket.
- It is now possible to delete a bucket named 'default'.
- The file search feature can now search across all buckets.
- The bucket list now has an empty state.
- The cmdk menu now has an two separate files search options, one for across all buckets and one for the current bucket.
- Updated to the new objects remove API.
- Adjusted the name of the objects rename API.
- The single object and list APIs routes have been updated.
We are inconsistent when it comes to escaping the bucket name in the query string. This PR makes the behaviour consistent and allows for bucket names with spaces in them. I'm wondering whether we should allow special characters in bucket names. If not we should add an assertion in create bucket.
Related to https://github.com/SiaFoundation/renterd/issues/1498
Seems like we forgot to remove the triggers from the schema when we removed them. So I did that here and added another migration to remove them.
Bumps the all-dependencies group with 2 updates: go.sia.tech/mux and go.sia.tech/web/renterd.
Updates go.sia.tech/mux
from 1.2.0 to 1.3.0
Commits
e3a6299
v2: Add deprecation notice to DialStreamContextb7fef91
Merge pull request #1 from SiaFoundation/err67b430a
Merge branch 'master' into err5169509
fix lint471f45c
github: group dependabotcb672ff
github: enable dependabotc378ce8
v2: address lint21856fd
deps: update dependencies98a2580
ci: switch to common workflow61fdfb5
v1,v2: Return available data alongside error- Additional commits viewable in compare view
Updates go.sia.tech/web/renterd
from 0.61.0 to 0.62.0
Release notes
Sourced from go.sia.tech/web/renterd's releases.
[email protected]
Minor Changes
- 64d82fc3: The transactions list now includes more details such as specific transaction types and maturity height for locked siacoin.
- 32363a16: The files directory and global mode explorers now use the new list objects API.
- 978b70aa: The hosts explorer now uses the new combined hosts API.
- ac703a94: The configuration feature now internally uses the new strong settings APIs.
- ac703a94: The configuration feature no longer includes the enable pinning or forex endpoint options under price pinning.
- ac703a94: Contracts can now be filtered and sorted by deletions and sector roots spending.
- ac703a94: The app now uses the daemon configured explorer for exchange rates.
- ac703a94: The keys feature now internally uses the new S3 settings API format.
- feca9f36: The configuration now internally uses the updated gouging base units.
Patch Changes
- 978b70aa: Fixed a bug optimistically updating last scan information when initiating a host scan.
- 1c94a604: Fixed an issue where the fit allowance suggestions were showing as NaN because all required fields were not filled.
Commits
291fa16
chore: release packages8c93f0a
chore: remove deprecated env vars0721586
feat(renterd): list objects allows fetching across bucketsac703a9
refactor(renterd): settings APIs and daemon explorer exchange ratesfeca9f3
refactor(renterd): gouging base units32363a1
refactor(renterd): migrate objects and multipart apis64d82fc
refactor(renterd): migrate to events apis and remove other deprecated apis978b70a
refactor(renterd): migrate hosts apis0950598
test(e2e): use cluster api breakers branch028d08f
refactor(explorer): transaction route now uses explored- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions
In SQLite index names have to be unique across all tables, not like in MySQL where it has to be unique within each table. For SQLite the migration errors out with Error: index idx_contracts_proof_height already exists
, this PR fixes that by recreating all indices. I don't think we can get around that in SQLite, either that or we have to do it from the application side but I don't see an issue recreating them, it was super fast on arequipa.
Bumps the all-dependencies group with 1 update: github.com/cloudflare/cloudflare-go.
Updates github.com/cloudflare/cloudflare-go
from 0.103.0 to 0.104.0
Release notes
Sourced from github.com/cloudflare/cloudflare-go's releases.
v0.104.0
BREAKING CHANGES:
- dns: removed deprecated
ZoneID
andZoneName
fields (#2986)ENHANCEMENTS:
- bot_management: add ai_bots_protection to public API (#2974)
DEPENDENCIES:
Changelog
Sourced from github.com/cloudflare/cloudflare-go's changelog.
0.104.0 (September 11th, 2024)
BREAKING CHANGES:
- dns: removed deprecated
ZoneID
andZoneName
fields (#2986)ENHANCEMENTS:
- bot_management: add ai_bots_protection to public API (#2974)
DEPENDENCIES:
Commits
8743749
Update CHANGELOG.mdda8f52c
generate changelog2b12f5e
Merge pull request #2816 from cloudflare/dependabot/go_modules/golang.org/x/t...313ac03
add CHANGELOG for #28161f3b024
Bump golang.org/x/time from 0.5.0 to 0.6.003c61c1
Merge pull request #3030 from cloudflare/dependabot/go_modules/golang.org/x/n...18cdb17
add CHANGELOG for #3030b6c1dda
Bump golang.org/x/net from 0.28.0 to 0.29.0933dac0
Merge pull request #2986 from janik-cloudflare/dns-record-zone-namefe15c7b
Update 2986.txt- 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
If we move /objects
to /object
we can get rid of GET /listobjects/*prefix"
.
- 64d82fc3: The transactions list now includes more details such as specific transaction types and maturity height for locked siacoin.
- 32363a16: The files directory and global mode explorers now use the new list objects API.
- 978b70aa: The hosts explorer now uses the new combined hosts API.
- ac703a94: The configuration feature now internally uses the new strong settings APIs.
- ac703a94: The configuration feature no longer includes the enable pinning or forex endpoint options under price pinning.
- ac703a94: Contracts can now be filtered and sorted by deletions and sector roots spending.
- ac703a94: The app now uses the daemon configured explorer for exchange rates.
- ac703a94: The keys feature now internally uses the new S3 settings API format.
- feca9f36: The configuration now internally uses the updated gouging base units.
- 978b70aa: Fixed a bug optimistically updating last scan information when initiating a host scan.
- 1c94a604: Fixed an issue where the fit allowance suggestions were showing as NaN because all required fields were not filled.
Fixes #203
I'll follow this up with a regression test in coreutils
.
Hm look like this slipped through. When I saw the issue I was surprised because I was sure I added it, but it looks like I'm not populating the autopilots if the setting isn't found and we return the default settings.
Relates to https://github.com/SiaFoundation/renterd/pull/1517
- The list objects API now includes a slabEncryptionKey parameter.
- The list objects API bucket parameter is now optional, and bucket is returned in in the object metadata.
- Removed deprecated setting APIs.
- Added new strong settings APIs.
- The configuration feature now interally uses the new strong settings API.
- The configuration feature no longer includes the enabled pinning or forex endpoint options under price pinning.
- The app now uses the daemon configured explorer for exchange rates.
- The keys feature now interally uses the updated S3 settings API.
- The bus state API now includes daemon configured explorer.
All checks pass on final api-breakers PR: https://github.com/SiaFoundation/web/pull/743
- The configuration now internally uses the updated gouging base units.
All checks pass on final api-breakers PR: https://github.com/SiaFoundation/web/pull/743
- Removed deprecated object search and object directory APIs.
- The files directory and global mode explorers now use the new list objects API.
- Updated the multipart upload APIs with the new payloads.
All checks pass on final api-breakers PR: https://github.com/SiaFoundation/web/pull/743
This PR corresponds to the changes in: https://github.com/SiaFoundation/renterd/pull/1478
- Removed deprecated wallet transactions and pending transactions APIs.
- Added wallet events and pending events APIs.
- Removed deprecated wallet discard, fund, sign, and outputs APIs.
- The renterd transactions list is now includes more details such as specific transaction types and maturity height for locked siacoin.
All checks pass on final api-breakers PR: https://github.com/SiaFoundation/web/pull/743
- Removed deprecated search hosts and autopilot hosts APIs
- Added the new combined hosts API.
- The hosts explorer now uses the new combined hosts API.
- Added the bus list autopilots API.
- Fixed a bug optimistically updating last scan information when initiating a host scan.
- clusterd uses the following cluster branch: https://github.com/SiaFoundation/cluster/tree/alex which includes all the latest renterd api-breakers changes and corresponding fixes.
Bumps the all-dependencies group with 1 update: go.sia.tech/mux.
Updates go.sia.tech/mux
from 1.2.0 to 1.3.0
Commits
e3a6299
v2: Add deprecation notice to DialStreamContextb7fef91
Merge pull request #1 from SiaFoundation/err67b430a
Merge branch 'master' into err5169509
fix lint471f45c
github: group dependabotcb672ff
github: enable dependabotc378ce8
v2: address lint21856fd
deps: update dependencies98a2580
ci: switch to common workflow61fdfb5
v1,v2: Return available data alongside error- 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
Gets rid of /hosts/scanning
by adding an extra filter option to the /hosts
endpoint.
Occasionally we have to perform a migration only on the SQLite db and not the MySQL db or vice versa (see 00020_idx_db_directory
). Up until now MySQL would fail though with "empty query". Since it's nice to have a nice overview of migrations I think we should allow empty migrations and not execute them when we find they're empty.
Bumps the all-dependencies group with 2 updates: github.com/klauspost/reedsolomon and go.sia.tech/gofakes3.
Updates github.com/klauspost/reedsolomon
from 1.12.3 to 1.12.4
Release notes
Sourced from github.com/klauspost/reedsolomon's releases.
v1.12.4
What's Changed
- Make ARM SVE code vector length agnostic by
@fwessels
in klauspost/reedsolomon#285- Test asm slice reads/writes in race tests by
@klauspost
in klauspost/reedsolomon#286Full Changelog: https://github.com/klauspost/reedsolomon/compare/v1.12.3...v1.12.4
Commits
6a9df69
Test asm slice reads/writes in race tests (#286)67157af
Make ARM SVE code vector length agnostic (#285)- See full diff in compare view
Updates go.sia.tech/gofakes3
from 0.0.4 to 0.0.5
Commits
11d8cef
avoid panic in copyObject33e8e5c
Merge pull request #36 from SiaFoundation/dependabot/go_modules/github.com/aw...1b80b3c
Bump github.com/aws/aws-sdk-go from 1.54.15 to 1.55.5f1a15e1
Merge pull request #32 from SiaFoundation/dependabot/go_modules/github.com/aw...59bb670
Merge pull request #31 from SiaFoundation/dependabot/go_modules/golang.org/x/...1c4a320
Bump github.com/aws/aws-sdk-go from 1.54.6 to 1.54.1577c1304
Bump golang.org/x/tools from 0.22.0 to 0.23.0- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions
Adds an endpoint to backup a running hostd
node to the local system. Can be used to schedule automatic atomic backups without shutting down the node or locking the database for a significant amount of time.
[POST] /api/system/sqlite3/backup
curl -u :"sia is cool" http://localhost:9980/api/system/sqlite3/backup -X POST -d '{ "path": "/backups/hostd.sqlite3.bak" }'
- Fixed an issue where the fit allowance suggestions were showing as NaN because all required fields were not filled.
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
- 02c02fe7: The send siacoin feature now validates the entered address.
- 5f34c9a6: The UI now uses the daemon configured explorer for exchange rates.
- 81d374f4: The send siacoin feature now calculates the fee using the daemon's recommended fee per byte and a standard transaction size.
- 5f34c9a6: Migrated all exchange rate usage from Sia Central to Siascan.
- d6eed368: The contracts metrics now show active, rejected, failed, renewed, finalized, and successful.
Bumps the all-dependencies group with 4 updates: github.com/mattn/go-sqlite3, go.sia.tech/web/hostd, golang.org/x/sys and golang.org/x/term.
Updates github.com/mattn/go-sqlite3
from 1.14.22 to 1.14.23
Commits
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 go.sia.tech/web/hostd
from 0.46.0 to 0.47.0
Release notes
Sourced from go.sia.tech/web/hostd's releases.
[email protected]
Minor Changes
- 02c02fe7: The send siacoin feature now validates the entered address.
- 5f34c9a6: The UI now uses the daemon configured explorer for exchange rates.
- 81d374f4: The send siacoin feature now calculates the fee using the daemon's recommended fee per byte and a standard transaction size.
- 5f34c9a6: Migrated all exchange rate usage from Sia Central to Siascan.
- d6eed368: The contracts metrics now show active, rejected, failed, renewed, finalized, and successful.
Commits
054bb27
chore: release packages5e478dc
refactor: explored-types: add id to ExplorerTransaction type5c0df06
fix: pluralize add tests02c02fe
refactor: wallet send form81d374f
feat: renterd wallet senda8c22bb
refactor: renterd account reset drift moved to workerd6eed36
fix: hostd metrics6bb9322
refactor: explored-types: update routes to match explored API changesd5dc0f8
refactor: pluralizedd1b403
fix: renterd no recommendations- Additional commits viewable in compare view
Updates golang.org/x/sys
from 0.24.0 to 0.25.0
Commits
a43b625
windows: add SIO_UDP_NETRESET constanted67b15
windows: add console codepage api9cb830b
unix: add missing import to syscall_hurd.go71132f5
unix: add POLLRDHUP to FreeBSD3283fc3
cpu: add support for detecting RISC-V extensions29e55b2
unix: use os.Executable rather than os.Args[0] in testsa8c5219
unix: rename XDPUmemReg field back to Size59665e5
unix: add Connectx for darwina0c72ef
unix: add f_flag member flags on z/OSc64c51d
unix: update riscv64 hwprobe to Linux kernel 6.10- Additional commits viewable in compare view
Updates golang.org/x/term
from 0.23.0 to 0.24.0
Commits
2f7b0dd
go.mod: update golang.org/x 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
Bumps the all-dependencies group with 2 updates: golang.org/x/crypto and golang.org/x/sys.
Updates golang.org/x/crypto
from 0.26.0 to 0.27.0
Commits
c9da6b9
all: fix printf(var) mistakes detected by latest printf checkerb35ab4f
go.mod: update golang.org/x dependenciesbcb0f91
internal/poly1305: Port sum_amd64.s to Avo7eace71
chacha20poly1305: Avo port of chacha20poly1305_amd64.s620dfbc
salsa20/salsa: Port salsa20_amd64.s to Avo82942cf
blake2b: port blake2b_amd64.s to Avo0484c26
blake2b: port blake2bAVX2_amd64.s to Avo38ed1bc
blake2s: port blake2s_amd64.s to Avo38a0b5d
argon2: Avo port of blamka_amd64.sbf5f14f
x509roots/fallback: update bundle- Additional commits viewable in compare view
Updates golang.org/x/sys
from 0.24.0 to 0.25.0
Commits
a43b625
windows: add SIO_UDP_NETRESET constanted67b15
windows: add console codepage api9cb830b
unix: add missing import to syscall_hurd.go71132f5
unix: add POLLRDHUP to FreeBSD3283fc3
cpu: add support for detecting RISC-V extensions29e55b2
unix: use os.Executable rather than os.Args[0] in testsa8c5219
unix: rename XDPUmemReg field back to Size59665e5
unix: add Connectx for darwina0c72ef
unix: add f_flag member flags on z/OSc64c51d
unix: update riscv64 hwprobe to Linux kernel 6.10- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions
The failed and succesful logic changed slightly when migrating to the v2 consensus causing some contracts that were considered failed to be changed to successful. This enables that transition instead of crashing.
Bumps the all-dependencies group with 2 updates: github.com/cloudflare/cloudflare-go and nhooyr.io/websocket.
Updates github.com/cloudflare/cloudflare-go
from 0.102.0 to 0.103.0
Release notes
Sourced from github.com/cloudflare/cloudflare-go's releases.
v0.103.0
ENHANCEMENTS:
- errors: implement the Unwrap method for custom error types to access the wrapped errors via errors.Is and errors.As (#2857)
- rulesets: add "contains" field to custom cache key header (#2935)
- teams_certificates: renamed
enabled
toin_use
(#2937)- waiting_room: add support for
enabled_origin_commands
(#2931)DEPENDENCIES:
- deps: bumps github.com/urfave/cli/v2 from 2.27.3 to 2.27.4 (#2863)
Changelog
Sourced from github.com/cloudflare/cloudflare-go's changelog.
0.103.0 (August 28th, 2024)
ENHANCEMENTS:
- errors: implement the Unwrap method for custom error types to access the wrapped errors via errors.Is and errors.As (#2857)
- rulesets: add "contains" field to custom cache key header (#2935)
- teams_certificates: renamed
enabled
toin_use
(#2937)- waiting_room: add support for
enabled_origin_commands
(#2931)DEPENDENCIES:
- deps: bumps github.com/urfave/cli/v2 from 2.27.3 to 2.27.4 (#2863)
Commits
c8841b9
Update CHANGELOG.mdf484daa
generate changelog1cc0e61
Merge pull request #2937 from alyssamw/masterb7939eb
Update .changelog/2937.txt9f93802
Merge pull request #2935 from anthocf/anthocf/cache-key-headers-contains3fb0362
Update .changelog/2935.txt3a85591
rename enabled to in use for gateway certificatesdaafdee
add "contains" field to custom cache keye4ee7f2
Merge pull request #2857 from favonia/unwrap-errors60f64ed
Merge pull request #2932 from OilyLime/hyperdrive-binding- Additional commits viewable in compare view
Updates nhooyr.io/websocket
from 1.8.11 to 1.8.17
Release notes
Sourced from nhooyr.io/websocket's releases.
v1.8.17
- This library is now deprecated. Please do not use this library any longer at the
nhooyr.io/websocket
import path. It will not receive any further updates. Coder is now maintaining it at https://github.com/coder/websocket under thegithub.com/coder/websocket
import path.v1.8.16
- Please do not use this library any longer at the
nhooyr.io/websocket
import path as it is deprecated. It will not receive any maintenance updates. Coder is maintaining it now at https://github.com/coder/websocket under thegithub.com/coder/websocket
import path.v1.8.15
- Please do not use this library any longer at the
nhooyr.io/websocket
import path as it is deprecated. It will not receive any maintenance updates. Coder is maintaining it now at https://github.com/coder/websocket under thegithub.com/coder/websocket
import path.v1.8.14
- Please do not use this library any longer at the
nhooyr.io/websocket
import path as it is deprecated. It will not receive any maintenance updates. Coder is maintaining it now at https://github.com/coder/websocket under thegithub.com/coder/websocket
import path.
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
Fixes a validation regression in the core
consensus allowing revisions with lower revision numbers in the same block.
TODO
- Database migration
- Reset consensus
- Update UI #440
Changes endpoints without a response body to return 204 No Content
instead of 200 OK
Add v2 apply/revert coverage for siacoin outputs, siafund outputs, file contracts, file contract revisions, and storage proofs as described in https://github.com/SiaFoundation/core/issues/191 and https://github.com/SiaFoundation/core/pull/187#issuecomment-2274189642
- 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
Add v1 apply/revert coverage for siacoin outputs, siafund outputs, file contracts, file contract revisions, and storage proofs as described in https://github.com/SiaFoundation/core/issues/191 and https://github.com/SiaFoundation/core/pull/187#issuecomment-2274189642
Bumps the all-dependencies group with 4 updates: github.com/cloudflare/cloudflare-go, go.sia.tech/core, go.sia.tech/coreutils and go.sia.tech/web/hostd.
Updates github.com/cloudflare/cloudflare-go
from 0.101.0 to 0.102.0
Release notes
Sourced from github.com/cloudflare/cloudflare-go's releases.
v0.102.0
ENHANCEMENTS:
- rulesets: Add
DeleteRulesetRule
(#2833)- rulesets: Export
DeleteRulesetRuleParams
fields (#2886)- teams_accounts: Add
disable_for_time
attribute (#2797)DEPENDENCIES:
- deps: bumps golang.org/x/net from 0.27.0 to 0.28.0 (#2835)
Changelog
Sourced from github.com/cloudflare/cloudflare-go's changelog.
0.102.0 (August 14th, 2024)
ENHANCEMENTS:
- rulesets: Add
DeleteRulesetRule
(#2833)- rulesets: Export
DeleteRulesetRuleParams
fields (#2886)- teams_accounts: Add
disable_for_time
attribute (#2797)DEPENDENCIES:
- deps: bumps golang.org/x/net from 0.27.0 to 0.28.0 (#2835)
Commits
694d59f
Update CHANGELOG.md01784c5
Update CHANGELOG.md for #279730dac60
Merge pull request #2797 from da-cf/support-teams-accounts-admin-override928fb7f
Merge branch 'master' into support-teams-accounts-admin-override8cd3d9d
Update CHANGELOG.md (Manual Trigger)dbda9aa
Merge pull request #2888 from tlimoncelli/tlim_crlf2ddd86b
Merge pull request #2886 from tlimoncelli/tlim_b2885_exportfieldsb3ec349
add changelog7f0dcbc
cosmetic(crlf): Fix CRLF line endingsd0e24f1
Add changelog- Additional commits viewable in compare view
Updates go.sia.tech/core
from 0.4.3 to 0.4.4
Commits
ebc804c
Merge pull request #190 from SiaFoundation/create-attestationsfaa6c86
consensus: Mark attestation elements as created9dffffb
Merge pull request #188 from SiaFoundation:revision-windowccf1fd7
consensus: Add TestWindowRevision9a56fba
Merge pull request #189 from SiaFoundation/dependabot/go_modules/all-dependen...04c69e1
build(deps): bump the all-dependencies group with 2 updates07c9bc5
consensus: Disallow contract revision after proof window opens- See full diff in compare view
Updates go.sia.tech/coreutils
from 0.2.5 to 0.3.0
Commits
1c4c895
ci: skip test build48d2bed
ci: use centralized workflow14b0a04
deps: update coree59f706
Merge pull request #88 from SiaFoundation/anagami-resetf495292
chain: change foundation primary81834af
chain: add docstringbf73762
reset anagami network6bd5795
Merge pull request #87 from SiaFoundation/revert-expirationfee4ef5
chain: Revert confusion in revision expiration reversion40722f8
Merge pull request #86 from SiaFoundation/nate/attestation-tests- Additional commits viewable in compare view
Updates go.sia.tech/web/hostd
from 0.45.1 to 0.46.0
Release notes
Sourced from go.sia.tech/web/hostd's releases.
[email protected]
Minor Changes
- a64f40cc: Sync status is now determined by whether the last block's timestamp is within the last 12 hours.
- a64f40cc: The app has been updated to use the new v2 endpoints and data types. Closes SiaFoundation/hostd#440
- a64f40cc: Transaction types have been refined to include new v2 derived transaction types.
- a64f40cc: The wallet balance tip now includes an immature balance.
Commits
4902aaa
chore: release packages70d9d60
chore: prettier revert proseWrapd4c828e
fix: website sia-ui downloadsa64f40c
feat: hostd v2 changesa6c956e
refactor: react-core docs, cleanupeabad8c
feat: renterd price pinning54d1490
chore: prettier proseWrapce89b99
fix: renterd network names4bb128d
fix: renterd uploads new intermediate directories6ad3f2f
feat: renterd price pinning library changes- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions
Bumps the all-dependencies group with 2 updates: github.com/cloudflare/cloudflare-go and go.sia.tech/web/hostd.
Updates github.com/cloudflare/cloudflare-go
from 0.101.0 to 0.102.0
Release notes
Sourced from github.com/cloudflare/cloudflare-go's releases.
v0.102.0
ENHANCEMENTS:
- rulesets: Add
DeleteRulesetRule
(#2833)- rulesets: Export
DeleteRulesetRuleParams
fields (#2886)- teams_accounts: Add
disable_for_time
attribute (#2797)DEPENDENCIES:
- deps: bumps golang.org/x/net from 0.27.0 to 0.28.0 (#2835)
Changelog
Sourced from github.com/cloudflare/cloudflare-go's changelog.
0.102.0 (August 14th, 2024)
ENHANCEMENTS:
- rulesets: Add
DeleteRulesetRule
(#2833)- rulesets: Export
DeleteRulesetRuleParams
fields (#2886)- teams_accounts: Add
disable_for_time
attribute (#2797)DEPENDENCIES:
- deps: bumps golang.org/x/net from 0.27.0 to 0.28.0 (#2835)
Commits
694d59f
Update CHANGELOG.md01784c5
Update CHANGELOG.md for #279730dac60
Merge pull request #2797 from da-cf/support-teams-accounts-admin-override928fb7f
Merge branch 'master' into support-teams-accounts-admin-override8cd3d9d
Update CHANGELOG.md (Manual Trigger)dbda9aa
Merge pull request #2888 from tlimoncelli/tlim_crlf2ddd86b
Merge pull request #2886 from tlimoncelli/tlim_b2885_exportfieldsb3ec349
add changelog7f0dcbc
cosmetic(crlf): Fix CRLF line endingsd0e24f1
Add changelog- Additional commits viewable in compare view
Updates go.sia.tech/web/hostd
from 0.45.1 to 0.46.0
Release notes
Sourced from go.sia.tech/web/hostd's releases.
[email protected]
Minor Changes
- a64f40cc: Sync status is now determined by whether the last block's timestamp is within the last 12 hours.
- a64f40cc: The app has been updated to use the new v2 endpoints and data types. Closes SiaFoundation/hostd#440
- a64f40cc: Transaction types have been refined to include new v2 derived transaction types.
- a64f40cc: The wallet balance tip now includes an immature balance.
Commits
4902aaa
chore: release packages70d9d60
chore: prettier revert proseWrapd4c828e
fix: website sia-ui downloadsa64f40c
feat: hostd v2 changesa6c956e
refactor: react-core docs, cleanupeabad8c
feat: renterd price pinning54d1490
chore: prettier proseWrapce89b99
fix: renterd network names4bb128d
fix: renterd uploads new intermediate directories6ad3f2f
feat: renterd price pinning library changes- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions
Hosts return ErrHostInternalError
when trying to read a sector that can't be found, we can safely expose that error.
- 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.
While I was browsing the accounts code I found that both CreditAccountWithContract
and DebitAccount
don't actually return the account balance because of scoping. Since those return variables weren't being used I figured we might as well get rid of them.
Attestations were being treated as "updated" instead of "created," causing various accumulator-related panics.
This PR adds issue templates similar to renterd
s.
Bumps the all-dependencies group with 1 update: golang.org/x/term.
Updates golang.org/x/term
from 0.22.0 to 0.23.0
Commits
d598954
go.mod: update golang.org/x dependenciesd4346f0
LICENSE: update per Google Legal- 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 5 updates:
Package | From | To |
---|---|---|
go.sia.tech/core | 0.4.1 | 0.4.3 |
go.sia.tech/coreutils | 0.2.1 | 0.2.5 |
golang.org/x/sys | 0.23.0 | 0.24.0 |
golang.org/x/term | 0.22.0 | 0.23.0 |
nhooyr.io/websocket | 1.8.11 | 1.8.17 |
Updates go.sia.tech/core
from 0.4.1 to 0.4.3
Commits
4dfdbd9
types: omit merkleproof field from JSON when empty41ed190
Merge pull request #187 from SiaFoundation/revert-revision025d4a6
consensus: Add TestRevertedRevisionLeaf523c0be
consensus: Skip irrelevant elements in ForEachTreeNodea1a2c3f
consensus: Add (*MidState).forEachRevertedElement17f466f
Merge pull request #186 from SiaFoundation/dependabot/go_modules/all-dependen...6943478
build(deps): bump golang.org/x/sys in the all-dependencies group2b1c3d8
Merge pull request #185 from SiaFoundation/nate/json-update-missed-proof9ae5cfa
types: use const instead of magic strings for v2 resolutions698efe3
consensus: add MissedProofs to update structs- See full diff in compare view
Updates go.sia.tech/coreutils
from 0.2.1 to 0.2.5
Commits
a9618c2
deps: update dependencies05864d0
wallet: clear event proofs02c8b1f
Merge pull request #84 from SiaFoundation/nate/unify-wallet-types585837f
testutil: fix lintb680c3b
wallet: make event structs consistent across all appsbecc186
testutil: add v2 testnet, remove unused fielda70e251
Merge pull request #81 from SiaFoundation/chris/fund-fix3e2d37d
chain: Add (*Manager).V2UnconfirmedParentsc13491e
wallet: Fix ephemeral output handlingbf9cb54
Merge pull request #83 from SiaFoundation/chris/anagami- Additional commits viewable in compare view
Updates golang.org/x/sys
from 0.23.0 to 0.24.0
Commits
914deed
unix: add missing ETHTOOL_FLAG_ constants4c7077e
windows: add enums for IpAdapterUnicastAddress29298aa
windows: delete TestGetKeyboardLayout- See full diff in compare view
Updates golang.org/x/term
from 0.22.0 to 0.23.0
Commits
d598954
go.mod: update golang.org/x dependenciesd4346f0
LICENSE: update per Google Legal- See full diff in compare view
Updates nhooyr.io/websocket
from 1.8.11 to 1.8.17
Release notes
Sourced from nhooyr.io/websocket's releases.
v1.8.17
- This library is now deprecated. Please do not use this library any longer at the
nhooyr.io/websocket
import path. It will not receive any further updates. Coder is now maintaining it at https://github.com/coder/websocket under thegithub.com/coder/websocket
import path.v1.8.16
- Please do not use this library any longer at the
nhooyr.io/websocket
import path as it is deprecated. It will not receive any maintenance updates. Coder is maintaining it now at https://github.com/coder/websocket under thegithub.com/coder/websocket
import path.v1.8.15
- Please do not use this library any longer at the
nhooyr.io/websocket
import path as it is deprecated. It will not receive any maintenance updates. Coder is maintaining it now at https://github.com/coder/websocket under thegithub.com/coder/websocket
import path.v1.8.14
- Please do not use this library any longer at the
nhooyr.io/websocket
import path as it is deprecated. It will not receive any maintenance updates. Coder is maintaining it now at https://github.com/coder/websocket under thegithub.com/coder/websocket
import path.
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
Slightly worrisome that I missed this check when porting siad
... 👀
This demonstrates why it's insufficient to rely on the fact that core
can sync the existing chain: those are all valid blocks. Syncing mainnet tells us nothing about whether core
will behave the same as siad
with respect to invalid blocks. So we should probably use the fuzzer to pass blocks to both core
and siad
, checking that either they both accept or both reject.
Bumps the all-dependencies group with 2 updates: golang.org/x/crypto and golang.org/x/sys.
Updates golang.org/x/crypto
from 0.25.0 to 0.26.0
Commits
5bcd010
go.mod: update golang.org/x dependencies3375612
ssh: add support for unpadded RSA signaturesbb80217
ssh: don't use dsa keys in integration tests6879722
ssh: remove go 1.21+ dependency on slicese983fa2
sha3: Avo port of keccakf_amd64.s80fd972
LICENSE: update per Google Legalf2bc3a6
x509roots/fallback/internal/goissue52287: deleted66d9c3
x509roots/fallback: update bundle- See full diff in compare view
Updates golang.org/x/sys
from 0.23.0 to 0.24.0
Commits
914deed
unix: add missing ETHTOOL_FLAG_ constants4c7077e
windows: add enums for IpAdapterUnicastAddress29298aa
windows: delete TestGetKeyboardLayout- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions
Changes the wallet types to use coreutils. This does not change the encoding of the types. Requires https://github.com/SiaFoundation/coreutils/pull/84
Updates core and coreutils to fix the reorg issue and refactors the node startup to be inline with explored
and hostd
When iterating over the elements in a MidState
, we need to be careful with regard to contract revisions. When applying a block, we want to report the latest revision; but when reverting, we want to report the earliest. Unfortunately, this asymmetry was overlooked, leading to a rather pernicious bug: when a block containing a revision is reverted, the Merkle tree is still contains the revision, not the original contract.
It's pernicious because A) reorgs are fairly uncommon, and B) the reorg has to contain a revision, and also C) redundancy in the DB code means that the invalid hashes may be overwritten by valid ones, masking the problem. That's likely why we only discovered this bug after adding a sanity check that validates every block supplement. Sure, our consensus tests are a bit lacking when it comes to file contracts -- I don't think there are any involving both a revision and a reorg! -- but the nature of this bug makes me wonder if it would have eluded detection anyway.
If you've been running a core
node long enough to observe a reorg, there's a decent chance your Merkle tree is (very slightly) wrong. This can probably be fixed by updating and then manually reverting and re-applying a lot of blocks... but resyncing from genesis is the best way to be sure your state is ok. 🙃
Bumps the all-dependencies group with 1 update: golang.org/x/sys.
Updates golang.org/x/sys
from 0.22.0 to 0.23.0
Commits
aa1c4c8
unix: provide Mount on openbsdcde4660
unix: add linux mseal system call31ef9e7
unix: update to Linux kernel 6.10d03a807
unix: update glibc to 2.40beb5949
windows: correctly generate GetAce syscall7bb0bf7
cpu: add Int8 matrix multiplication instructions CPU feature flag for ARM64bce4cf7
windows: add GetKeyboardLayout & ToUnicodeEx0eac9b5
windows: add flags for GetAdaptersAddresses0c18c88
cpu: add DIT option and hwcap DIT supportdce4e64
LICENSE: update per Google Legal- 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
This is a smaller version of #158 that only adds the endpoints
Adds consensus update endpoints for retrieving block deltas and adds experimental support for using a remote consensus database for wallet state.
All v1 contracts are considered valid
in the JSON representation regardless of their resolution. Adds an additional missed
slice.
Core v0.4.1 fixed the serialization of V2FileContractFinalization
This field does not follow the consistent use of camelCase for JSON serialization.
Adds two new endpoints /outputs/siacoin/:id
and /outputs/siafund/:id
to lookup utxos by ID. These endpoints are intended only for nodes in full
index mode.
Bumps the all-dependencies group with 2 updates: go.sia.tech/core and go.sia.tech/coreutils.
Updates go.sia.tech/core
from 0.3.0 to 0.3.1
Commits
12fc9fb
consensus: Add validateSupplementdb1b4ea
types: Fix PolicyTypeUnlockConditions validationb24c351
Merge pull request #179 from SiaFoundation/sp-whitespace299bf42
Merge pull request #178 from SiaFoundation/dependabot/go_modules/all-dependen...aef43ff
types: Handle whitespace in SpendPolicy encodingeb4f71a
build(deps): bump the all-dependencies group with 2 updates- See full diff in compare view
Updates go.sia.tech/coreutils
from 0.1.0 to 0.1.2
Commits
11bcc7b
Merge pull request #69 from SiaFoundation/chris/fix-syncer-connectb87f104
fix allowConnect5b6af68
Merge pull request #68 from SiaFoundation/dependabot/go_modules/golang.org/x/...dea812b
Merge pull request #67 from SiaFoundation/chris/connect-dns429d31d
build(deps): bump golang.org/x/crypto from 0.24.0 to 0.25.0657868e
syncer: resolve domain before checking if peer is banned4a9f0a6
Merge pull request #66 from SiaFoundation/nate/update-bootstrap-peersfbd7056
syncer: update zen bootstrap peer list- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions
- Fixes an off-by-one error in the event maturity heights
- Fixes the JSON encoding of
EventV2ContractResolution
due to the embeddedtypes.V2FileContractResolution
field - Adds sanity testing for each event type
The expression-based SpendPolicy encoding is more compact and easier to read, but using it as the standard JSON encoding means that all clients have to write a custom rule, which is annoying. Since most users won't be looking at raw JSON anyway, we might as well make life a bit easier for our devs by switch to a more conventional structural encoding. (Note, however, that we still intend to use the expression-based encoding when displaying policies in UIs.)
Thanks to @Alrighttt for surfacing this.
Old:
thresh(2, [
above(100),
pk(0x111d2995afa8bf162180a647b9f1eb6a275fe8818e836b69b351871d5caf9c590ed25aec0616),
thresh(2, [
above(200),
pk(0x111d2995afa8bf162180a647b9f1eb6a275fe8818e836b69b351871d5caf9c590ed25aec0616),
]),
]),
New:
{
"type": "thresh",
"policy": {
"n": 2,
"of": [
{
"type": "above",
"policy": 100
},
{
"type": "pk",
"policy": "ed25519:111d2995afa8bf162180a647b9f1eb6a275fe8818e836b69b351871d5caf9c590ed25aec0616"
},
{
"type": "thresh",
"policy": {
"n": 2,
"of": [
{
"type": "above",
"policy": 200
},
{
"type": "pk",
"policy": "ed25519:111d2995afa8bf162180a647b9f1eb6a275fe8818e836b69b351871d5caf9c590ed25aec0616"
}
]
}
}
]
}
}
This enables consensus "subscription" over HTTP, which in turn allows nodes running on the same machine to share a consensus.db. See https://github.com/SiaFoundation/core/pull/180
This is an unfortunate amount of code. It could be shrunk a little by factoring out the MidState
marshaling but... meh. It's not the end of the world.
This is a testing PR for all event types and not intended to be merged
Specifiers were always intended to be human-readable IDs. This codifies that by escaping non-alphanumeric specifiers during marshaling. Alphanumeric specifiers are marshaled exactly the same as before.
Non-alphanumeric specifiers are fairly rare. The most common offending character is " "
, which shows up in v1 specifiers like "siacoin output"
. Also, an early version of the RHP used raw integers in some of its RPC IDs (e.g. "RPCDownload\x02"
), but those RPCs have been obsolete for many years at this point.
Specifiers are primarily seen in two places: UnlockKey
algorithms in transaction inputs, and RPC IDs in logs. The latter are developer chosen, so nothing will change there. As for the former, users can technically set the algorithm to whatever they want, but doing so exposes their SC to possible theft, so there is basically no reason to do it. Probably >99% of algorithms are "ed25519"
, so again, no change.
I also decided to add length validation in NewSpecifier
. While this is a little annoying, there's no question that silently truncating to 16 bytes has the potential to cause bugs. For example, because of this change, I discovered that "RelayTransactionSet"
is actually sent over the wire as "RelayTransaction"
! If we had added an RPC for sending a single transaction and called it "RelayTransaction"
, those IDs would have collided.
Previously, ValidateBlock
(and by extension, ApplyBlock
) assumed that the supplied V1BlockSupplement
was valid. This is not entirely unreasonable, since the supplement is computed locally -- unlike the Block
itself, it is not directly manipulable by an attacker. However, even if a local computation isn't malicious, it can still be buggy! And indeed, we recently discovered that the consensusDB
helper in validation_test.go
was not updating the Merkle proofs of its elements, which ultimately lead to a panic in ApplyBlock
.
This PR adds a validateSupplement
step to ApplyBlock
, which ensures that all of the state elements in the supplement exist in the accumulator (and have not been spent or resolved). Note that this is different from how we handle accumulator checks in v2 transactions: in v2, we check the Merkle proofs individually (e.g. in validateV2Siacoins
), whereas with v1 we validate all of the proofs in one place. Each strategy has its pros and cons; personally, doing accumulator checks in v1 validation functions just felt a bit out-of-place to me. Besides, there are other checks that need to be performed for the supplement, so centralizing them seemed sensible.
The old implementation was broken, as evidenced by the test cases I added. Specifically, we were implementing this policy in terms of PolicyThreshold
, but PolicyThreshold
requires you to mask any unused public keys with PolicyOpaque
, which PolicyTypeUnlockConditions
can't do. We also now handle algorithms other than SpecifierEd25519
correctly. Overall, this brings validation into agreement with consensus.validateSignatures
. We can't match its behavior exactly (because v1 transactions contain a list signatures that target specific inputs, while v2 transaction inputs carry their signatures with them), but that's fine; we just need to ensure that any UnlockConditions
that were satisfiable in v1 are also satisfiable in v2.
Bumps the all-dependencies group with 1 update: golang.org/x/term.
Updates golang.org/x/term
from 0.21.0 to 0.22.0
Commits
c976cb1
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: golang.org/x/crypto and golang.org/x/sys.
Updates golang.org/x/crypto
from 0.24.0 to 0.25.0
Commits
9fadb0b
go.mod: update golang.org/x dependenciesa6a393f
all: bump go.mod version and drop compatibility shims1c74500
ssh/test: make struct comment match struct named4e7c9c
ssh: fail client auth immediately on receiving disconnect message- See full diff in compare view
Updates golang.org/x/sys
from 0.21.0 to 0.22.0
Commits
faed7ec
unix: add PthreadChdir and PthreadFchdir on darwinc892bb7
unix: fix MmapPtr test failing on OpenBSDa0ef40a
unix: fix MremapPtr test failing on NetBSDdaa2394
unix: add unsafe mmap, munmap, mremap7670087
windows: add GetAce Windows API348425a
windows/svc: do not pass theService to windows.RegisterServiceCtrlHandlerEx- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions
/wallet/:id/events
can be slow in full index mode when the wallet has no events. Adds a check to make sure the wallet has events before running the more expensive events query.
This adds a created bool
argument to the (Update).ForEach
methods, allowing callers to identify ephemeral elements by checking for created && spent
(or, in the case of file contracts, created && resolved
.
This is very useful for any callers who care about persistently tracking unspent outputs. Normally, the code for doing so looks like this:
cau.ForEachSiacoinElement(func(sce types.SiacoinElement, spent bool) { if spent { deleteUTXO(sce.ID) } else { insertUTXO(sce) } })
but this is subtly buggy: if the element was ephemeral, spent
will be true, so we'll try to delete it; but since it's ephemeral, it's not in the set, so there's nothing to delete! Whether or not this causes problems depends on how deleteUTXO
is implemented. Specifically, if you assert that an element must exist in order to be deleted, that assert will fail.
To avoid this, we need a way to detect whether an element is ephemeral. chain.DBStore
attempted to do this by checking sce.LeafIndex == types.EphemeralLeafIndex
. However, this doesn't work: ephemeral elements are assigned leaf indices just like regular outputs, so that condition is never satisfied! This eventually lead to a panic: ephemeral outputs within a reverted block would be added to the UTXO set (instead of being ignored), and if a future block references that same output, the DB gets confused and crashes.
Adding a created
flag seemed like the most direct of doing this. Another option would be to always skip the ephemeral elements in the ForEach
methods, and add a new method (or methods) for accessing only the ephemeral elements. This is attractive, since it doesn't break any existing code, and most callers want to skip ephemeral elements anyway. Ultimately, though, I decided against it; it pollutes the namespace, and it's one more thing you "just need to know" in order to use the API properly. Plus it makes the name "ForEach" a lie. Better to keep everything in one place.
This changes the policy to stringify and parse the unlock key in the v1 format specifier:hex key
. You can currently create a valid PolicyTypeUnlockCondition
using an UnlockKey
without an ed25519 algorithm, but can't reverse it. This doesn't cause any issues since the v2 validation checks will reject it, but it's slightly annoying that a valid serialization can't be reversed.
also: I could be wrong, but I believe v1 treated unlock conditions with unknown key algorithms as, effectively, anyone-can-spend. I'm not sure if it was ever actually seen on-chain, but after the require height any unlock condition that used a different algorithm will no longer be spendable.
Current:
sp := SpendPolicy{PolicyTypeUnlockConditions(UnlockConditions{ Timelock: 0, PublicKeys: []UnlockKey{ { Algorithm: NewSpecifier("blank"), Key: frand.Bytes(40), }, }, SignaturesRequired: 1, })} sp.String() // uc(0,[0x97ef92d4c07713b7a3a0e17000e59a9ef6e27402eaef0b5c9ae5cb0da50a78dd0a04e63d0e78e60d],1)
New:
sp := SpendPolicy{PolicyTypeUnlockConditions(UnlockConditions{ Timelock: 0, PublicKeys: []UnlockKey{ { Algorithm: NewSpecifier("blank"), Key: frand.Bytes(40), }, }, SignaturesRequired: 1, })} sp.String() // uc(0,[blank:97ef92d4c07713b7a3a0e17000e59a9ef6e27402eaef0b5c9ae5cb0da50a78dd0a04e63d0e78e60d],1)
490,997 block height
85,782 online hosts
451 active hosts
6.08 PB total storage
1.82 PB used storage
1,952 M total registry
23 M used registry
20,996 commits
71 contributors
469 forks
43 releases