btm 2.0.0

Blockchain Time Machine
Documentation
1
2
3
4
5
6
7
8
9
10
11
//!
//! Only useful in client-end
//!

use crate::{BtmCfg, api::client};
use ruc::*;

#[inline(always)]
pub(crate) fn gen_snapshot(_cfg: &BtmCfg, idx: u64) -> Result<()> {
    client::request_snapshot(idx).c(d!())
}