mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
tx-pool: add Default impl for TransactionOrigin (#10013)
This commit is contained in:
@ -539,9 +539,10 @@ pub struct NewBlobSidecar {
|
|||||||
///
|
///
|
||||||
/// Depending on where the transaction was picked up, it affects how the transaction is handled
|
/// Depending on where the transaction was picked up, it affects how the transaction is handled
|
||||||
/// internally, e.g. limits for simultaneous transaction of one sender.
|
/// internally, e.g. limits for simultaneous transaction of one sender.
|
||||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
#[derive(Debug, Copy, Clone, PartialEq, Eq, Default)]
|
||||||
pub enum TransactionOrigin {
|
pub enum TransactionOrigin {
|
||||||
/// Transaction is coming from a local source.
|
/// Transaction is coming from a local source.
|
||||||
|
#[default]
|
||||||
Local,
|
Local,
|
||||||
/// Transaction has been received externally.
|
/// Transaction has been received externally.
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user