maxSemanticWireNodes top-level constant

int const maxSemanticWireNodes

Maximum retained nodes in one decoded semantic mirror.

A real terminal exposes a windowed visible tree that is normally orders of magnitude smaller. This cap is deliberately generous while preventing a sequence of individually-valid patches from accumulating unbounded unreachable state across the lifetime of a connection.

Implementation

const int maxSemanticWireNodes = 16 * 1024;