Skip to main content

post_legacy_state_signature

Function post_legacy_state_signature 

Source
async fn post_legacy_state_signature(
    state: &Arc<RwLock<StateRelayServerState>>,
    headers: &HeaderMap,
    body: &[u8],
) -> Result<(), RelayError>
Expand description

Handle a POST to legacy-state: tries LCV1, then LCV2 (downgraded to LCV1). Mirrors tide’s postlegacystatesignature.