chia-client 0.11.0

Chia light client and async peer connections.
Documentation
1
2
3
4
5
6
7
use chia_traits::{chia_error::Result, Streamable};

pub fn stream<T: Streamable>(value: &T) -> Result<Vec<u8>> {
    let mut bytes = Vec::new();
    value.stream(&mut bytes)?;
    Ok(bytes)
}