neptune-core-cli 0.9.0

cli client for interfacing with neptune-core
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::Deserialize;
use serde::Serialize;

/// represents a UtxoTransfer entry in a utxo-transfer file.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub(crate) struct UtxoTransferEntry {
    pub data_format: String,
    pub recipient_abbrev: String,
    pub recipient: String,
    pub ciphertext: String,
}

impl UtxoTransferEntry {
    pub(crate) fn data_format() -> String {
        "neptune-utxo-transfer-v1.0".to_string()
    }
}