* feat(rpc): add getrawtransaction * Apply suggestions from code review Co-authored-by: teor <teor@riseup.net> Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com> * Apply suggestions from code review Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com> * address review comments * move SerializedTransaction to the right module * Use try_into() instead of 'as' * add proptests Co-authored-by: teor <teor@riseup.net> Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Split out ReadRequest and ReadResponse state service enums * Simplify RPC test vectors * Split state requests into Request and ReadRequest * Make zebra-rpc use the new state ReadRequest