dcrd/go.mod
Dave Collins bf95e0fcf8
blockchain: Add new tip block checked notification.
This adds a new notification type to blockchain which allows the caller
to be notified when a block that intents to extend the main chain has
passed all sanity and contextual checks such as having valid proof of
work, valid merkle and stake roots, and only containing allowed votes
and revocations.

The intention is to allow faster relay of new tip blocks throughout the
network by providing a means to relay it before the more expensive
connection code takes place even though it may ultimately fail to
connect.

This is acceptable because blocks that pass all of the aforementioned
checks and then fail to connect are quite rare since it takes a
significant amount of work to create a block which satisfies the proof
of work requirement as well as all other checks up to that point.
2018-09-10 09:57:52 -05:00

67 lines
2.6 KiB
Modula-2

module github.com/decred/dcrd
require (
github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412
github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd
github.com/btcsuite/goleveldb v1.0.0
github.com/btcsuite/snappy-go v1.0.0
github.com/btcsuite/winsvc v1.0.0
github.com/davecgh/go-spew v1.1.0
github.com/dchest/blake256 v1.0.0
github.com/dchest/siphash v1.2.0
github.com/decred/base58 v1.0.0
github.com/decred/dcrd/addrmgr v1.0.2
github.com/decred/dcrd/blockchain v1.1.0
github.com/decred/dcrd/blockchain/stake v1.0.2
github.com/decred/dcrd/certgen v1.0.1
github.com/decred/dcrd/chaincfg v1.1.1
github.com/decred/dcrd/chaincfg/chainhash v1.0.1
github.com/decred/dcrd/connmgr v1.0.1
github.com/decred/dcrd/database v1.0.2
github.com/decred/dcrd/dcrec v0.0.0-20180801202239-0761de129164
github.com/decred/dcrd/dcrec/edwards v0.0.0-20180808153611-f0e65ec62f91 // indirect
github.com/decred/dcrd/dcrec/secp256k1 v1.0.0
github.com/decred/dcrd/dcrjson v1.0.0
github.com/decred/dcrd/dcrutil v1.1.1
github.com/decred/dcrd/gcs v1.0.2
github.com/decred/dcrd/hdkeychain v1.1.0
github.com/decred/dcrd/mempool v1.0.1
github.com/decred/dcrd/mining v1.0.1
github.com/decred/dcrd/peer v1.1.0
github.com/decred/dcrd/rpcclient v1.0.1
github.com/decred/dcrd/txscript v1.0.1
github.com/decred/dcrd/wire v1.1.0
github.com/decred/slog v1.0.0
github.com/gorilla/websocket v1.2.0
github.com/jessevdk/go-flags v1.4.0
github.com/jrick/bitset v1.0.0
github.com/jrick/logrotate v1.0.0
golang.org/x/crypto v0.0.0-20180718160520-a2144134853f
golang.org/x/sys v0.0.0-20180816055513-1c9583448a9c
)
replace (
github.com/decred/dcrd/addrmgr => ./addrmgr
github.com/decred/dcrd/blockchain => ./blockchain
github.com/decred/dcrd/blockchain/stake => ./blockchain/stake
github.com/decred/dcrd/certgen => ./certgen
github.com/decred/dcrd/chaincfg => ./chaincfg
github.com/decred/dcrd/chaincfg/chainhash => ./chaincfg/chainhash
github.com/decred/dcrd/connmgr => ./connmgr
github.com/decred/dcrd/database => ./database
github.com/decred/dcrd/dcrec => ./dcrec
github.com/decred/dcrd/dcrec/edwards => ./dcrec/edwards
github.com/decred/dcrd/dcrec/secp256k1 => ./dcrec/secp256k1
github.com/decred/dcrd/dcrjson => ./dcrjson
github.com/decred/dcrd/dcrutil => ./dcrutil
github.com/decred/dcrd/gcs => ./gcs
github.com/decred/dcrd/hdkeychain => ./hdkeychain
github.com/decred/dcrd/limits => ./limits
github.com/decred/dcrd/mempool => ./mempool
github.com/decred/dcrd/mining => ./mining
github.com/decred/dcrd/peer => ./peer
github.com/decred/dcrd/rpcclient => ./rpcclient
github.com/decred/dcrd/txscript => ./txscript
github.com/decred/dcrd/wire => ./wire
)