Upgrade Iroh integration to 1.0
This commit is contained in:
parent
b0768999db
commit
32580749d6
9 changed files with 912 additions and 930 deletions
|
|
@ -19,9 +19,11 @@ shared Iroh endpoint and register module protocols on ALPNs such as
|
|||
`/geth/cas/1`, `/geth/kv/1`, `/geth/pipe/1`, `/geth/ssh-proxy/1`, and
|
||||
`/geth/overlay/1`.
|
||||
|
||||
The pinned Iroh integration uses `iroh = 0.95.1`. `geth-iroh` wraps
|
||||
`iroh::Endpoint::builder()`, configures geth ALPNs with `Builder::alpns`, uses
|
||||
`Builder::relay_mode`, persists an `iroh::SecretKey` as hex-encoded 32-byte key
|
||||
The pinned Iroh integration uses `iroh = 1.0.0`. `geth-iroh` wraps
|
||||
`iroh::Endpoint::builder(iroh::endpoint::presets::N0)`, configures geth
|
||||
ALPNs with `Builder::alpns`, uses `Builder::relay_mode`, adds
|
||||
`iroh-mdns-address-lookup` when local discovery is enabled, persists an
|
||||
`iroh::SecretKey` as hex-encoded 32-byte key
|
||||
material, and shuts down through `Endpoint::close().await`. The default config
|
||||
uses Iroh's default relay policy; local-only/offline development can set
|
||||
`[iroh].relay_mode = "disabled"`. Named custom relay maps are configured under
|
||||
|
|
@ -31,7 +33,7 @@ uses Iroh's default relay policy; local-only/offline development can set
|
|||
|
||||
The native module-backend crates for the intended CAS, KV, and pubsub
|
||||
replacements now compile against the same endpoint generation:
|
||||
`iroh-blobs 0.97.0`, `iroh-docs 0.95.0`, and `iroh-gossip 0.95.0`. `geth-iroh`
|
||||
`iroh-blobs 0.103.0`, `iroh-docs 0.101.0`, and `iroh-gossip 0.101.0`. `geth-iroh`
|
||||
exposes their native ALPNs without creating a second daemon endpoint. CAS now
|
||||
registers an `iroh-blobs` provider handler on `/iroh-bytes/4`; local CAS writes
|
||||
are mirrored into the native blob store, and remote `geth cas fetch` performs a
|
||||
|
|
|
|||
Loading…
Reference in a new issue