libp2p 与改进的持久性 —— 精灵研究所

  • Version 0.14.0 of Guile Goblins:Introduces a new libp2p netlayer and various persistence features. No major OCapN protocol updates and no accompanying Racket Goblins release.

    • libp2p:A networking stack for secure peer-to-peer connections, using TCP and QUIC, and can sometimes mitigate firewall issues through NAT hole-punching). The Goblins libp2p netlayer uses a Go-written libp2p daemon run alongside Goblins.
  • Persistence improvements (by Aurie)

    • Intra-vat persistence:Introduces ^persistence-registry to handle restoration across local vats. Vats can register their existences and request far references. Far references start as promises and are resolved when the object on the other vat becomes available.
    • Netlayer persistence:Can now persist netlayers using the Goblins persistence system, useful with intra-vat persistence.
    • Selfish actors:The define-actor now has a #:self keyword to fix issues with referencing self and using the persistence system together.
    • Migrations macro:Allows upgrading actors and their data. Specify a #:upgrade with a migrations list to handle version conversions. Syntax is similar to the methods macro.
    • Vat root upgrades:Can upgrade the roots of a graph when spawning a persistence vat. Specify #:version and #:upgrade with a migrations list. Works with the new migrations macro.
  • Getting the release:Includes other bugfixes and minor features. In Guix, upgrade with guix pull and guix install guile-goblins. Otherwise, find the tarball on the release page. Join the community at community.spritely.institute for making things with Goblins or contributing.
阅读 11
0 条评论