forest-filecoin 0.33.3

Rust Filecoin implementation.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2019-2026 ChainSafe Systems
// SPDX-License-Identifier: Apache-2.0, MIT

//! Event types published by the pending pool.

use crate::message::SignedMessage;

pub(in crate::message_pool) const MPOOL_UPDATE_CHANNEL_CAPACITY: usize = 256;

/// A change to the pending pool.
#[allow(dead_code)] // TODO: This will be used in https://github.com/ChainSafe/forest/pull/6941
#[derive(Clone, Debug)]
pub enum MpoolUpdate {
    Add(SignedMessage),
    Remove(SignedMessage),
}