Directories ¶
Path | Synopsis |
---|---|
Package accounting provides functionalities needed to do per-peer accounting.
|
Package accounting provides functionalities needed to do per-peer accounting. |
mock
Package mock provides a mock implementation for the accounting interface.
|
Package mock provides a mock implementation for the accounting interface. |
Package addressbook provides persisted mapping between overlay (topology) address and bzz.Address address, which contains underlay (physical) address.
|
Package addressbook provides persisted mapping between overlay (topology) address and bzz.Address address, which contains underlay (physical) address. |
Package api provides the functionality of the Bee client-facing HTTP API.
|
Package api provides the functionality of the Bee client-facing HTTP API. |
Package bitvector provides functionality of a simple bit vector implementation.
|
Package bitvector provides functionality of a simple bit vector implementation. |
Package bmt implements Binary Merkle Tree hash.
|
Package bmt implements Binary Merkle Tree hash. |
reference
Package reference is a simple nonconcurrent reference implementation for hashsize segment based Binary Merkle tree hash on arbitrary but fixed maximum chunksize n where 0 <= n <= 4096
|
Package reference is a simple nonconcurrent reference implementation for hashsize segment based Binary Merkle tree hash on arbitrary but fixed maximum chunksize n where 0 <= n <= 4096 |
Package bmtpool provides easy access to binary merkle tree hashers managed in as a resource pool.
|
Package bmtpool provides easy access to binary merkle tree hashers managed in as a resource pool. |
Package bzz exposes the data structure and operations necessary on the bzz.Address type which used in the handshake protocol, address-book and hive protocol.
|
Package bzz exposes the data structure and operations necessary on the bzz.Address type which used in the handshake protocol, address-book and hive protocol. |
Package discovery exposes the discovery driver interface which is implemented by discovery protocols.
|
Package discovery exposes the discovery driver interface which is implemented by discovery protocols. |
Package encryption exposes functionalities needed for encryption and decryption operations in Bee.
|
Package encryption exposes functionalities needed for encryption and decryption operations in Bee. |
Package feeds implements generic interfaces and methods for time-based feeds indexing schemes are implemented in subpackages - epochs - sequence
|
Package feeds implements generic interfaces and methods for time-based feeds indexing schemes are implemented in subpackages - epochs - sequence |
epochs
Package epochs implements time-based feeds using epochs as index and provide sequential as well as concurrent lookup algorithms
|
Package epochs implements time-based feeds using epochs as index and provide sequential as well as concurrent lookup algorithms |
sequence
Package sequence provides implementation of sequential indexing for time-based feeds this feed type is best suited for - version updates - followed updates - frequent or regular-interval updates
|
Package sequence provides implementation of sequential indexing for time-based feeds this feed type is best suited for - version updates - followed updates - frequent or regular-interval updates |
testing
package testing provides tests for update and resolution of time-based feeds
|
package testing provides tests for update and resolution of time-based feeds |
Package file provides interfaces for file-oriented operations.
|
Package file provides interfaces for file-oriented operations. |
joiner
Package joiner provides implementations of the file.Joiner interface
|
Package joiner provides implementations of the file.Joiner interface |
loadsave
Package loadsave provides lightweight persistence abstraction for manifest operations.
|
Package loadsave provides lightweight persistence abstraction for manifest operations. |
pipeline
Package pipeline provides functionality for hashing pipelines needed to create different flavors of merkelised representations of arbitrary data.
|
Package pipeline provides functionality for hashing pipelines needed to create different flavors of merkelised representations of arbitrary data. |
splitter
Package splitter provides implementations of the file.Splitter interface
|
Package splitter provides implementations of the file.Splitter interface |
Package hive exposes the hive protocol implementation which is the discovery protocol used to inform and be informed about other peers in the network.
|
Package hive exposes the hive protocol implementation which is the discovery protocol used to inform and be informed about other peers in the network. |
pb
Package pb holds only Protocol Buffer definitions and generated code.
|
Package pb holds only Protocol Buffer definitions and generated code. |
Package jsonhttp contains utility functions that make it easier to create JSON-based HTTP APIs.
|
Package jsonhttp contains utility functions that make it easier to create JSON-based HTTP APIs. |
jsonhttptest
Package jsonhttptest helps with end-to-end testing of JSON-based HTTP APIs.
|
Package jsonhttptest helps with end-to-end testing of JSON-based HTTP APIs. |
Package manifest contains the abstractions needed for collection representation in Swarm.
|
Package manifest contains the abstractions needed for collection representation in Swarm. |
Package node defines the concept of a Bee node by bootstrapping and injecting all necessary dependencies.
|
Package node defines the concept of a Bee node by bootstrapping and injecting all necessary dependencies. |
Package p2p provides the peer-to-peer abstractions used across different protocols in Bee.
|
Package p2p provides the peer-to-peer abstractions used across different protocols in Bee. |
libp2p/internal/handshake/pb
Package pb holds only Protocol Buffer definitions and generated code.
|
Package pb holds only Protocol Buffer definitions and generated code. |
libp2p/internal/headers/pb
Package pb holds only Protocol Buffer definitions and generated code.
|
Package pb holds only Protocol Buffer definitions and generated code. |
libp2p/internal/reacher
Package reacher runs a background worker that will ping peers from an internal queue and report back the reachability to the notifier.
|
Package reacher runs a background worker that will ping peers from an internal queue and report back the reachability to the notifier. |
protobuf/internal/pb
Package pb holds only Protocol Buffer definitions and generated code for testing purposes.
|
Package pb holds only Protocol Buffer definitions and generated code for testing purposes. |
Package pingpong exposes the simple ping-pong protocol which measures round-trip-time with other peers.
|
Package pingpong exposes the simple ping-pong protocol which measures round-trip-time with other peers. |
pb
Package pb holds only Protocol Buffer definitions and generated code.
|
Package pb holds only Protocol Buffer definitions and generated code. |
Package pss exposes functionalities needed to communicate with other peers on the network.
|
Package pss exposes functionalities needed to communicate with other peers on the network. |
Package puller provides protocol-orchestrating functionality over the pullsync protocol.
|
Package puller provides protocol-orchestrating functionality over the pullsync protocol. |
intervalstore
Package intervalstore provides a persistence layer for intervals relating to a peer.
|
Package intervalstore provides a persistence layer for intervals relating to a peer. |
Package pullsync contains protocol that is used to ensure that there is correct chunk replication in the neighborhood of the node.
|
Package pullsync contains protocol that is used to ensure that there is correct chunk replication in the neighborhood of the node. |
Package pusher provides protocol-orchestrating functionality over the pushsync protocol.
|
Package pusher provides protocol-orchestrating functionality over the pushsync protocol. |
Package pushsync provides the pushsync protocol implementation.
|
Package pushsync provides the pushsync protocol implementation. |
Package ratelimit provides a mechanism to rate limit requests based on a string key, refill rate and burst amount.
|
Package ratelimit provides a mechanism to rate limit requests based on a string key, refill rate and burst amount. |
the code below implements the integration of dispersed replicas in chunk fetching.
|
the code below implements the integration of dispersed replicas in chunk fetching. |
Package resolver handles name resolution for the Swarm bee.
|
Package resolver handles name resolution for the Swarm bee. |
Package retrieval provides the retrieval protocol implementation.
|
Package retrieval provides the retrieval protocol implementation. |
Package salud monitors the connected peers, calculates certain thresholds, and marks peers as unhealthy that fall short of the thresholds to maintain network salud (health).
|
Package salud monitors the connected peers, calculates certain thresholds, and marks peers as unhealthy that fall short of the thresholds to maintain network salud (health). |
Package sctx provides convenience methods for context value injection and extraction.
|
Package sctx provides convenience methods for context value injection and extraction. |
pseudosettle
Package pseudosettle implements a pretend settlement protocol where nodes send pretend payment messages consisting only of the payment amount.
|
Package pseudosettle implements a pretend settlement protocol where nodes send pretend payment messages consisting only of the payment amount. |
Package shed provides a simple abstraction components to compose more complex operations on storage data organized in fields and indexes.
|
Package shed provides a simple abstraction components to compose more complex operations on storage data organized in fields and indexes. |
Package soc provides the single-owner chunk implementation and validator.
|
Package soc provides the single-owner chunk implementation and validator. |
Package statestore provides statestore implementation and mock.
|
Package statestore provides statestore implementation and mock. |
Package stewardess provides convenience methods for reseeding content on Swarm.
|
Package stewardess provides convenience methods for reseeding content on Swarm. |
Package swarm contains most basic and general Swarm concepts.
|
Package swarm contains most basic and general Swarm concepts. |
Package topology exposes abstractions needed in topology-aware components.
|
Package topology exposes abstractions needed in topology-aware components. |
kademlia
Package kademlia provides an implementation of the topology.Driver interface in a way that a kademlia connectivity is actively maintained by the node.
|
Package kademlia provides an implementation of the topology.Driver interface in a way that a kademlia connectivity is actively maintained by the node. |
kademlia/internal/metrics
Package metrics provides service for collecting various metrics about peers.
|
Package metrics provides service for collecting various metrics about peers. |
kademlia/internal/waitnext
Package metrics provides service for collecting various metrics about peers.
|
Package metrics provides service for collecting various metrics about peers. |
Package tracing helps with the propagation of the tracing span through context in the system.
|
Package tracing helps with the propagation of the tracing span through context in the system. |
Package traversal provides abstraction and implementation needed to traverse all chunks below a given root hash.
|
Package traversal provides abstraction and implementation needed to traverse all chunks below a given root hash. |
Package util is a placeholder for common utilities used by multiple packages.
|
Package util is a placeholder for common utilities used by multiple packages. |
testutil/pseudorand
this is a pseudorandom reader that generates a deterministic sequence of bytes based on the seed.
|
this is a pseudorandom reader that generates a deterministic sequence of bytes based on the seed. |
Click to show internal directories.
Click to hide internal directories.