dcrd/rpc/jsonrpc/types
Dave Collins 1fe440d0a6
rpc/jsonrpc/types: Add agenda status constants.
This adds constants for the possible status strings in the agenda info
that is a part of the getblockchaininfo result.

This is being done with the intent of decoupling the internal blockchain
implementation of the threshold states from the RPC results.
2022-05-18 20:43:51 -05:00
..
chainsvrcmds_test.go dcrjson: Introduce v4 module. 2021-09-14 13:38:54 -05:00
chainsvrcmds.go jsonrpc/types: Remove existsexpiredtickets. 2022-04-30 00:16:24 -05:00
chainsvrresults_test.go multi: Add tx inputs treasuryspend RPC support. 2020-11-24 04:27:07 -06:00
chainsvrresults.go rpc/jsonrpc/types: Add agenda status constants. 2022-05-18 20:43:51 -05:00
chainsvrwscmds_test.go rpcserver: Remove notifyspentandmissedtickets RPC. 2022-04-30 00:16:25 -05:00
chainsvrwscmds.go jsonrpc/types: Remove notifyspentandmissedtickets. 2022-04-30 00:16:26 -05:00
chainsvrwsntfns_test.go jsonrpc/types: Remove notifyspentandmissedtickets. 2022-04-30 00:16:26 -05:00
chainsvrwsntfns.go jsonrpc/types: Remove notifyspentandmissedtickets. 2022-04-30 00:16:26 -05:00
chainsvrwsresults.go jsonrpc/types: Update copyright years. 2019-07-22 17:31:40 -05:00
doc.go rpc/jsonrpc/types: Prepare v3.0.0. 2021-11-11 14:53:34 -06:00
go.mod rpc/jsonrpc/types: Start v4 module dev cycle. 2022-03-30 17:34:29 -05:00
go.sum rpc/jsonrpc/types: Prepare v3.0.0. 2021-11-11 14:53:34 -06:00
helpers.go jsonrpc/types: Update copyright years. 2019-07-22 17:31:40 -05:00
method.go dcrjson: Introduce v3 and move types to module. 2019-07-19 08:49:49 -05:00
README.md multi: Update README.md files for go modules. 2021-01-22 14:39:23 -06:00

jsonrpc/types

Build Status ISC License Doc

Package types implements concrete types for marshalling to and from the dcrd JSON-RPC commands, return values, and notifications. A comprehensive suite of tests is provided to ensure proper functionality.

The provided types are automatically registered with dcrjson when the package is imported. Although this package was primarily written for dcrd, it has intentionally been designed so it can be used as a standalone package for any projects needing to marshal to and from dcrd JSON-RPC requests and responses.

Installation and Updating

This package is part of the github.com/decred/dcrd/rpc/jsonrpc/types/v2 module. Use the standard go tooling for working with modules to incorporate it.

License

Package types is licensed under the copyfree ISC License.