mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Framework for double-checking that transactions, as they will be applied,
don't break invariants.
This commit is contained in:
11
src/cpp/ripple/TransactionCheck.cpp
Normal file
11
src/cpp/ripple/TransactionCheck.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
#include "TransactionErr.h"
|
||||
#include "TransactionEngine.h"
|
||||
|
||||
// Double check a transaction's metadata to make sure no system invariants were broken
|
||||
// Call right before 'calcRawMeta'
|
||||
|
||||
bool TransactionEngine::checkInvariants(TER result, const SerializedTransaction& txn, TransactionEngineParams params)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user