subsystem-summary-of-transactions

Explains the architecture and data flows of Stellar Core's transactions subsystem.

3.3k|1.1k|Updated Nov 24, 2014
One-click install
npx skills add https://github.com/stellar/stellar-core --skill subsystem-summary-of-transactions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subsystem-summary-of-transactions
Source: https://github.com/stellar/stellar-core/tree/main/.claude/skills/subsystem-summary-of-transactions
Command: npx skills add https://github.com/stellar/stellar-core --skill subsystem-summary-of-transactions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a concise technical overview of Stellar Core's transaction processing subsystem, clarifying its complex architecture and key components.

Core Features & Use Cases

  • Architecture Breakdown: Details the transaction frame hierarchy, operation types, and meta/event generation.
  • Data Flow Explanation: Illustrates the lifecycle from submission to application, including parallel processing.
  • Use Case: A new developer joining the Stellar Core project can use this Skill to quickly grasp how transactions are parsed, validated, and applied to the ledger, accelerating their onboarding.

Quick Start

Read this skill for a token-efficient summary of the transactions subsystem.

Frequently Asked Questions about subsystem-summary-of-transactions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does transaction processing work in Stellar Core?

The Stellar Core transaction lifecycle spans from initial submission through validation to final ledger application. It details the transaction frame hierarchy, operation types, offer exchange logic, and parallel apply infrastructure for Soroban transactions.

What is the architecture of the Stellar Core transactions subsystem?

The Stellar Core transactions subsystem architecture comprises a transaction frame hierarchy, operation types, and meta/event generation. It details key files, classes, data structures, and protocol version sensitive logic governing ledger updates.

How are Soroban transactions applied in parallel in Stellar Core?

Soroban transactions utilize a parallel apply infrastructure within Stellar Core to process transactions efficiently. This infrastructure is a key component of the transaction lifecycle, handling the application of operations to the ledger concurrently.

How do I understand the Stellar Core transaction lifecycle as a new developer?

Review the transaction lifecycle summary to understand how transactions are parsed, validated, and applied to the ledger. This breakdown accelerates onboarding by clarifying architecture, data flows, and offer exchange logic.

Does Stellar Core transaction logic vary by protocol version?

Yes, Stellar Core transaction processing includes protocol version sensitive logic. The transaction engine adjusts its validation and application behavior based on the active protocol version governing the current ledger.

What is offer exchange logic in the Stellar Core transaction engine?

Offer exchange logic in Stellar Core dictates how operations interact with the decentralized exchange within the transaction engine. It calculates path payments and orderbook changes during transaction application to the ledger.