Beispiel #1
0
        public static IEnumerable <byte> RlpWithSignature(this Transaction t, Signature s, bool useNewId)
        {
            var ethTx = t.GetEthTx(s, useNewId);

            return(ethTx.GetRLPEncoded());
        }
Beispiel #2
0
        public static IEnumerable <byte> Rlp(this Transaction t, bool useNewId)
        {
            var ethTx = t.GetEthTx(null, useNewId);

            return(ethTx.GetRLPEncodedRaw());
        }