Skip to main content

nullifiers_path_for_pool

Function nullifiers_path_for_pool 

Source
pub fn nullifiers_path_for_pool(
    pool_type: u32,
    pool_identifier: Option<&[u8]>,
) -> Result<Vec<Vec<u8>>, Error>
Expand description

Resolves the nullifiers path based on pool type.

Pool types:

  • 0: Main credit shielded pool → [ShieldedBalances, "M", [64]]
  • 1: Main token shielded pool (not supported: the Orchard note carries no asset identifier, so tokens cannot share one pool)
  • 2: Individual token shielded pool → [Tokens, 224, token_id, [64]]; pool_identifier is the 32-byte token id