diff --git a/src/xrpld/consensus/DisputedTx.h b/src/xrpld/consensus/DisputedTx.h index aff4ccae68..97cd766eb1 100644 --- a/src/xrpld/consensus/DisputedTx.h +++ b/src/xrpld/consensus/DisputedTx.h @@ -60,6 +60,20 @@ public: return ourVote_; } + //! Number of peers voting to include the transaction. + [[nodiscard]] int + getYays() const + { + return yays_; + } + + //! Number of peers voting to exclude the transaction. + [[nodiscard]] int + getNays() const + { + return nays_; + } + //! Are we and our peers "stalled" where we probably won't change //! our vote? [[nodiscard]] bool