clockwork_plugin 1.4.2

Clockwork plugin for Solana validators
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use {solana_program::pubkey::Pubkey, std::fmt::Debug};

#[derive(Clone, Debug)]
pub struct PoolPosition {
    pub current_position: Option<u64>,
    pub workers: Vec<Pubkey>,
}

impl Default for PoolPosition {
    fn default() -> Self {
        PoolPosition {
            current_position: None,
            workers: vec![],
        }
    }
}