Text this: Blockchain-enabled distributed learning for enhanced smart grid security and efficiency