XRP 백서

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 28쪽 중 18쪽

& tools relying on their own locally computed NFTokenID for minted tokens. If you have code to calculate NFTokenIDs, you must update it to match the new fomula. For an example of how to do so with backwards compatibility, see this well known reference implementation in JavaScript . fixNFTokenReserve Amendment fixNFTokenReserve Amendment ID 03BDC0099C4E14163ADA272C1B6F6FABB448CC3E51F522F978041E4B57D9158C Status Loading... Default Vote (Latest stable release) No Pre-amendment functionality retired? Yes This amendment adds a check to the NFTokenAcceptOffer transaction to see if the buyer's number of objects owned in the ledger changes. Without this amendment, an account could accept an NFT offer even if they did not meet the reserve requirement after doing so. With this amendment, accepting the offer fails if their reserve is below the necessary amount. fixNonFungibleTokensV1_2 Amendment fixNonFungibleTokensV1_2 Amendment ID 73761231F7F3D94EC3D8C63D91BDD0D89045C6F71B917D1925C01253515A6669 Status Loading... Default Vote (Latest stable release) N/A Pre-amendment functionality retired? Yes This amendment combines several bug fixes to NFTs: Fix Unburnable NFT: Without this amendment, an NFT cannot be burned when it has over 500 offers. With this amendment, an attempt to burn the NFT deletes up to 500 offers at a time, leaving any remaining offers "orphaned" in the ledger. Fix erroneous insufficient funds when brokering: Without this amendment, an account is unable to broker a deal due to an erroneous insufficient funds condition if the broker does not hold at least the purchase price of the NFT. With this amendment, the deal can succeed because only the buyer, not the broker, needs to hold the purchase amount. Fix transfer fee not accounted for in purchase: Without this amendment, if a buyer pays for an NFT using a trust line token with a transfer fee, but the buyer has insufficient funds to cover the transfer fee, their balance of a trust line token can go negative by the amount of the transfer fee in violation of the token issuer's limit. With this amendment, the buyer must hold enough to pay the purchase price and the transfer fee. Allow issuers to buy and sell NFTs for their own tokens: Without this amendment, issuers could not use their own trust line tokens to buy and sell NFTs. With this amendment, issuers can buy and sell NFTs using their own trust line tokens. Prevent brokered sale to owner: Without this amendment, if an account has existing offers to buy and sell an NFT that they already own, another account can broker a "trade" where the owner sells it to themself, and the broker claims part of the spread between the offers. With this amendment, such a trade cannot be brokered. Only allow destination to broker NFT offers: Without this amendment, when an NFT offer specifies a specific destination account, and that offer is matched, anyone can use brokered mode to complete the trade to the specified destination. With this amendment, an NFT offer with a destination specified can only be completed in brokered mode if the broker is specified as the destination. fixPayChanCancelAfter Amendment fixPayChanCancelAfter Amendment ID D3456A862DC07E382827981CA02E21946E641877F19B8889031CC57FDCAC83E2 Status Loading... Default Vote (Latest stable release) No Pre-amendment functionality retired? No Prevents new payment channels from being created with a CancelAfter time that is before the current ledger. Instead, the PaymentChannelCreate transaction fails with the result code tecEXPIRED . Without this amendment, transactions can create a payment channel whose CancelAfter time is in the past. This payment channel is automatically removed as expired by the next transaction to affect it. fixPayChanRecipientOwnerDir Amendment fixPayChanRecipientOwnerDir Amendment ID 621A0B264970359869E3C0363A899909AAB7A887C8B73519E4ECF952D33258A8 Status Loading... Default Vote (Latest stable release) Yes Pre-amendment functionality retired? Yes Changes the PaymentChannelCreate transaction type so that it adds new payment channels to the recipient's owner directory . Without this amendment, new payment channels are added only to the sender's owner directory; with this amendment enabled, newly-created payment channels are added to both owner directories. Existing payment channels are unchanged. This change prevents accounts from being deleted if they are the recipient for open payment channels, except for channels created before this amendment. fixPreviousTxnID Amendment fixPreviousTxnID Amendment ID 7BB62DC13EC72B775091E9C71BF8CF97E122647693B50C5E87A80DFD6FCFAC50 Status Loading... Default Vote (Latest stable release) No Pre-amendment functionality retired? No This amendment adds PreviousTxnID and PreviousTxnLgrSequence fields to ledger entries that did not already have them, namely DirectoryNode , Amendments , FeeSettings , NegativeUNL , and AMM . Ledger entries that were created before this amendment was enabled will get the new fields whenever a transaction modifies those entries. Without this amendment, some types of ledger entries don't have those fields, which makes it harder to trace the history of modifications to those ledger entries. fixPriceOracleOrder Amendment fixPriceOracleOrder Amendment ID FF2D1E13CF6D22427111B967BD504917F63A900CECD320D6FD3AC9FA90344631 Status Loading... Default Vote (Latest stable release) No Pre-amendment functionality retired? No Fixes an issue where the order of asset pair data is different from when a price oracle is created versus when it is updated. This amendment ensures asset pairs follow a canonical order at all times, so you can predictably look up asset prices. fixQualityUpperBound Amendment fixQualityUpperBound Amendment ID 89308AF3B8B10B7192C4E613E1D2E4D9BA64B2EE2D5232402AE82A6A7220D953 Status Loading... Default Vote (Latest stable release) Yes Pre-amendment functionality retired? Yes Fixes a bug in unused code for estimating the ratio of input to output of individual steps in cross-currency payments. This amendment has no known impact on transaction processing. fixReducedOffersV1 Amendment fixReducedOffersV1 Amendment ID 27CD95EE8E1E5A537FF2F89B6CEB7C622E78E9374EBD7DCBEDFAE21CD6F16E0A Status Loading... Default Vote (Latest stable release) No Pre-amendment functionality retired? Yes Adjusts rounding to prevent order books from being blocked by reduced offers whose exchange rate is affected by rounding of the remaining amounts. In general, offers can be reduced in 3 ways: The offer can be partially consumed when it is placed. The offer can be partially consumed after being placed into an order book. The offer can be under-funded, meaning its owner has less funds than it specifies. With this amendment, the exchange rate of a reduced offer is rounded such that it is as good or better than the original offer (from the taker's perspective). This allows the reduced offer to be consumed by offers that would have matched the original, full amounts. The rounded amount is no more than 1 drop of XRP or 1e-81 of a token. Without this amendment, an offer with very small amounts remaining can have a a much worse exchange rate after rounding than it had initially. This can cause an offer for very small amounts to "block" better offers in the same order book from being taken. fixReducedOffersV2 Amendment fixReducedOffersV2 Amendment ID 31E0DA76FB8FB527CADCDF0E61CB9C94120966328EFA9DCA202135BAF319C0BA Status Loading... Default Vote (Latest stable release) No Pre-amendment functionality retired? No This amendment adjusts rounding in an additional case that can cause an order book to become blocked by a "reduced" offer. This addresses the same symptoms as the fixReducedOffersV1 amendment, but in an additional case that was not covered by that amendment. fixRemoveNFTokenAutoTrustLine Amendment fixRemoveNFTokenAutoTrustLine Amendment ID DF8B4536989BDACE3F934F29423848B9F1D76D09BE6A1FCFE7E7F06AA26ABEAD Status Loading... Default Vote (Latest stable release) Yes Pre-amendment functionality retired? No Removes the tfTrustLine setting on non-fungible tokens , to protect against a denial of service attack on issuers using this flag. With this amendment enabled, a NFTokenMint transaction with the tfTrustLine flag enabled is considered invalid and cannot be confirmed by consensus; new NFToken objects cannot be minted with the flag. Without this amendment, an attacker could create new, meaningless fungible tokens and sell a NFToken back and forth for those tokens, creating many useless trust lines tied to the issuer and increasing the issuer's reserve requirement. This amendment does not change the code for NFToken objects that have already been minted. On test networks that enabled NFT support before this amendment, issuers who have already minted NFTokens with the tfTrustLine flag enabled are still vulnerable to the exploit even after the fixRemoveNFTokenAutoTrustLine amendment. This amendment has no effect unless either NonFungibleTokensV1 or NonFungibleTokensV1_1 is enabled. To protect issuers, this amendment should be enabled before NonFungibleTokensV1 or NonFungibleTokensV1_1 . fixRmSmallIncreasedQOffers Amendment fixRmSmallIncreasedQOffers Amendment ID B6B3EEDC0267AB50491FDC450A398AF30DBCD977CECED8BEF2499CAB5DAC19E2 Status Loading... Default Vote (Latest stable release) N/A Pre-amendment functionality retired? Yes This amendment fixes an issue where certain Offers, when almost completely consumed, have a much lower exchange rate than when they were first placed. This occurs when the remaining amounts of one or both assets are so small that they cannot be rounded to a similar ratio as when the Offer was placed. Without this amendment, an Offer in this state blocks Offers with better rates deeper in the order book and causes some payments and Offers to fail when they could have succeeded. With this amendment, payments and trades can remove these types of Offers the same way that transactions normally remove fully consumed or unfunded Offers. fixSTAmountCanonicalize Amendment fixSTAmountCanonicalize Amendment ID 452F5906C46D46F407883344BFDD90E672B672C5E9943DB4891E3A34FEEEB9DB Status Loading... Default Vote (Latest stable release) N/A Pre-amendment functionality retired? Yes Fixes an edge case in deserializing Amount-type fields. Without this amendment, in some rare cases the operation could result in otherwise valid serialized amounts overflowing during deserialization. With this amendment, the XRP Ledger detects error conditions more quickly and eliminates the problematic corner cases. fixTakerDryOfferRemoval Amendment fixTakerDryOfferRemoval Amendment ID 2CD5286D8D687E98B41102BDD797198E81EA41DF7BD104E6561FEB104EFF2561 Status Loading... Default Vote (Latest stable release) N/A Pre-amendment functionality retired? Yes Fixes a bug in auto-bridging that can leave a dry offer in the XRP Ledger. A dry offer is an offer that, if crossed, cannot yield any funds. Without this fix, the dry offer remains on the ledger and counts toward its owner's reserve requirement without providing any benefit to the owner. Another offer crossing of the right type and quality can remove the dry offer. However, if the required offer crossing type and quality are rare, it may take a while for the dry offer to be removed. With this amendment enabled, the XRP Ledger removes these dry offers when they're matched in auto-bridging. fixTokenEscrowV1 Amendment fixTokenEscrowV1 Amendment ID 32B8614321F7E070419115ABEAB1742EA20F3E3AF34432B5E2F474F8083260DC Status Loading... Default Vote (Latest stable release) No Pre-amendment functionality retired? No Fixes an accounting error in MPT escrows. Specifically, when an escrow unlocks MPTs that have a transfer fee, the system incorrectly reduces the MPT issuer's locked token balance by the gross amount (without fees) rather than the net amount (with fees). This leads to discrepancies in the token's total supply accounting. This amendment ensures that when escrowed MPTs are unlocked, the issuer's locked amount is reduced by the net amount, and the total supply is reduced by the transfer fees. fixTrustLinesToSelf Amendment fixTrustLinesToSelf Amendment ID F1ED6B4A411D8B872E65B9DCB4C8B100375B0DD3D62D07192E011D6D7F339013 Status Loading... Default Vote (Latest stable release) N/A Pre-amendment functionality retired? Yes This amendment removes two trust lines from an account to itself that were created due to an old bug (both on 2013-05-07). When the amendment becomes enabled, it deletes trust lines with the IDs 2F8F21EFCAFD7ACFB07D5BB04F0D2E18587820C7611305BB674A64EAB0FA71E1 and 326035D5C0560A9DA8636545DD5A1B0DFCFF63E68D491B5522B767BB00564B1A if they exist. After doing so, the amendment does nothing else. On test networks that do not have these trust lines, the amendment has no effect. fixUniversalNumber Amendment fixUniversalNumber Amendment ID 2E2FB9CF8A44EB80F4694D38AADAE9B8B7ADAFD2F092E10068E61C98C4F092B0 Status Loading... Default Vote (Latest stable release) No Pre-amendment functionality retired? Yes Simplifies and unifies the code for decimal floating point math. In some cases, this provides slightly better accuracy than the previous code, resulting in calculations whose least significant digits are different than when calculated with the previous code. The different results may cause other edge case differences where precise calculations are used, such as ranking of Offers or processing of payments that use several different paths. Without this amendment, the code continues to use separate calculations for STAmount and IOUAmount objects, and Automated Market Maker (XLS-30d) uses a third class for calculations. fixXChainRewardRounding Amendment fixXChainRewardRounding Amendment ID 2BF037D90E1B676B17592A8AF55E88DB465398B4B597AE46EECEE1399AB05699 Status Loading... Default Vote (Latest stable release) No Pre-amendment functionality retired? No This amendment ensures that reward shares for cross-chain transactions are always rounded down. This preserves the original intended behavior. Without this amendment, the XChainBridge amendment has an incompatibility with the fixUniversalNumber amendment. When those two amendments are both enabled, the Number type may be used for some intermediate calculations of token amounts. In some cases, values that used to round down instead are rounded to nearest, which alters the intended rounding behavior for reward shares in cross-chain transactions. This amendment restores the intended rounding behavior. It has no effect unless both the XChainBridge and fixUniversalNumber amendments are also enabled. Flow Amendment Flow Amendment ID 740352F2412A9909880C23A559FCECEDA3BE2126FED62FC7660D628A06927F11 Status Loading... Default Vote (Latest stable release) N/A Pre-amendment functionality retired? Yes Replaces the payment processing engine with a more robust and efficient rewrite called the Flow engine. The new version of the payment processing engine is intended to follow the same rules as the old one, but occasionally produces different results due to floating point rounding. This Amendment supersedes the FlowV2 amendment. The Flow Engine also makes it easier to improve and expand the payment engine with further Amendments. FlowCross Amendment FlowCross Amendment ID 3012E8230864E95A58C60FD61430D7E1B4D3353195F2981DC12B0C7C0950FFAC Status Loading... Default Vote (Latest stable release) N/A Pre-amendment functionality retired? Yes Streamlines the offer crossing logic in the XRP Ledger's decentralized exchange. Uses the updated code from the Flow amendment to power offer crossing, so OfferCreate transactions and Payment transactions share more code. This has subtle differences in how offers are processed: Rounding is slightly different in some cases. Due to differences in rounding, some combinations of offers may be ranked higher or lower than by the old logic, and taken preferentially. The new logic may delete more or fewer offers than the old logic. (This includes cases caused by differences in rounding and offers that were incorrectly removed as unfunded by the old logic.) FlowSortStrands Amendment FlowSortStrands Amendment ID AF8DF7465C338AE64B1E937D6C8DA138C0D63AD5134A68792BBBE1F63356C422 Status Loading... Default Vote (Latest stable release) N/A Pre-amendment functionality retired? Yes Improves the payment engine's calculations for finding the most cost-efficient way to execute a cross-currency transaction. Without this change, the engine simulates a payment through each possible path to calculate the quality (ratio of input to output) of each path. With this change, the engine calculates the theoretical quality of each path without simulating a full payment. With this amendment, the payment engine executes some cross-currency payments much faster, is able to find the most cost-efficient path in more cases, and can enable some payments to succeed in certain conditions where the old payment engine would fail to find enough liquidity. FlowV2 Amendment FlowV2 Amendment ID 5CC22CFF2864B020BD79E0E1F048F63EF3594F95E650E43B3F837EF1DF5F4B26 Status Loading... Default Vote (Latest stable release) N/A Pre-amendment functionality retired? N/A This is a previous version of the Flow amendment. It was rejected due to a bug and removed in version 0.33.0. HardenedValidations Amendment HardenedValidations Amendment ID 1F4AFA8FA1BC8827AD4C0F682C03A8B671DCDF6B5C4DE36D44243A684103EF88 Status Loading... Default Vote (Latest stable release) N/A Pre-amendment functionality retired? Yes Allows validators to include a new optional field in their validations to attest to the hash of the latest ledger that the validator considers to be fully validated. The consensus process can use this information to increase the robustness of consensus. ImmediateOfferKilled Amendment ImmediateOfferKilled Amendment ID 75A7E01C505DD5A179DFE3E000A9B6F1EDDEB55A12F95579A23E15B15DC8BE5A Status Loading... Default Vote (Latest stable release) N/A Pre-amendment functionality retired? Yes Changes OfferCreate transactions so that if an Offer uses tfImmediateOrCancel and transaction processing kills the Offer without moving any funds, the transaction uses the result code tecKILLED instead of tesSUCCESS . If the Offer exchanges any amount of funds, even a small amount, the transaction still uses tesSUCCESS . There are no other changes to the processing of the transaction (for example, in terms of whether it cleans up expired and unfunded Offers that were encountered in the ledger during transaction processing). Without this amendment, "Immediate or Cancel" Offers that failed to move any funds returned a tesSUCCESS result code, which could be confusing because the transaction effectively did nothing. InvariantsV1_1 Amendment InvariantsV1_1 Amendment ID D8ED3BE0B2673496CB49DE8B5588C8805DF7B1DE203F38FE0367ACE703D36C0F Status In Development Default Vote (Latest stable release) No Pre-amendment functionality retired? No This amendment adds several new invariants to protect the ledger against bugs in transaction processing. The developers intend to set it as open for voting after a set of several invariants are implemented. The invariants included are as follows: When deleting an account, ensure that certain types of ledger entries are also deleted, including that account's DirectoryNode , SignerList , NFTokenPage , and AMM directories, if any, are deleted with it. LendingProtocol Amendment LendingProtocol Amendment ID 565B90CA1AB2B9D42208ED10884188C64F9E19083DECB9634AAF06EB03299509 Status Loading... Default Vote (Latest stable release) No Pre-amendment functionality retired? No The Lending Protocol enables on-chain, fixed-term, uncollateralized loans using pooled funds from a Single Asset Vault. This implementation relies on off-chain underwriting and risk management to assess the creditworthiness of borrowers, but offers configurable, peer-t
프로젝트로 돌아가기