redgold 0.1.25

p2p database / compute engine & portfolio target models
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use log::Log;
use redgold_schema::util::lang_util::AnyPrinter;
use crate::core::relay::Relay;

#[ignore]
#[tokio::test]
async fn db_table_size() {
    let r = Relay::dev_default().await;
    for a in r.ds.table_size("utxo").await.expect("table sizes") {
        println!("Size: {}", a);
    };
    for (t, s) in r.ds.table_sizes().await.expect("") {
        println!("Table: {}, Size: {}", t, s);
    }
}