Package Usage: go: github.com/decred/dcrd/blockchain/v3
Package blockchain implements Decred block handling and chain selection rules.
The Decred block handling and chain selection rules are an integral, and quite
likely the most important, part of decred. At its core, Decred is a distributed
consensus of which blocks are valid and which ones will comprise the main block
chain (public ledger) that ultimately determines accepted transactions, so it is
extremely important that fully validating nodes agree on all rules.
At a high level, this package provides support for inserting new blocks into the
block chain according to the aforementioned rules. It includes functionality
such as rejecting duplicate blocks, ensuring blocks and transactions follow all
rules, and best chain selection along with reorganization.
Since this package does not deal with other Decred specifics such as network
communication or wallets, it provides a notification system which gives the
caller a high level of flexibility in how they want to react to certain events
such as newly connected main chain blocks which might result in wallet updates.
Before a block is allowed into the block chain, it must go through an intensive
series of validation rules. The following list serves as a general outline of
those rules to provide some intuition into what is going on under the hood, but
is by no means exhaustive:
Errors returned by this package are either the raw errors provided by underlying
calls or of type blockchain.RuleError. This allows the caller to differentiate
between unexpected errors, such as database errors, versus errors due to rule
violations through type assertions. In addition, callers can programmatically
determine the specific rule violation by examining the ErrorCode field of the
type asserted blockchain.RuleError.
5 versions
Latest release: almost 2 years ago
17 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/decred/dcrd/blockchain/v3
View more repository details: http://repos.ecosyste.ms/hosts/GitHub/repositories/decred%2Fdcrd
Dependent Repos 34


decred/dcrstakepool
Stakepool for Decred.Size: 4.35 MB - Last synced: 11 months ago - Pushed: almost 2 years ago



marcopeereboom/dcrms
Decred Multisig Tool - dcrmsSize: 49.8 KB - Last synced: almost 2 years ago - Pushed: over 4 years ago


Juneezee/politeia Fork of decred/politeia
Size: 8.34 MB - Last synced: about 2 years ago - Pushed: over 2 years ago



decred/dcrtime
Decred anchored timestamp client, proxy, and server.Size: 335 KB - Last synced: 3 months ago - Pushed: 3 months ago

decred/dcraddrgen
dcraddrgen is a simple offline address generator for Decred.Size: 95.7 KB - Last synced: 11 months ago - Pushed: over 4 years ago

davecgh/dcrctl Fork of decred/dcrctl
Command-line client for interacting with the JSON-RPC servers of dcrd and dcrwalletSize: 175 KB - Last synced: 3 months ago - Pushed: 3 months ago

decred/testnetfaucet
Decred testnet faucet.Size: 620 KB - Last synced: 11 months ago - Pushed: almost 2 years ago

davecgh/politeia Fork of decred/politeia
Size: 7.89 MB - Last synced: about 1 year ago - Pushed: over 2 years ago


decred/atomicswap
On-chain atomic swaps for Decred and other cryptocurrencies.Size: 184 KB - Last synced: about 1 year ago - Pushed: about 1 year ago

peterzen/kohola
Multi platform dcrwallet frontend for power usersSize: 22.1 MB - Last synced: 24 days ago - Pushed: about 1 year ago

chappjc/dcrwallet Fork of decred/dcrwallet
A secure decred wallet daemon written in Go (golang)Size: 16.5 MB - Last synced: 4 months ago - Pushed: over 2 years ago

dajohi/dcrwallet Fork of decred/dcrwallet
A secure Decred wallet daemon written in Go (golang).Size: 14.6 MB - Last synced: 10 months ago - Pushed: 10 months ago

matheusd/dcrlnd Fork of decred/dcrlnd
Decred Lightning Network Daemon ⚡️Size: 73.3 MB - Last synced: 3 months ago - Pushed: 3 months ago

decred/dcrlnd Fork of lightningnetwork/lnd
Decred Lightning Network Daemon ⚡️Size: 92 MB - Last synced: 16 days ago - Pushed: 16 days ago

decred/dcrdata
Decred block explorer, with packages and apps for data collection and storage. Written in Go.Size: 21.4 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

ukane-philemon/dcrdata Fork of decred/dcrdata
Decred block explorer, with packages and apps for data collection and storage. Written in Go.Size: 21.5 MB - Last synced: 26 days ago - Pushed: 26 days ago



groundbasesoft/atomicswap-On-chain-atomic-swaps-for-Decred-and-other-cryptocurrencies. Fork of decred/atomicswap
On-chain atomic swaps for Decred and other cryptocurrencies.Size: 184 KB - Last synced: about 1 year ago - Pushed: over 3 years ago

vibros68/politeia Fork of decred/politeia
Size: 22.8 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

qianniancn/godcr Fork of planetdecred/godcr
Size: 5.69 MB - Last synced: almost 2 years ago - Pushed: over 3 years ago

hyhydra0/godcr Fork of planetdecred/godcr
Size: 7.59 MB - Last synced: 8 months ago - Pushed: almost 2 years ago


karamble/vspd Fork of decred/vspd
A Voting Service Provider (VSP) for the Decred network.Size: 2.07 MB - Last synced: over 1 year ago - Pushed: over 4 years ago

Sirmorrison/cryptopower Fork of crypto-power/cryptopower
A cross-platform SPV (DCR, BTC & LTC) privacy wallet built with go.Size: 55.9 MB - Last synced: over 1 year ago - Pushed: over 1 year ago

crypto-power/cryptopower
A cross-platform SPV (DCR, BTC & LTC) privacy wallet built with go.Size: 59.6 MB - Last synced: 11 days ago - Pushed: 11 days ago

jrick/dcrwallet Fork of decred/dcrwallet
A secure Decred wallet daemon written in Go (golang).Size: 16.4 MB - Last synced: 10 days ago - Pushed: 10 days ago

jrick/dcrd Fork of decred/dcrd
Decred daemon in Go (golang).Size: 39.4 MB - Last synced: 25 days ago - Pushed: about 2 months ago

Vanvians/cryptopower Fork of crypto-power/cryptopower
A cross-platform SPV (DCR, BTC & LTC) privacy wallet built with go.Size: 55.6 MB - Last synced: over 1 year ago - Pushed: over 1 year ago

ukane-philemon/cryptopower Fork of crypto-power/cryptopower
A cross-platform SPV (DCR, BTC & LTC) privacy wallet built with go.Size: 56 MB - Last synced: over 1 year ago - Pushed: over 1 year ago

chaineco/bisonexplorer
Multi-blockchain explorerSize: 6.34 MB - Last synced: 6 days ago - Pushed: 6 days ago

