dcrd/internal/rpcserver
Ryan Staudt 08b7b89b25 rpcserver: Use CreateRevocationFromTicket.
This reworks the createrawssrtx handler to use the
CreateRevocationFromTicket function from the stake package rather than
creating the transaction directly.

It also adds additional error handling on the transaction input:
  - The input must be a ticket submission output (output index 0)
  - The input amount must equal the ticket submission amount
2021-08-27 13:33:08 -05:00
..
testdata rpcserver: Add handleSearchRawTransactions tests. 2020-08-29 22:03:04 -05:00
doc.go rpcserver: Move to internal. 2020-07-24 23:29:59 -05:00
interface.go rpcserver: Use duplicate tx error for recently mined transactions 2021-08-24 09:52:20 -05:00
log.go rpcserver: Add logging to internal package. 2019-10-24 21:37:27 -05:00
README.md rpcserver: Move to internal. 2020-07-24 23:29:59 -05:00
rpcserver_test.go rpcserver: Move to internal. 2020-07-24 23:29:59 -05:00
rpcserver.go rpcserver: Use CreateRevocationFromTicket. 2021-08-27 13:33:08 -05:00
rpcserverhandlers_test.go rpcserver: Use CreateRevocationFromTicket. 2021-08-27 13:33:08 -05:00
rpcserverhelp_test.go rpcserver: add handleVersion, handleHelp rpc tests. 2021-01-16 18:52:34 -06:00
rpcserverhelp.go rpcserver: Remove unused help entry. 2021-05-13 18:22:53 -05:00
rpcwebsocket.go rpcserver: Impose additional read limits. 2021-06-30 12:38:36 -05:00
treasury_test.go rpcserver: Tune large tspend test amount 2021-08-13 00:45:56 -05:00

rpcserver

Build Status ISC License Doc

Overview

Package rpcserver includes all RPC server interfaces, types, and pieces of code pertaining to implementing the RPC server.

License

Package rpcserver is licensed under the copyfree ISC License.