zebra/zebra-node-services
Arya 6b95d271d8
fix(rpc): Return verification errors from `sendrawtransaction` RPC method (#8788)
* Adds a mempool request to wait for a transaction verification result and uses it in `sendrawtransaction` RPC method

* removes unnecessary clone

* fix clippy warnings

* returns verification errors for all `mempool::Queue` requests, removes `QueueRpc` request variant

* returns oneshot channel in mempool::Response::Queue

* updates a test vector to check for download or verification error in mempool::response::Queued result receiver

* Always require tokio as a dependency in zebra-node-services

* checks for closed channel errors in sendrawtransaction and updates a prop test to check that verification errors are propagated correctly
2024-08-30 20:09:10 +00:00
..
src fix(rpc): Return verification errors from `sendrawtransaction` RPC method (#8788) 2024-08-30 20:09:10 +00:00
Cargo.toml fix(rpc): Return verification errors from `sendrawtransaction` RPC method (#8788) 2024-08-30 20:09:10 +00:00