dcrd/internal/rpcserver
Sef Boukenken 33c59e1852 mempool: Store staged transactions as TxDesc
This change modifies the mempool to store staged transactions
as a *TxDesc rather than a *dcrutil.Tx. The advantage of doing
this is to avoid recalculating transaction types through
stake.DetermineTxType since the type would have been captured
in a TxDesc when the transaction initially entered the mempool.

Additionally, rather than returning an array of redeemers for a
given transaction, a function provided by the caller is invoked
for each redeemer. This eliminates unnecessary allocations by
allowing the caller to access each redeemer without needing to
rely on an intermediary buffer.
2021-01-25 14:30:45 -06: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: Store staged transactions as TxDesc 2021-01-25 14:30:45 -06: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: Calc verify progress based on best hdr. 2021-01-21 23:30:36 -06:00
rpcserverhandlers_test.go rpcserver: Calc verify progress based on best hdr. 2021-01-21 23:30:36 -06:00
rpcserverhelp_test.go rpcserver: add handleVersion, handleHelp rpc tests. 2021-01-16 18:52:34 -06:00
rpcserverhelp.go rpcserver: add handleVersion, handleHelp rpc tests. 2021-01-16 18:52:34 -06:00
rpcwebsocket.go rpcserver: add handleVersion, handleHelp rpc tests. 2021-01-16 18:52:34 -06:00
treasury_test.go rpcserver: Add tree param to gettxout. 2020-12-23 23:23:09 -06: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.