An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 1.6% on proxy.golang.org
Top 0.8% dependent packages on proxy.golang.org
Top 0.9% dependent repos on proxy.golang.org
Top 1.7% forks on proxy.golang.org
Top 2.2% docker downloads on proxy.golang.org

proxy.golang.org : github.com/decred/dcrd/database/v3

Package database provides a block and metadata storage database. This package provides a database layer to store and retrieve block data and arbitrary metadata in a simple and efficient manner. The default backend, ffldb, has a strong focus on speed, efficiency, and robustness. It makes use leveldb for the metadata, flat files for block storage, and strict checksums in key areas to ensure data integrity. A quick overview of the features database provides are as follows: The main entry point is the DB interface. It exposes functionality for transactional-based access and storage of metadata and block data. It is obtained via the Create and Open functions which take a database type string that identifies the specific database driver (backend) to use as well as arguments specific to the specified driver. The Namespace interface is an abstraction that provides facilities for obtaining transactions (the Tx interface) that are the basis of all database reads and writes. Unlike some database interfaces that support reading and writing without transactions, this interface requires transactions even when only reading or writing a single key. The Begin function provides an unmanaged transaction while the View and Update functions provide a managed transaction. These are described in more detail below. The Tx interface provides facilities for rolling back or committing changes that took place while the transaction was active. It also provides the root metadata bucket under which all keys, values, and nested buckets are stored. A transaction can either be read-only or read-write and managed or unmanaged. A managed transaction is one where the caller provides a function to execute within the context of the transaction and the commit or rollback is handled automatically depending on whether or not the provided function returns an error. Attempting to manually call Rollback or Commit on the managed transaction will result in a panic. An unmanaged transaction, on the other hand, requires the caller to manually call Commit or Rollback when they are finished with it. Leaving transactions open for long periods of time can have several adverse effects, so it is recommended that managed transactions are used instead. The Bucket interface provides the ability to manipulate key/value pairs and nested buckets as well as iterate through them. The Get, Put, and Delete functions work with key/value pairs, while the Bucket, CreateBucket, CreateBucketIfNotExists, and DeleteBucket functions work with buckets. The ForEach function allows the caller to provide a function to be called with each key/value pair and nested bucket in the current bucket. As discussed above, all of the functions which are used to manipulate key/value pairs and nested buckets exist on the Bucket interface. The root metadata bucket is the upper-most bucket in which data is stored and is created at the same time as the database. Use the Metadata function on the Tx interface to retrieve it. The CreateBucket and CreateBucketIfNotExists functions on the Bucket interface provide the ability to create an arbitrary number of nested buckets. It is a good idea to avoid a lot of buckets with little data in them as it could lead to poor page utilization depending on the specific driver in use. This example demonstrates creating a new database and using a managed read-write transaction to store and retrieve metadata. This example demonstrates creating a new database, using a managed read-write transaction to store a block, and using a managed read-only transaction to fetch the block.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/decred/dcrd/database/v3
Keywords: blockchain , cryptocurrency , dcrd , decred , decred-daemon , decred-nodes , go , golang , p2p , peer-to-peer
License: ISC
Latest release: 12 months ago
First release: over 3 years ago
Namespace: github.com/decred/dcrd/database
Dependent packages: 40
Dependent repositories: 40
Stars: 687 on GitHub
Forks: 281 on GitHub
Docker dependents: 2
Docker downloads: 217
See more repository details: repos.ecosyste.ms
Last synced: about 4 hours ago

