Skip to main content

build_path

Function build_path 

Source
pub fn build_path(epoch: u32, step: &StepId, purpose: &str) -> String
Expand description

Build a derivation path. The single place the path format lives, so the draw side and the verify side cannot drift. A purpose is drawn at most once per step, so (epoch, step, purpose) uniquely identifies a value.