mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +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
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <BeastConfig.h>
|
||||
#include <ripple/app/misc/HashRouter.h>
|
||||
#include <ripple/app/misc/NetworkOPs.h>
|
||||
#include <ripple/core/DatabaseCon.h>
|
||||
#include <ripple/basics/contract.h>
|
||||
#include <ripple/basics/Log.h>
|
||||
@@ -695,6 +696,10 @@ OverlayImpl::onManifests (
|
||||
app_.validators(),
|
||||
journal);
|
||||
|
||||
if (result == ManifestDisposition::accepted ||
|
||||
result == ManifestDisposition::untrusted)
|
||||
app_.getOPs().pubManifest (*make_Manifest(serialized));
|
||||
|
||||
if (result == ManifestDisposition::accepted)
|
||||
{
|
||||
auto db = app_.getWalletDB ().checkoutDb ();
|
||||
|
||||
Reference in New Issue
Block a user