ethereum/blockchain/BREthereumTransactionReceipt.c
//
// Transaction Receipt Logs - RLP Encode/Decode
//
Transaction Receipt Logs - RLP Encode/Decode
Transaction Receipt Logs - RLP Encode / Decode
static BRRlpItem
transactionReceiptLogsRlpEncode (BREthereumTransactionReceipt log,
                                 BRRlpCoder coder) {
    size_t itemsCount = array_count(log->logs);
    BRRlpItem items[itemsCount];
    for (int i = 0; i < itemsCount; i++)
        items[i] = logRlpEncode(log->logs[i], RLP_TYPE_NETWORK, coder);
    return rlpEncodeListItems(coder, items, itemsCount);
}
static BRRlpItem transactionReceiptLogsRlpEncode ( BREthereumTransactionReceipt log , BRRlpCoder coder ) { size_t itemsCount = array_count ( log -> logs ) ; BRRlpItem items [ itemsCount ] ; for ( int i = 0 ; i < itemsCount ; i ++ ) items [ i ] = logRlpEncode ( log -> logs [ i ] , RLP_TYPE_NETWORK , coder ) ; return rlpEncodeListItems ( coder , items , itemsCount ) ; }
Transaction Receipt Logs - RLP Encode/Decode
Transaction Receipt Logs - RLP Encode / Decode