|
xrpld
|
Bundles the mutable ledger view and the transaction being applied. More...
#include <ApplyView.h>

Public Attributes | |
| ApplyView & | view |
| STTx const & | tx |
Bundles the mutable ledger view and the transaction being applied.
Passed together to avoid threading two separate parameters through every helper that needs both the view (for state reads/writes) and the transaction (for field inspection and metadata).
Both members are non-owning references; the caller is responsible for ensuring that the referenced objects outlive the ApplyViewContext.
TODO: replace with ApplyContext after it's untangled with xrpl/tx
Definition at line 443 of file ApplyView.h.
| ApplyView& xrpl::ApplyViewContext::view |
Definition at line 445 of file ApplyView.h.
| STTx const& xrpl::ApplyViewContext::tx |
Definition at line 446 of file ApplyView.h.