3096a2307f
* Change mixnode, gateway, network and nym-api binary licenses to GPLv3 * Add license to cargo files * Revert model license to match crate * Add license to nym-node * Revert model license to match crate * Fix formatting --------- Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
21 lines
558 B
Rust
21 lines
558 B
Rust
// Copyright 2021 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
pub(crate) struct PersistedSharedKeys {
|
|
pub(crate) client_address_bs58: String,
|
|
pub(crate) derived_aes128_ctr_blake3_hmac_keys_bs58: String,
|
|
}
|
|
|
|
pub(crate) struct StoredMessage {
|
|
pub(crate) id: i64,
|
|
#[allow(dead_code)]
|
|
pub(crate) client_address_bs58: String,
|
|
pub(crate) content: Vec<u8>,
|
|
}
|
|
|
|
pub(crate) struct PersistedBandwidth {
|
|
#[allow(dead_code)]
|
|
pub(crate) client_address_bs58: String,
|
|
pub(crate) available: i64,
|
|
}
|