XRP Ledger blocks flash loan attacks as DeFi losses top $600 million