mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: expose fields of ResolveBestPayload for remote construction (#7947)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -528,11 +528,11 @@ where
|
||||
#[derive(Debug)]
|
||||
pub struct ResolveBestPayload<Payload> {
|
||||
/// Best payload so far.
|
||||
best_payload: Option<Payload>,
|
||||
pub best_payload: Option<Payload>,
|
||||
/// Regular payload job that's currently running that might produce a better payload.
|
||||
maybe_better: Option<PendingPayload<Payload>>,
|
||||
pub maybe_better: Option<PendingPayload<Payload>>,
|
||||
/// The empty payload building job in progress.
|
||||
empty_payload: Option<oneshot::Receiver<Result<Payload, PayloadBuilderError>>>,
|
||||
pub empty_payload: Option<oneshot::Receiver<Result<Payload, PayloadBuilderError>>>,
|
||||
}
|
||||
|
||||
impl<Payload> Future for ResolveBestPayload<Payload>
|
||||
|
||||
Reference in New Issue
Block a user