Skip to main content

Overview

The compression system within Honeycomb is designed to optimize the storage and handling of transactional data. It leverages custom macros to define compressed account data structures and custom events through no-operation transactions (noop txs). Here's a closer look at these components:

Custom Macros

  • Custom macros are used to define the structure of compressed account data.
  • These macros facilitate the efficient encoding and decoding of account information, ensuring that the data remains compact and easily retrievable.

Custom Events

  • Custom events are used to define multiple compression actions.
  • It instructs the DAS on the specific operations to perform, such as storing or updating data within the indexer database.
  • Through custom events, the system can selectively execute actions that maintain data integrity and consistency in a compressed format.

No-Operation Transactions (noop txs)

  • Noop txs are specialized transactions that carry custom data in their arguments but are intended to perform no direct operations on the blockchain itself.
  • These transactions are integral to the system as they carry the custom event data, which is pivotal for the parsing and processing steps.

Digital Asset RPC Infrastructure (DAS)

  • The Digital Asset RPC Infrastructure (DAS) is a critical component forked from the Metaplex Digital Asset Standard.
  • DAS is responsible for capturing noop txs and extracting the custom events embedded within their arguments.
  • Upon capturing a noop tx, DAS parses the event and performs a specific operation.