62 uint64_t ctidValue{0};
69 if (ctidString.
length() != 16)
72 if (!boost::regex_match(ctidString, boost::regex(
"^[0-9A-Fa-f]+$")))
82 if ((ctidValue & 0xF000'0000'0000'0000ULL) != 0xC000'0000'0000'0000ULL)
85 uint32_t ledger_seq = (ctidValue >> 32) & 0xFFFF'FFFUL;
86 uint16_t txn_index = (ctidValue >> 16) & 0xFFFFU;
87 uint16_t network_id = ctidValue & 0xFFFFU;
88 return {{ledger_seq, txn_index, network_id}};