Top 0.6% dependent packages on proxy.golang.org
Top 0.9% dependent repos on proxy.golang.org
Top 1.7% forks on proxy.golang.org
Top 1.5% docker downloads on proxy.golang.org
proxy.golang.org : github.com/decred/dcrd/rpc/jsonrpc/types/v2
Package types implements concrete types for marshalling to and from the dcrd JSON-RPC commands, return values, and notifications. When communicating via the JSON-RPC protocol, all requests and responses must be marshalled to and from the wire in the appropriate format. This package provides data structures and primitives that are registered with dcrjson to ease this process. An overview specific to this package is provided here, however it is also instructive to read the documentation for the dcrjson package (https://pkg.go.dev/github.com/decred/dcrd/dcrjson/v3). The types in this package map to the required parts of the protocol as discussed in the dcrjson documentation To simplify the marshalling of the requests and responses, the dcrjson.MarshalCmd and dcrjson.MarshalResponse functions may be used. They return the raw bytes ready to be sent across the wire. Unmarshalling a received Request object is a two step process: This approach is used since it provides the caller with access to the additional fields in the request that are not part of the command such as the ID. Unmarshalling a received Response object is also a two step process: As above, this approach is used since it provides the caller with access to the fields in the response such as the ID and Error. This package provides two approaches for creating a new command. This first, and preferred, method is to use one of the New<Foo>Cmd functions. This allows static compile-time checking to help ensure the parameters stay in sync with the struct definitions. The second approach is the dcrjson.NewCmd function which takes a method (command) name and variable arguments. Since this package registers all of its types with dcrjson, the function will recognize them and includes full checking to ensure the parameters are accurate according to provided method, however these checks are, obviously, run-time which means any mistakes won't be found until the code is actually executed. However, it is quite useful for user-supplied commands that are intentionally dynamic. To facilitate providing consistent help to users of the RPC server, the dcrjson package exposes the GenerateHelp and function which uses reflection on commands and notifications registered by this package, as well as the provided expected result types, to generate the final help text. In addition, the dcrjson.MethodUsageText function may be used to generate consistent one-line usage for registered commands and notifications using reflection.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/decred/dcrd/rpc/jsonrpc/types/v2
Keywords:
blockchain
, cryptocurrency
, dcrd
, decred
, decred-daemon
, decred-nodes
, go
, golang
, p2p
, peer-to-peer
License: ISC
Latest release: almost 2 years ago
First release: over 5 years ago
Namespace: github.com/decred/dcrd/rpc/jsonrpc/types
Dependent packages: 63
Dependent repositories: 36
Stars: 687 on GitHub
Forks: 281 on GitHub
Docker dependents: 1
Docker downloads: 110
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago
github.com/decred/dcrd/rpcclient/v6 v6.0.3
Package rpcclient implements a websocket-enabled Decred JSON-RPC client. This client provides a ...4 versions - Latest release: almost 2 years ago - 14 dependent packages - 20 dependent repositories - 687 stars on GitHub
github.com/decred/dcrd/rpcclient/v5 v5.0.2
Package rpcclient implements a websocket-enabled Decred JSON-RPC client. This client provides a ...3 versions - Latest release: almost 2 years ago - 24 dependent packages - 11 dependent repositories - 687 stars on GitHub
github.com/Decred-Next/dcrnd v1.5.1
dcrd is a full-node Decred implementation written in Go. The default options are sane for most u...39 versions - Latest release: about 3 years ago
github.com/planetdecred/pdanalytics/dcrd v0.0.0-20211207160909-1c1b9c6f9461
1 version - Latest release: over 3 years ago - 1 dependent package - 1 dependent repositories - 1 stars on GitHubgithub.com/planetdecred/pdanalytics/web v0.0.0-20211207160909-1c1b9c6f9461
1 version - Latest release: over 3 years ago - 1 dependent package - 1 dependent repositories - 1 stars on GitHubgithub.com/planetdecred/pdanalytics v0.0.0-20211207160909-1c1b9c6f9461
1 version - Latest release: over 3 years ago - 1 stars on GitHubgithub.com/decred/dcrdata/gov/v4 v4.0.0
Decred block explorer, with packages and apps for data collection and storage. Written in Go.1 version - Latest release: over 3 years ago - 1 dependent package - 1 dependent repositories - 124 stars on GitHub
github.com/decred/dcrdata/db/dcrpg/v6 v6.0.0
Decred block explorer, with packages and apps for data collection and storage. Written in Go.1 version - Latest release: over 3 years ago - 124 stars on GitHub
github.com/decred/dcrdata/v6 v6.0.0
Decred block explorer, with packages and apps for data collection and storage. Written in Go.1 version - Latest release: over 3 years ago - 4 dependent packages - 14 dependent repositories - 124 stars on GitHub
github.com/ukane-philemon/dcrdex v0.2.2
The Decred Decentralized Exchange (DEX), powered by atomic-swaps.11 versions - Latest release: almost 4 years ago - 0 stars on GitHub
github.com/chappjc/dcrdex v0.2.1 removed
9 versions - Latest release: almost 4 years agogithub.com/decred-next/dcrnpool v1.2.0
11 versions - Latest release: almost 4 years agogithub.com/sebitt27/dcrpool v1.2.0
decred mining pool11 versions - Latest release: almost 4 years ago - 0 stars on GitHub
github.com/decred/dcrpool v1.2.0
decred mining pool11 versions - Latest release: almost 4 years ago - 22 stars on GitHub
github.com/Decred/dcrwallet v1.7.1
A secure Decred wallet daemon written in Go (golang).57 versions - Latest release: about 4 years ago - 196 stars on GitHub
github.com/vikingshield/dcrwallet v1.7.1
A secure Decred wallet daemon written in Go (golang).62 versions - Latest release: about 4 years ago - 0 stars on GitHub
github.com/Decred-Next/dcrnwallet v1.7.1
57 versions - Latest release: about 4 years ago - 1 stars ongithub.com/dcrnofficial/dcrnwallet v1.7.1
57 versions - Latest release: about 4 years ago - 1 stars on GitHubgithub.com/decred/btcwallet v1.7.1
57 versions - Latest release: about 4 years agogithub.com/junyang100/dcrnwallet v1.7.1
57 versions - Latest release: about 4 years ago - 0 stars on GitHubdecred.org/dcrwallet v1.7.1
A secure Decred wallet daemon written in Go (golang).57 versions - Latest release: about 4 years ago - 30 dependent packages - 34 dependent repositories - 210 stars on GitHub
github.com/decred/dcrwallet v1.7.1
A secure Decred wallet daemon written in Go (golang).57 versions - Latest release: about 4 years ago - 28 dependent packages - 27 dependent repositories - 196 stars on GitHub
github.com/decred-next/dcrnwallet v1.7.1
57 versions - Latest release: about 4 years ago - 1 stars on GitHubgithub.com/matheusd/dcrwallet v1.7.1
A secure Decred wallet daemon written in Go (golang).57 versions - Latest release: about 4 years ago - 1 dependent repositories - 0 stars on GitHub
github.com/ji394vul3m6/dcrwallet v1.7.1
A secure Decred wallet daemon written in Go (golang).57 versions - Latest release: about 4 years ago - 0 stars on GitHub
github.com/lukebp/politeia v0.0.0-20210503200436-3c350ff68028
1 version - Latest release: about 4 years ago - 0 stars on GitHubgithub.com/decred/dcrctl v1.6.2 removed
2 versions - Latest release: about 4 years agodecred.org/dcrctl v1.6.2
Command-line client for interacting with the JSON-RPC servers of dcrd and dcrwallet2 versions - Latest release: about 4 years ago - 1 dependent repositories - 3 stars on GitHub
github.com/decred-next/dcrnctl v1.6.2
2 versions - Latest release: about 4 years agogithub.com/john-tonny/vclsuite_vclwallet v1.6.2 removed
4 versions - Latest release: about 4 years agogithub.com/John-Tonny/vclsuite_vclwallet v1.6.2
A secure bitcoin wallet daemon written in Go (golang)4 versions - Latest release: about 4 years ago - 0 stars on GitHub
github.com/chappjc/dcrwallet v1.6.2
A secure decred wallet daemon written in Go (golang)55 versions - Latest release: about 4 years ago - 0 stars on GitHub
github.com/C-ollins/dcrwallet v1.6.0
A secure Decred wallet daemon written in Go (golang).53 versions - Latest release: over 4 years ago - 0 stars on GitHub
github.com/c-ollins/dcrwallet v1.6.0
A secure Decred wallet daemon written in Go (golang).53 versions - Latest release: over 4 years ago - 0 stars on GitHub
github.com/marcopeereboom/dcrpool v1.1.0
decred mining pool7 versions - Latest release: almost 5 years ago - 0 stars on GitHub
github.com/Decred-Next/dcrnd/rpcclient/v5 v5.0.1
2 versions - Latest release: almost 5 years agogithub.com/decred-next/dcrnd/rpcclient/v5 v5.0.1
2 versions - Latest release: almost 5 years agogithub.com/jholdstock/vspd v0.0.0-20200528115206-225dcaf29ea9
A Voting Service Provider (VSP) for the Decred network.1 version - Latest release: almost 5 years ago - 0 stars on GitHub
github.com/decred/dcrdata/v5 v5.2.2
Decred block explorer, with packages and apps for data collection and storage. Written in Go.14 versions - Latest release: over 5 years ago - 1 dependent package - 2 dependent repositories - 124 stars on GitHub
github.com/decred/dcrdata/pubsub/v4 v4.0.2
Decred block explorer, with packages and apps for data collection and storage. Written in Go.3 versions - Latest release: over 5 years ago - 4 dependent packages - 2 dependent repositories - 124 stars on GitHub
github.com/decred/dcrdata/mempool/v5 v5.0.2
Decred block explorer, with packages and apps for data collection and storage. Written in Go.3 versions - Latest release: over 5 years ago - 3 dependent packages - 2 dependent repositories - 124 stars on GitHub
github.com/decred/dcrdata/db/dcrpg/v5 v5.0.1
Decred block explorer, with packages and apps for data collection and storage. Written in Go.2 versions - Latest release: over 5 years ago - 3 dependent packages - 2 dependent repositories - 124 stars on GitHub
github.com/decred/dcrdata/blockdata/v5 v5.0.1
Decred block explorer, with packages and apps for data collection and storage. Written in Go.2 versions - Latest release: over 5 years ago - 3 dependent packages - 2 dependent repositories - 124 stars on GitHub
github.com/decred/dcrdata/rpcutils/v3 v3.0.1
Decred block explorer, with packages and apps for data collection and storage. Written in Go.2 versions - Latest release: over 5 years ago - 6 dependent packages - 2 dependent repositories - 124 stars on GitHub
github.com/decred-next/dcrndata/rpcutils/v3 v3.0.1
2 versions - Latest release: over 5 years ago - 2 stars on GitHubgithub.com/Decred-Next/dcrndata/rpcutils/v3 v3.0.1
2 versions - Latest release: over 5 years ago - 2 dependent packages - 2 stars on GitHubgithub.com/decred/dcrdata/gov/v3 v3.0.0
Decred block explorer, with packages and apps for data collection and storage. Written in Go.1 version - Latest release: over 5 years ago - 1 dependent package - 2 dependent repositories - 124 stars on GitHub
github.com/decred/dcrdata/middleware/v3 v3.1.0
Decred block explorer, with packages and apps for data collection and storage. Written in Go.6 versions - Latest release: over 5 years ago - 1 dependent package - 2 dependent repositories - 124 stars on GitHub
github.com/decred-next/dcrndata/explorer/types/v2 v2.1.1
7 versions - Latest release: over 5 years agogithub.com/Decred-Next/dcrndata/explorer/types/v2 v2.1.1
7 versions - Latest release: over 5 years ago - 4 dependent packagesgithub.com/decred/dcrdata/explorer/types/v2 v2.1.1
Decred block explorer, with packages and apps for data collection and storage. Written in Go.7 versions - Latest release: over 5 years ago - 15 dependent packages - 4 dependent repositories - 124 stars on GitHub
github.com/decred/dcrdata/api/types/v5 v5.0.1
Decred block explorer, with packages and apps for data collection and storage. Written in Go.2 versions - Latest release: over 5 years ago - 14 dependent packages - 6 dependent repositories - 124 stars on GitHub
github.com/decred/dcrdata/txhelpers/v4 v4.0.1
Package txhelpers contains helper functions for working with transactions and blocks (e.g. checki...2 versions - Latest release: over 5 years ago - 26 dependent packages - 6 dependent repositories - 124 stars on GitHub
github.com/Decred-Next/dcrndata/txhelpers/v4 v4.0.1
2 versions - Latest release: over 5 years ago - 8 dependent packagesgithub.com/decred-next/dcrndata/txhelpers/v4 v4.0.1
2 versions - Latest release: over 5 years agoCheck this option to include packages that no longer depend on this package in their latest version but previously did.