Skip to content

Heartbeat (Project: heartbeat)

The heartbeat service is the “heartbeat” of CCDExplorer Universe. It watches for new finalized blocks and parses them. Its main responsibility is to watch the node and, on every new block, save the block and transactions in MongoDB.

It's run per net, so deployed as both a mainnet and a testnet service.

Collections impacted

  • blocks: every block is stored in this collection as a CCD_BlockInfo type.
  • transactions: every transaction is stored in this collection as a CCD_BlockItemSummary type. Note that the services tries to classify transcaction by adding a recognized_sender_id if the CCD_AccountTransactionDetails sender is found in collection projects.