Inscription #75522226#75,522,226htmlInscription #75517752#75,517,752htmlInscription #73247394#73,247,394htmlInscription #72642194#72,642,194html#71,590,187Inscription #71590186#71,590,186jpgtransfer100.pizza#71,495,911brc-20transfer100.pizza#71,318,075brc-20transfer100.pizza#71,317,363brc-20Inscription #70753493#70,753,493htmlInscription #70751281#70,751,281htmlInscription #70749257#70,749,257htmlInscription #70747471#70,747,471htmlInscription #70747452#70,747,452htmlInscription #70736280#70,736,280htmlInscription #68465051#68,465,051webpInscription #68460037#68,460,037htmlInscription #65849688#65,849,688pngInscription #65004959#65,004,959svgInscription #60652134#60,652,134htmlInscription #60652130#60,652,130htmlInscription #60652066#60,652,066html#56,390,990Inscription #56390989#56,390,989pngmint48.jble#53,455,298brc-20mint48.jble#53,449,600brc-20mint48.jble#53,447,493brc-20mint48.jble#53,442,350brc-20 #53,253,063textInscription #53251613#53,251,613pngInscription #53251455#53,251,455png#52,320,781gltf#52,320,778gltfInscription #50403450#50,403,450htmlInscription #50400971#50,400,971html if values.is_empty() { fields.remove(field); } Some(value) } } fn remove_and_concatenate_field( fields: &mut BTreeMap<&[u8], Vec<&[u8]>>, field: &[u8], ) -> Option<Vec<u8>> { let value = fields.remove(field)?; if value.is_empty() { None } else { Some(value.into_iter().flatten().cloned().collect()) } } impl From<RawEnvelope> for ParsedEnvelope { fn from(envelope: RawEnvelope) -> Self { let body = envelope .payload .iter() .enumerate() .position(|(i, push)| i % 2 == 0 && push.is_empty()); let mut fields: BTreeMap<&[u8], Vec<&[u8]>> = BTreeMap::new(); let mut incomplete_field = false; for item in envelope.payload[..body.unwrap_or(envelope.payload.len())].chunks(2) { match item { [key, value] => fields.entry(key).or_default().push(value), _ => incomplete_field = true, } } let duplicate_field = fields.iter().any(|(_key, values)| values.len() > 1); let content_encoding = remove_field(&mut fields, &CONTENT_ENCODING_TAG); #45,000,720textInscription #44977218#44,977,218png