XRPLF / xrpl.js

A JavaScript/TypeScript API for interacting with the XRP Ledger in Node.js and the browser
https://xrpl.org/
1.21k stars 512 forks source link

Add `lsfAMMNode` to RippleStateFlags. #2669

Closed tequdev closed 6 months ago

tequdev commented 6 months ago

https://github.com/XRPLF/xrpl.js/blob/3e3911464fcc990cad5a8eda670d8a3a6653812f/packages/xrpl/src/models/ledger/RippleState.ts#L66-L78

https://github.com/XRPLF/rippled/blob/0c32fc5f2adb5a1598dd7e97fc83ba0f64fdee20/src/ripple/protocol/LedgerFormats.h#L299-L300

    lsfAMMNode = 0x01000000,     // True, trust line to AMM. Used by client
                                 // apps to identify payments via AMM.

Thanks to @mvadari