mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add manifests subscriptions
Add verify method to manifest script to check signature
This commit is contained in:
committed by
Edward Hennis
parent
a67e4ab9f1
commit
749b4adc7c
@@ -119,6 +119,14 @@ bool Manifest::revoked () const
|
||||
return sequence == std::numeric_limits<std::uint32_t>::max ();
|
||||
}
|
||||
|
||||
Blob Manifest::getSignature () const
|
||||
{
|
||||
STObject st (sfGeneric);
|
||||
SerialIter sit (serialized.data (), serialized.size ());
|
||||
st.set (sit);
|
||||
return st.getFieldVL (sfSignature);
|
||||
}
|
||||
|
||||
void
|
||||
ManifestCache::configValidatorKey(
|
||||
std::string const& line, beast::Journal journal)
|
||||
|
||||
Reference in New Issue
Block a user