An open API service providing repository metadata for many open source software ecosystems.

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

planetdecred/godcr

Size: 7.46 MB - Last synced: 9 days ago - Pushed: about 1 month ago

decred/politeia

Size: 8.4 MB - Last synced: 11 months ago - Pushed: almost 2 years ago

decred/dcrstakepool
Stakepool for Decred.

Size: 4.35 MB - Last synced: 11 months ago - Pushed: almost 2 years ago

planetdecred/dcrlibwallet

Size: 1010 KB - Last synced: 11 months ago - Pushed: about 2 years ago

decred/release

Size: 1.16 MB - Last synced: 3 months ago - Pushed: 3 months ago

marcopeereboom/dcrms
Decred Multisig Tool - dcrms

Size: 49.8 KB - Last synced: almost 2 years ago - Pushed: over 4 years ago

dajohi/v3tool

Size: 40 KB - Last synced: about 2 months ago - Pushed: over 3 years ago

dcr-bak/dcrdata

Last synced: almost 2 years ago

dcr-bak/politeia

Last synced: almost 2 years ago

dcr-bak/dcrwallet

Last synced: almost 2 years ago

Juneezee/politeia Fork of decred/politeia

Size: 8.34 MB - Last synced: about 2 years ago - Pushed: over 2 years ago

dcrnofficial/dcrnwallet

Size: 6.26 MB - Last synced: 11 months ago - Pushed: over 2 years ago

decred/dcrros

Size: 469 KB - Last synced: about 1 year ago - Pushed: over 2 years ago

raedah/cryptopower

Last synced: over 2 years ago

rupesh_virat/decred

Last synced: almost 2 years ago

dcr-bak/dcrlibwallet

Last synced: 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

dcr-bak/godcr

Last synced: over 2 years 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 dcrwallet

Size: 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

planetdecred/pdanalytics

Size: 2.13 MB - Last synced: 11 months ago - Pushed: over 3 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 users

Size: 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

rupeshkokare/DENN

Last synced: over 2 years ago

dcr-bak/dcrtime

Last synced: over 2 years ago

dcr-bak/dcrstakepool

Last synced: over 2 years ago

dcr-bak/atomicswap

Last synced: 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

thi4go/testrepo

Size: 15.6 KB - Last synced: about 2 years ago - Pushed: about 4 years ago

dcrnofficial/dcrnaddrgen

Size: 78.1 KB - Last synced: about 1 month ago - Pushed: over 2 years 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

softbalanced/atomicswap

Size: 198 KB - Last synced: almost 2 years ago - Pushed: over 3 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 explorer

Size: 6.34 MB - Last synced: 6 days ago - Pushed: 6 days ago

x-module/ui
ui

Size: 6.79 MB - Last synced: 9 months ago - Pushed: 9 months ago