solana-account-decoder 4.0.0-beta.4

Solana account decoder
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use serde::{Deserialize, Serialize};
pub const MAX_SHORT_FIELD_LENGTH: usize = 80;
pub const MAX_LONG_FIELD_LENGTH: usize = 300;
/// Maximum size of validator configuration data (`ValidatorInfo`).
pub const MAX_VALIDATOR_INFO: u64 = 576;

solana_pubkey::declare_id!("Va1idator1nfo111111111111111111111111111111");

#[derive(Debug, Deserialize, PartialEq, Eq, Serialize, Default)]
pub struct ValidatorInfo {
    pub info: String,
}