mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
17 lines
446 B
C++
17 lines
446 B
C++
|
|
#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)
|
|
{
|
|
|
|
// 1) Make sure transaction changed account sequence number to correct value
|
|
|
|
// 2) Make sure transaction didn't create XRP
|
|
|
|
return true;
|
|
}
|