package
1.7.1
Repository: https://github.com/bitherhq/go-ethereum.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
for testing locally.
This constructor uses MemStore and DbStore as components.
No description provided by the author
netstore contructor, takes path argument that is used to initialise dbStore, the persistent (disk) storage component of LocalStore the second argument is the hive, the connection/logistics manager for the node.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
http://golang.org/pkg/hash/#Hash.
No description provided by the author

# Variables

No description provided by the author

# Structs

Chunk also serves as a request object passed to ChunkStores in case it is a retrieval request, Data is nil and Size is 0 Note that Size is not the size of the data chunk, which is Data.Size() but the size of the subtree encoded in the chunk 0 if request, to be supplied by the dpa.
No description provided by the author
No description provided by the author
describes a section of the DbStore representing the unsynced domain relevant to a peer Start - Stop designate a continuous area Keys in an address space typically the addresses closer to us than to the peer but not closer another closer peer in between From - To designates a time interval typically from the last disconnect till the latest connection (real time traffic is relayed).
No description provided by the author
No description provided by the author
LazyChunkReader implements LazySectionReader.
No description provided by the author
No description provided by the author
LocalStore is a combination of inmemory db over a disk persisted db implements a Get/Put with fallback (caching) logic using any 2 ChunkStores.
No description provided by the author
NetStore is a cloud storage access abstaction layer for swarm it contains the shared logic of network served chunk store/retrieval requests both local (coming from DPA api) and remote (coming from peers via bzz protocol) it implements the ChunkStore interface and embeds LocalStore It is called by the bzz protocol instances via Depo (the store/retrieve request handler) a protocol instance is running on each peer, so this is heavily parallelised.
No description provided by the author
each chunk when first requested opens a record associated with the request next time a request for the same chunk arrives, this record is updated this request status keeps track of the request ID-s as well as the requesting peers and has a channel that is closed when the chunk is retrieved.
No description provided by the author
No description provided by the author
Entry to create a tree node.

# Interfaces

No description provided by the author
The ChunkStore interface is implemented by : - MemStore: a memory cache - DbStore: local disk/db store - LocalStore: a combination (sequence of) memStore and dbStore - NetStore: cloud storage abstraction layer - DPA: local requests for swarm storage and retrieval */.
backend engine for cloud store It can be aggregate dispatching to several parallel implementations: bzz/network/forwarder.
No description provided by the author
Size, Seek, Read, ReadAt.
Peer is the recorded as Source on the chunk should probably not be here? but network should wrap chunk object.
Chunker is the interface to a component that is responsible for disassembling and assembling larger data and indended to be the dependency of a DPA storage system with fixed maximum chunksize.
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author