Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

lift_x_coordinate

Lift an x-coordinate to a valid secp256k1 point

Arguments

  • x - The x-coordinate

Returns

  • Option<Secp256k1Point> - The point if x is valid, None otherwise

Fully qualified path: alexandria_btc::taproot::lift_x_coordinate

pub fn lift_x_coordinate(x: u256) -> Option<Secp256k1Point>