-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for LEDGER_ENTRY_RESTORE #5421
Comments
With the introduction of RESTORE entry type, we need to update the change compactor logic accordingly. The new logic should support two different types of RESTORE entries :
The change compactor must handle these two types differently. Here is the original algorithm for the change compactor and the following the proposed algorithm that incorporates the RESTORE change type.
|
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Protocol 23 will introduce a new ledger entry change type called
LEDGER_ENTRY_RESTORE
When an entry is restored, a new type of LedgerEntryChange is emitted: LedgerEntryChangeType = LEDGER_ENTRY_RESTORE. The entire ingestion stack will need to be able to understand the semantics of this new change.
The ingestion library will need to support
LEDGER_ENTRY_RESTORE
because it currently returns an error when encountering an unknown change type. Horizon ingestion should interpret aLEDGER_ENTRY_RESTORE
change in the same way asLEDGER_ENTRY_CREATED
because the two are functionally equivalent.The text was updated successfully, but these errors were encountered: