Node

The NEM blockchain platform is built from a network of nodes. These nodes provide a powerful, stable, and secure platform where Smart Assets transactions are conducted, searched, and immutably logged to the blockchain ledger.

../_images/four-layer-architecture.png

Catapult’s Performance Advantage: A Four-Layered Architecture

The four-layered architecture allows developers to update any of these tiers without disrupting the others, which improves security.

NEM nodes are represented in the two first layers. The blockchain server and the Rest API can be run separately, having two types of nodes:

Catapult Server: The blockchain network

Repository: Catapult Server

These nodes work with other nodes to build the peer-to-peer blockchain network. In short, this network creates and supports the blockchain itself.

The server verifies transactions, maintains a database, synchronizes with other nodes, and maintains stability and trustworthiness to create a network that is fast, secure, and scalable.

Catapult REST: MongoDB & API Server

Repository: Catapult Rest

Catapult Rest provides the API gateway that applications may use to access the blockchain and its features.

MongoDB serves supplemental data to Catapult REST clients. It is used for high query performance to satisfy high transaction per second scenarios.

Your application does not need to run any complex node software; all usage functionality is available through the API interface.