mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-05 16:58:00 +00:00
modify comments
This commit is contained in:
@@ -144,12 +144,8 @@ doVerification(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Step 1 - Look at all NFT transactions recorded in
|
* Step 1 - Find all ledger sequences from `nf_token_uris`
|
||||||
* `nf_token_transactions` and reload any NFTokenMint transactions. These
|
* prior to when this verification script started running
|
||||||
* will contain the URI of any tokens that were minted after our start
|
|
||||||
* sequence. We look at transactions for this step instead of directly at
|
|
||||||
* the tokens in `nf_tokens` because we also want to cover the extreme
|
|
||||||
* edge case of a token that is re-minted with a different URI.
|
|
||||||
*/
|
*/
|
||||||
std::stringstream query;
|
std::stringstream query;
|
||||||
std::vector<std::uint32_t> ledgerSequencesChanged;
|
std::vector<std::uint32_t> ledgerSequencesChanged;
|
||||||
@@ -210,13 +206,9 @@ doVerification(
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Step 2 - Pull every object from our initial ledger and load all NFTs
|
* Step 2 - Pull every object from our initial ledger and load all NFTs
|
||||||
* found in any NFTokenPage object. Prior to this migration, we were not
|
* found in any NFTokenPage object. Compare each URI in the NFToken object
|
||||||
* pulling out NFTs from the initial ledger, so all these NFTs would be
|
* with the what has been written in the `nf_token_uris`.
|
||||||
* missed. This will also record the URI of any NFTs minted prior to the
|
|
||||||
* start sequence.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
for(auto const ledgerSeq: ledgerSequencesChanged){
|
for(auto const ledgerSeq: ledgerSequencesChanged){
|
||||||
std::optional<ripple::uint256> cursor;
|
std::optional<ripple::uint256> cursor;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user