[][src]Function grin_core::consensus::graph_weight

pub fn graph_weight(height: u64, edge_bits: u8) -> u64

Compute weight of a graph as number of siphash bits defining the graph The height dependence allows a 30-week linear transition from C31+ to C32+ starting after 1 year