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
|
||||
/// 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 {
|
||||
/// Transaction is coming from a local source.
|
||||
#[default]
|
||||
Local,
|
||||
/// Transaction has been received externally.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user