refactor: rename info() to header() (#6138)

This change renames all the `info()` functions to `header()`, since they return `LedgerHeader` structs. It also renames the underlying variables from `info_` to `header_`.
This commit is contained in:
Mayukha Vadari
2025-12-10 16:04:37 -05:00
committed by GitHub
parent bff5954acf
commit 62efecbfb1
90 changed files with 609 additions and 582 deletions

View File

@@ -1019,8 +1019,8 @@ class View_test : public beast::unit_test::suite
// Try the other interface.
// Note that the different interface has different outcomes.
auto const& iA3 = rdViewA3->info();
auto const& iA4 = rdViewA4->info();
auto const& iA3 = rdViewA3->header();
auto const& iA4 = rdViewA4->header();
BEAST_EXPECT(areCompatible(iA3.hash, iA3.seq, *rdViewA4, jStream, ""));
BEAST_EXPECT(areCompatible(iA4.hash, iA4.seq, *rdViewA3, jStream, ""));