[][src]Function snarkos_network::server::process_transaction_internal

pub async fn process_transaction_internal<'_, '_>(
    context: Arc<Context>,
    consensus: &'_ ConsensusParameters,
    parameters: &'_ PublicParameters<Components>,
    storage: Arc<MerkleTreeLedger>,
    memory_pool_lock: Arc<Mutex<MemoryPool<Tx>>>,
    transaction_bytes: Vec<u8>,
    transaction_sender: SocketAddr
) -> Result<(), SendError>

Verify a transaction, add it to the memory pool, propagate it to peers.