Closed thomas-quadratic closed 11 months ago
Implement CommitVisitor
CommitVisitor walks the trie and saves node data to the database. It relies on NodeUpdater for writes. In tests, we mock the database with a HashMap. It also relies on a valueSerializer function to serialise node data to Bytes for the value field.
Implement CommitVisitor
CommitVisitor walks the trie and saves node data to the database. It relies on NodeUpdater for writes. In tests, we mock the database with a HashMap. It also relies on a valueSerializer function to serialise node data to Bytes for the value field.