Example #1
0
 public Transaction(byte[] rawData)
 {
     SimpleRlpSigner = new RLPSigner(rawData, NUMBER_ENCODING_ELEMENTS);
     ValidateValidV(SimpleRlpSigner);
 }
Example #2
0
 public Transaction(RLPSigner rlpSigner)
 {
     ValidateValidV(rlpSigner);
     SimpleRlpSigner = rlpSigner;
 }
Example #3
0
 public Transaction(byte[] nonce, byte[] gasPrice, byte[] gasLimit, byte[] receiveAddress, byte[] value,
                    byte[] data, byte[] r, byte[] s, byte v)
 {
     SimpleRlpSigner = new RLPSigner(GetElementsInOrder(nonce, gasPrice, gasLimit, receiveAddress, value, data),
                                     r, s, v);
 }
Example #4
0
 public LegacyTransactionChainId(RLPSigner rlpSigner)
 {
     SimpleRlpSigner = rlpSigner;
     ValidateValidV(SimpleRlpSigner);
     GetChainIdFromVAndAppendDataForHashRecovery();
 }