dcrd/internal/rpcserver
Matheus Degiovani 32ee3fb74d
rpcserver: Avoid error in handleRebroadcastWinners.
This downgrades an error when rebroadcasting the winning tickets to a
logged warning.

This is necessary because it is a legitimate state to have a chain tip
header returned by the Chain.TipGeneration() while the actual block data
is not yet available for the LotteryDataForBlock to complete.

Prior to this change, a voting wallet connecting to a dcrd instance with
multiple chain tip headers without the associated data would be unable
to re-start voting for blocks due to the associated RPC call failing.
2022-07-22 11:19:11 -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 mempool: Remove ProcessTransaction rate limit. 2022-06-29 13:07:06 -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: Fix websocket auth failure. 2022-02-09 13:53:16 -06:00
rpcserver.go mempool: Remove ProcessTransaction rate limit. 2022-06-29 13:07:06 -05:00
rpcserverhandlers_test.go mempool: Remove ProcessTransaction rate limit. 2022-06-29 13:07:06 -05:00
rpcserverhelp_test.go rpcserver: add handleVersion, handleHelp rpc tests. 2021-01-16 18:52:34 -06:00
rpcserverhelp.go rpcserver: Remove getinfo addrindex field. 2022-05-19 17:08:07 -05:00
rpcwebsocket.go rpcserver: Avoid error in handleRebroadcastWinners. 2022-07-22 11:19:11 -05:00
treasury_test.go blockchain/stake: Start v5 module dev cycle. 2022-05-08 11:47:32 -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.