refactor: rename LedgerInfo to LedgerHeader (#6136)

This PR renames `LedgerInfo` to `LedgerHeader`. Namely, `LedgerInfo` was already an alias for `LedgerHeader`, and the comments next to the alias suggested that it would make sense to rename it, since that makes it clearer what it is.
This commit is contained in:
Mayukha Vadari
2025-12-10 14:12:14 -05:00
committed by GitHub
parent 42a432c5dc
commit bff5954acf
23 changed files with 71 additions and 77 deletions

View File

@@ -38,7 +38,7 @@ using namespace ripple::test;
using namespace ripple::test::jtx;
static uint256
ledgerHash(LedgerInfo const& info)
ledgerHash(LedgerHeader const& info)
{
return ripple::sha512Half(
HashPrefix::ledgerMaster,
@@ -252,7 +252,7 @@ public:
for (int i = 0; i < n; i++)
{
LedgerInfo info;
LedgerHeader info;
info.seq = i;
info.parentCloseTime = ct;
info.hash = ripple::sha512Half(i);