There's a new packet format, BankingPacketBatch, that's Arc<(Vec<PacketBatch>, Option<SigverifyTracerPacketStats>)> that makes filtering packets on the fly harder. Opt to save memory copy by passing this to relayer + block engine threads (Arc clone) and do any potential OFAC filter (and potentially AOI/POI filtering) in the threads. Removes OFAC stage in replacement of doing things in the relayer + block engine threads.
Changes
Arc<(Vec<PacketBatch>, Option<SigverifyTracerPacketStats>)>
that makes filtering packets on the fly harder. Opt to save memory copy by passing this to relayer + block engine threads (Arc clone) and do any potential OFAC filter (and potentially AOI/POI filtering) in the threads. Removes OFAC stage in replacement of doing things in the relayer + block engine threads.TODO:
packets.chunks(4)
adjustable