mirror of
https://github.com/FlipsideCrypto/dcrd.git
synced 2026-02-06 10:56:47 +00:00
This change begins the work of bringing committed filters to the network consensus daemon. Committed filters are designed to enable light wallets without many of the privacy issues associated with server-side bloom filtering. The new gcs package provides the primitives for creating and matching against Golomb-coded sets (GCS) filters while the blockcf package provides creation of filters and filter entries for data structures found in blocks. The wire package has been updated to define a new protocol version and service flag for advertising CF support and includes types for the following new messages: cfheaders, cfilter, cftypes, getcfheaders, getcfilter, getcftypes. The peer package and server implementation have been updated to include support for the new protocol version and messages. Filters are created using a collision probability of 2^-20 and are saved to a new optional database index when running with committed filter support enabled (the default). At first startup, if support is not disabled, the index will be created and populated with filters and filter headers for all preexisting blocks, and new filters will be recorded for processed blocks. Multiple filter types are supported. The regular filter commits to output scripts and previous outpoints that any non-voting wallet will require access to. Scripts and previous outpoints that can only be spent by votes and revocations are not committed to the filter. The extended filter is a supplementary filter which commits to all transaction hashes and script data pushes from the input scripts of non-coinbase regular and ticket purchase transactions. Creating these filters is based on the algorithm defined by BIP0158 but is modified to only commit "regular" data in stake transactions to prevent committed filters from being used to create SPV voting wallets.
134 lines
3.0 KiB
TOML
134 lines
3.0 KiB
TOML
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
|
|
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "github.com/aead/siphash"
|
|
packages = ["."]
|
|
revision = "e404fcfc888570cadd1610538e2dbc89f66af814"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "github.com/agl/ed25519"
|
|
packages = [
|
|
".",
|
|
"edwards25519"
|
|
]
|
|
revision = "5312a61534124124185d41f09206b9fef1d88403"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "github.com/btcsuite/btclog"
|
|
packages = ["."]
|
|
revision = "84c8d2346e9fc8c7b947e243b9c24e6df9fd206a"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "github.com/btcsuite/go-socks"
|
|
packages = ["socks"]
|
|
revision = "4720035b7bfd2a9bb130b1c184f8bbe41b6f0d0f"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "github.com/btcsuite/goleveldb"
|
|
packages = [
|
|
"leveldb",
|
|
"leveldb/cache",
|
|
"leveldb/comparer",
|
|
"leveldb/errors",
|
|
"leveldb/filter",
|
|
"leveldb/iterator",
|
|
"leveldb/journal",
|
|
"leveldb/memdb",
|
|
"leveldb/opt",
|
|
"leveldb/storage",
|
|
"leveldb/table",
|
|
"leveldb/util"
|
|
]
|
|
revision = "7834afc9e8cd15233b6c3d97e12674a31ca24602"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "github.com/btcsuite/snappy-go"
|
|
packages = ["."]
|
|
revision = "0bdef8d067237991ddaa1bb6072a740bc40601ba"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "github.com/btcsuite/websocket"
|
|
packages = ["."]
|
|
revision = "31079b6807923eb23992c421b114992b95131b55"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "github.com/btcsuite/winsvc"
|
|
packages = [
|
|
"eventlog",
|
|
"mgr",
|
|
"registry",
|
|
"svc",
|
|
"winapi"
|
|
]
|
|
revision = "f8fb11f83f7e860e3769a08e6811d1b399a43722"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "github.com/davecgh/go-spew"
|
|
packages = ["spew"]
|
|
revision = "8991bc29aa16c548c550c7ff78260e27b9ab7c73"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "github.com/dchest/blake256"
|
|
packages = ["."]
|
|
revision = "dee3fe6eb0e98dc774a94fc231f85baf7c29d360"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "github.com/decred/base58"
|
|
packages = ["."]
|
|
revision = "229e657bc9be5d592855a910428907f851950ed5"
|
|
|
|
[[projects]]
|
|
name = "github.com/jessevdk/go-flags"
|
|
packages = ["."]
|
|
revision = "96dc06278ce32a0e9d957d590bb987c81ee66407"
|
|
version = "v1.3.0"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "github.com/jrick/bitset"
|
|
packages = ["."]
|
|
revision = "06eae37cdf93c699c0503c23f998167ce841974c"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "github.com/jrick/logrotate"
|
|
packages = ["rotator"]
|
|
revision = "a93b200c26cbae3bb09dd0dc2c7c7fe1468a034a"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "golang.org/x/crypto"
|
|
packages = [
|
|
"ripemd160",
|
|
"ssh/terminal"
|
|
]
|
|
revision = "beaf6a35706e5032ae4c3fcf342c663c069f44d2"
|
|
|
|
[[projects]]
|
|
branch = "master"
|
|
name = "golang.org/x/sys"
|
|
packages = [
|
|
"unix",
|
|
"windows"
|
|
]
|
|
revision = "f6cff0780e542efa0c8e864dc8fa522808f6a598"
|
|
|
|
[solve-meta]
|
|
analyzer-name = "dep"
|
|
analyzer-version = 1
|
|
inputs-digest = "d190067efa8c61778ef133b4f695f26aa8e0333625b7f0172788009b68567f3d"
|
|
solver-name = "gps-cdcl"
|
|
solver-version = 1
|