tape-api 0.1.9

Your data, permanently recorded — uncensorable, uneditable, and here for good.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use steel::*;
use crate::consts::*;
use crate::state;
use super::AccountType;
use brine_tree::MerkleTree;

#[repr(C, align(8))] 
#[derive(Clone, Copy, Debug, PartialEq, Pod, Zeroable)]
pub struct Writer {
    pub tape: Pubkey,
    pub state: MerkleTree<{TREE_HEIGHT}>, 
}

state!(AccountType, Writer);