Open pipermerriam opened 4 years ago
We need "one shot DevP2P transaction broadcasting" in order for Alexandria to support the eth_sendRawTransaction JSON-RPC API.
eth_sendRawTransaction
A Trio compatible async python function that takes a transaction and broadcasts it into the DevP2P eth protocol.
async
eth
async def broadcast( *transactions: Transaction, confirmations: int = 3, ...) -> None: ...
Implementation requirements.
eth/65
GetPooledTransactions
@gsalgado this would be a bigger task but still valuable. It would leverage your existing knowledge of the DevP2P protocol. It would however not have much of anything to do with the DHT network.
What was wrong?
We need "one shot DevP2P transaction broadcasting" in order for Alexandria to support the
eth_sendRawTransaction
JSON-RPC API.How can it be fixed.
A Trio compatible
async
python function that takes a transaction and broadcasts it into the DevP2Peth
protocol.Implementation requirements.
eth/65
protocol.GetPooledTransactions
message.