package
1.8.15
Repository: https://github.com/kiuber/go-ethereum.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package mock defines types that are used by different implementations of mock storages.
Handler is the API for Mutable Resources It enables creating, updating, syncing and retrieving resources and their update data.

# 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
Constructor.
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
NewHasherStore creates a hasherStore object, which implements Putter and Getter interfaces.
No description provided by the author
TODO: Instead of passing the distance function, just pass the address from which distances are calculated to avoid the appearance of a pluggable distance metric and opportunities of bugs associated with providing a function different from the one that is actually used.
NewLDBStoreParams constructs LDBStoreParams with the specified values.
for testing locally.
This constructor uses MemStore and DbStore as components.
No description provided by the author
NewMemStore is instantiating a MemStore cache.
NewMockDbStore creates a new instance of DbStore with mockStore set to a provided value.
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
PutChunks adds chunks to localstore It waits for receive on the stored channel It logs but does not fail on delivery error.
No description provided by the author
When splitting, data is given as a SectionReader, and the key is a hashSize long byte slice (Key), the root hash of the entire content will fill this once processing finishes.
Join reconstructs original content based on a root key.
When splitting, data is given as a SectionReader, and the key is a hashSize long byte slice (Key), the root hash of the entire content will fill this once processing finishes.
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
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
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
http://golang.org/pkg/hash/#Hash.
No description provided by the author

# Variables

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

# 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
Provides method for validation of content address in chunks Holds the corresponding hasher to create the address.
wrapper of db-s to provide mockable custom local chunk store access to syncer.
No description provided by the author
No description provided by the author
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
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
MapChunkStore is a very simple ChunkStore implementation to store chunks in a map in memory.
No description provided by the author
NetStore implements the ChunkStore interface, this chunk access layer assumed 2 chunk stores local storage eg.
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
Entry to create a tree node.
No description provided by the author

# Interfaces

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 - FakeChunkStore: dummy store which doesn't store anything just implements the interface */.
No description provided by the author
Getter is an interface to retrieve a chunk's data by its reference.
Size, Seek, Read, ReadAt.
Peer is the recorded as Source on the chunk should probably not be here? but network should wrap chunk object.
Putter is responsible to store data and create a reference for it.
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
No description provided by the author
No description provided by the author
No description provided by the author