RPC and Peer Transaction Lifecycle
Introduction
Transaction Entry Points
┌─────────────────────────────────────────────────────────────┐
│ TRANSACTION ENTRY POINTS │
│ │
│ ┌─────────────────┐ ┌─────────────────┐ │
│ │ RPC Client │ │ Peer Node │ │
│ │ (WebSocket, │ │ (rippled) │ │
│ │ JSON-RPC) │ │ │ │
│ └────────┬────────┘ └────────┬────────┘ │
│ │ │ │
│ ▼ ▼ │
│ ┌─────────────────┐ ┌─────────────────┐ │
│ │ doSubmit │ │ PeerImp:: │ │
│ │ │ │ onMessage │ │
│ └────────┬────────┘ └────────┬────────┘ │
│ │ │ │
│ └──────────┬─────────────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────────┐ │
│ │ NetworkOPs:: │ │
│ │ processTransaction │ │
│ └─────────────────────┘ │
└─────────────────────────────────────────────────────────────┘Path 1: RPC Submission
Path 2: Peer Relay
Common Processing Path
Transaction Application
Transaction Queue (TxQ)
Network Relay
Complete Transaction Journey
Result Codes
Prefix
Category
Description
processClosedLedger
Open Ledger Accept
Summary
Path
Entry Function
Source
Function
Purpose
Last updated

