Skip to content

Commit 2723a1e

Browse files
authored
Merge branch 'develop' into vlntb/mem-leak-ledger-history-3
2 parents 982b5ac + 9f17d10 commit 2723a1e

File tree

27 files changed

+862
-621
lines changed

27 files changed

+862
-621
lines changed

.github/scripts/levelization/results/ordering.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ xrpl.protocol > xrpl.basics
172172
xrpl.protocol > xrpl.json
173173
xrpl.rdb > xrpl.basics
174174
xrpl.rdb > xrpl.core
175+
xrpl.rdb > xrpl.protocol
175176
xrpl.resource > xrpl.basics
176177
xrpl.resource > xrpl.json
177178
xrpl.resource > xrpl.protocol
@@ -215,6 +216,7 @@ xrpld.overlay > xrpld.core
215216
xrpld.overlay > xrpld.peerfinder
216217
xrpld.overlay > xrpl.json
217218
xrpld.overlay > xrpl.protocol
219+
xrpld.overlay > xrpl.rdb
218220
xrpld.overlay > xrpl.resource
219221
xrpld.overlay > xrpl.server
220222
xrpld.peerfinder > xrpl.basics
@@ -233,6 +235,7 @@ xrpld.rpc > xrpl.ledger
233235
xrpld.rpc > xrpl.net
234236
xrpld.rpc > xrpl.nodestore
235237
xrpld.rpc > xrpl.protocol
238+
xrpld.rpc > xrpl.rdb
236239
xrpld.rpc > xrpl.resource
237240
xrpld.rpc > xrpl.server
238241
xrpld.shamap > xrpl.shamap
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#pragma once
2+
3+
namespace xrpl {
4+
5+
/**
6+
* @brief Enumeration of ledger shortcuts for specifying which ledger to use.
7+
*
8+
* These shortcuts provide a convenient way to reference commonly used ledgers
9+
* without needing to specify their exact hash or sequence number.
10+
*/
11+
enum class LedgerShortcut {
12+
/** The current working ledger (open, not yet closed) */
13+
Current,
14+
15+
/** The most recently closed ledger (may not be validated) */
16+
Closed,
17+
18+
/** The most recently validated ledger */
19+
Validated
20+
};
21+
22+
} // namespace xrpl

include/xrpl/protocol/TxSearched.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#pragma once
2+
3+
namespace xrpl {
4+
5+
enum class TxSearched { all, some, unknown };
6+
7+
}

0 commit comments

Comments
 (0)