From 3f426bc3a4a4ca2b5cc32b44528599bd1e97f3b4 Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Tue, 29 Aug 2017 18:01:36 -0400 Subject: [PATCH] making pending transactions accessible via public method --- libraries/chain/include/eos/chain/chain_controller.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/chain/include/eos/chain/chain_controller.hpp b/libraries/chain/include/eos/chain/chain_controller.hpp index 6e3a31ba797..d98de070a23 100644 --- a/libraries/chain/include/eos/chain/chain_controller.hpp +++ b/libraries/chain/include/eos/chain/chain_controller.hpp @@ -257,6 +257,9 @@ namespace eos { namespace chain { chainbase::database& get_mutable_database() { return _db; } bool should_check_scope()const { return !(_skip_flags&skip_scope_check); } + + + const deque& pending()const { return _pending_transactions; } private: /// Reset the object graph in-memory