fedimint_client/client/
event_log.rs

1use fedimint_core::encoding::{Decodable, Encodable};
2use fedimint_core::impl_db_record;
3use fedimint_eventlog::EventLogTrimableId;
4
5use crate::db::DbKeyPrefixInternalReserved;
6
7#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Encodable, Decodable)]
8pub(crate) struct DefaultApplicationEventLogKey;
9
10impl_db_record!(
11    key = DefaultApplicationEventLogKey,
12    value = EventLogTrimableId,
13    db_prefix = DbKeyPrefixInternalReserved::DefaultApplicationEventLogPos,
14);