Top 2.0% on proxy.golang.org
github.com/decred/dcrd/gcs/v4 v4.1.0
Package gcs provides an API for building and using a Golomb-coded set filter. A Golomb-Coded Set...
2 versions - Latest release: 12 months ago - 27 dependent packages - 4 dependent repositories - 727 stars on GitHub
Top 2.0% on proxy.golang.org
github.com/decred/dcrd/blockchain/stake/v5 v5.0.1
Package stake contains code for all of dcrd's stake transaction chain handling and other portions...
2 versions - Latest release: 12 months ago - 29 dependent packages - 4 dependent repositories - 687 stars on GitHub
github.com/crypto-power/cryptopower v1.1.4
A cross-platform SPV (DCR, BTC & LTC) privacy wallet built with go.
6 versions - Latest release: 12 months ago - 1 stars on GitHub
Top 7.4% on proxy.golang.org
github.com/JoeGruffins/libwallet v1.0.1
1 version - Latest release: 12 months ago - 0 stars on GitHub
Top 7.4% on proxy.golang.org
github.com/joegruffins/libwallet v1.0.1
1 version - Latest release: 12 months ago - 0 stars on GitHub
Top 5.1% on proxy.golang.org
decred.org/dcrdex/dex/testing/loadbot v0.0.0-20240117171138-3cd3679e8177
The Decred Decentralized Exchange (DEX), powered by atomic-swaps.
86 versions - Latest release: over 1 year ago - 144 stars on GitHub
Top 6.8% on proxy.golang.org
decred.org/dcrdex/client/cmd/dexc-desktop v0.0.0-20240117171138-3cd3679e8177
The Decred Decentralized Exchange (DEX), powered by atomic-swaps.
16 versions - Latest release: over 1 year ago - 151 stars on GitHub
Top 8.0% on proxy.golang.org
github.com/decred/dcrlnlpd v0.0.0-20240104150435-171abf5019e3
5 versions - Latest release: over 1 year ago - 1 dependent package - 2 dependent repositories - 5 stars on GitHub
Top 5.1% on proxy.golang.org
github.com/decred/dcrdata/exchanges/rateserver v0.0.0-20231119150039-0b6dbacbc787
Decred block explorer, with packages and apps for data collection and storage. Written in Go.
17 versions - Latest release: over 1 year ago - 124 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/decred/dcrdata/pubsub/democlient v0.0.0-20231119150039-0b6dbacbc787
Decred block explorer, with packages and apps for data collection and storage. Written in Go.
16 versions - Latest release: over 1 year ago - 124 stars on GitHub
Top 5.1% on proxy.golang.org
github.com/decred/dcrdata/cmd/dcrdata v0.0.0-20231119150039-0b6dbacbc787
Decred block explorer, with packages and apps for data collection and storage. Written in Go.
8 versions - Latest release: over 1 year ago - 124 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/decred/vspd v0.0.0-20230929082053-9ee95f98ab2d
A Voting Service Provider (VSP) for the Decred network.
34 versions - Latest release: over 1 year ago - 17 stars on GitHub
Top 6.3% on proxy.golang.org
github.com/decred/dcrwallet/v3 v3.1.0
A secure Decred wallet daemon written in Go (golang).
3 versions - Latest release: over 1 year ago - 201 stars on GitHub
Top 2.6% on proxy.golang.org
decred.org/dcrwallet/v3 v3.1.0
A secure Decred wallet daemon written in Go (golang).
3 versions - Latest release: over 1 year ago - 17 dependent packages - 2 dependent repositories - 210 stars on GitHub
Top 9.7% on proxy.golang.org
github.com/decred/testnetfaucet v0.0.0-20230621163211-e125edd6656e
Decred testnet faucet.
1 version - Latest release: almost 2 years ago - 3 stars on GitHub
Top 1.7% on proxy.golang.org
github.com/decred/dcrd/blockchain/v4 v4.1.1
Package blockchain implements Decred block handling and chain selection rules. The Decred block ...
5 versions - Latest release: almost 2 years ago - 14 dependent packages - 34 dependent repositories - 687 stars on GitHub
Top 1.6% on proxy.golang.org
github.com/decred/dcrd/blockchain/stake/v4 v4.0.1
Package stake contains code for all of dcrd's stake transaction chain handling and other portions...
2 versions - Latest release: almost 2 years ago - 30 dependent packages - 36 dependent repositories - 687 stars on GitHub
Top 8.4% on proxy.golang.org
github.com/decred/dcrtest/dcrdtest v1.0.0
Package dcrdtest provides a dcrd-specific RPC testing harness crafting and executing integration ...
8 versions - Latest release: almost 2 years ago - 11 dependent packages - 1 dependent repositories - 2 stars on GitHub
github.com/matheusd/dcrlnd v0.4.0
Decred Lightning Network Daemon ⚡️
22 versions - Latest release: almost 2 years ago - 1 dependent repositories - 1 stars on GitHub
github.com/nikicat/dcrd v1.8.0
dcrd is a full-node Decred implementation written in Go. The default options are sane for most u...
39 versions - Latest release: almost 2 years ago - 0 stars on GitHub
Top 5.1% on proxy.golang.org
github.com/decred/vspd/client/v2 v2.1.0
A Voting Service Provider (VSP) for the Decred network.
2 versions - Latest release: almost 2 years ago - 7 dependent packages - 1 dependent repositories - 17 stars on GitHub
Top 2.0% on proxy.golang.org
decred.org/dcrwallet/v2 v2.2.0
A secure Decred wallet daemon written in Go (golang).
18 versions - Latest release: about 2 years ago - 29 dependent packages - 31 dependent repositories - 229 stars on GitHub
github.com/EXCCoin/exccdata/cmd/exccdata v0.0.0-20230419111953-ae3472cbd807
EXCCoin block explorer, with packages and apps for data collection and storage. Written in Go.
3 versions - Latest release: about 2 years ago - 3 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/davecgh/dcrvotetimes v1.0.1
2 versions - Latest release: over 2 years ago
Top 4.5% on proxy.golang.org
github.com/decred/dcrdata/db/dcrpg/v7 v7.0.0
Decred block explorer, with packages and apps for data collection and storage. Written in Go.
1 version - Latest release: almost 3 years ago - 1 dependent package - 124 stars on GitHub
Top 4.5% on proxy.golang.org
github.com/decred/dcrdata/gov/v5 v5.0.0
Decred block explorer, with packages and apps for data collection and storage. Written in Go.
1 version - Latest release: almost 3 years ago - 1 dependent package - 124 stars on GitHub
Top 2.5% on proxy.golang.org
github.com/decred/dcrdata/v7 v7.0.0
Decred block explorer, with packages and apps for data collection and storage. Written in Go.
1 version - Latest release: almost 3 years ago - 12 dependent packages - 6 dependent repositories - 124 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.