Definition ∞ Event sourcing is an architectural pattern where all changes to application state are stored as a sequence of immutable events. Instead of storing the current state directly, the system records every action that has occurred. Reconstructing the current state involves replaying these recorded events from the beginning or a designated snapshot.
Context ∞ In blockchain development and distributed systems, event sourcing is considered for its capacity to provide an auditable ledger of all transactions and state changes, aligning well with the immutable nature of distributed ledgers. Its application is being explored for enhanced transaction history tracking, state reconciliation, and building resilient decentralized applications.