Categorygithub.com/o1-labs/go-bs-lmdb
modulepackage
1.2.1
Repository: https://github.com/o1-labs/go-bs-lmdb.git
Documentation: pkg.go.dev

# README

!!! WARNING: This package is not stable and may cause random crashes or data corruption in your application if used.

go-bs-lmdb

An LMDB-backed IPFS Blockstore.

License

Dual-licensed: MIT, Apache Software License v2, by way of the Permissive License Stack.

# Functions

Open initiates lmdb environment, database and returns Blockstore.

# Variables

1GiB.
DefaultMaxReaders is the default number of max readers if one is not provided.
1.5x the mmap every time.
maximum step size is 4GiB at a time.
DefaultRetryDelay is the default retry delay for reattempting transactions that errored with MDB_READERS_FULL.
RetryJitter is the jitter to apply to the delay interval.

# Structs

Blockstore is a wrapper around lmdb database and environment, containing some additional parameters to execute growing of mmaped section.
Options for the Blockstore.

# Interfaces

No description provided by the author