Solana Off-Chain Message Signing

tags: Solana source: https://github.com/solana-labs/solana/blob/eabe1070667e87f447b9cb892e2d916ca5b68e34/sdk/src/offchain_message.rs#L237-L240 /// Serialize the off-chain message to bytes including full header pub fn serialize(&self) -> Result<Vec<u8>, SanitizeError> { // serialize signing domain let mut data = Self::SIGNING_DOMAIN.to_vec(); // serialize version and call version specific serializer match self { Self::V0(msg) => { data.push(0); msg.serialize(&mut data)?; } } Ok(data) }

June 15, 2023 · 1 min · Gray King

Ethereum Execution Layer

tags: Ethereum Networking Layer

June 14, 2023 · 1 min · Gray King

Ethereum Sub-protocols

tags: Ethereum Networking, Ethereum Execution Layer

June 14, 2023 · 1 min · Gray King

Ethereum Wire Protocol

tags: Ethereum Sub-protocols, Ethereum Simulator Node Started when a RLPx session had initiated. Three main tasks before switch to PoS: Chain synchronization Block propagation Transaction exchange: exchange pending transaction between nodes. Only transaction exchange remit after switch to PoS.

June 14, 2023 · 1 min · Gray King

Ethereum DevP2P

tags: Ethereum Networking, Ethereum Execution Layer Basic stack for p2p networking. Initiating RLPx Session. RLPX Session Communicate messages that encoded in RLP between peers.

June 14, 2023 · 1 min · Gray King