Skip to main content

Module gsoc

Module gsoc 

Source
Expand description

GSOC send / subscribe + offline soc_address. Mirrors pkg/gsoc in bee-go and bee-js Bee.gsocSend / gsocSubscribe.

GSOC piggy-backs on the SOC primitive: a signer is “mined” (see crate::swarm::gsoc_mine) so the SOC address keccak256(identifier || owner) lands inside the target node’s neighbourhood. The target subscribes to /gsoc/subscribe/{soc_address} and receives any chunks that hash to that address.

Structs§

GsocApi
Handle exposing the GSOC endpoints. Cheap to clone.