mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add RPC command shard crawl (RIPD-1663)
This commit is contained in:
@@ -628,12 +628,6 @@ RCLConsensus::Adaptor::notify(
|
||||
}
|
||||
s.set_firstseq(uMin);
|
||||
s.set_lastseq(uMax);
|
||||
if (auto shardStore = app_.getShardStore())
|
||||
{
|
||||
auto shards = shardStore->getCompleteShards();
|
||||
if (! shards.empty())
|
||||
s.set_shardseqs(shards);
|
||||
}
|
||||
app_.overlay ().foreach (send_always (
|
||||
std::make_shared <Message> (
|
||||
s, protocol::mtSTATUS_CHANGE)));
|
||||
|
||||
Reference in New Issue
Block a user