feat: emit new block events in --auto-mine (#2079)

Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
This commit is contained in:
Matthias Seitz
2023-04-05 14:16:03 +02:00
committed by GitHub
parent 633d84ded0
commit 77a41e5edf
10 changed files with 175 additions and 76 deletions

View File

@ -6,7 +6,7 @@ use reth_rpc_types::pubsub::{Params, SubscriptionKind};
pub trait EthPubSubApi {
/// Create an ethereum subscription for the given params
#[subscription(
name = "eth_subscribe",
name = "eth_subscribe" => "eth_subscription",
unsubscribe = "eth_unsubscribe",
item = reth_rpc_types::pubsub::SubscriptionResult
)]