Add preclaim functionality to transactors:

The preclaim() function performs static validity
analysis of transactions using limited information
from a ledger.
This commit is contained in:
Edward Hennis
2015-07-27 17:43:14 -04:00
committed by Vinnie Falco
parent ad8e9a76ed
commit 9b80081122
26 changed files with 1056 additions and 543 deletions

View File

@@ -28,12 +28,13 @@
namespace ripple {
ApplyContext::ApplyContext(Application& app_,
OpenView& base, STTx const& tx_,
ApplyFlags flags, Config const& config_,
OpenView& base, STTx const& tx_, TER preclaimResult_,
std::uint64_t baseFee_, ApplyFlags flags,
beast::Journal journal_)
: app(app_)
, tx (tx_)
, config (config_)
, tx(tx_)
, preclaimResult(preclaimResult_)
, baseFee(baseFee_)
, journal(journal_)
, base_ (base)
, flags_(flags)