Skip to content

Commit

Permalink
Remove unused LedgerCloseMeta struct (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
SirTyson authored Oct 6, 2023
1 parent f2f213c commit 6d8baba
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions Stellar-ledger.x
Original file line number Diff line number Diff line change
Expand Up @@ -486,26 +486,8 @@ struct LedgerCloseMetaV0

struct LedgerCloseMetaV1
{
LedgerHeaderHistoryEntry ledgerHeader;

GeneralizedTransactionSet txSet;

// NB: transactions are sorted in apply order here
// fees for all transactions are processed first
// followed by applying transactions
TransactionResultMeta txProcessing<>;

// upgrades are applied last
UpgradeEntryMeta upgradesProcessing<>;

// other misc information attached to the ledger close
SCPHistoryEntry scpInfo<>;
};

struct LedgerCloseMetaV2
{
// We forgot to add an ExtensionPoint in v1 but at least
// we can add one now in v2.
// We forgot to add an ExtensionPoint in v0 but at least
// we can add one now in v1.
ExtensionPoint ext;

LedgerHeaderHistoryEntry ledgerHeader;
Expand Down Expand Up @@ -541,7 +523,5 @@ case 0:
LedgerCloseMetaV0 v0;
case 1:
LedgerCloseMetaV1 v1;
case 2:
LedgerCloseMetaV2 v2;
};
}

0 comments on commit 6d8baba

Please sign in to comment.