Exemplo n.º 1
0
 public Transaction(byte[] rawData)
 {
     SimpleRlpSigner = new RLPSigner(rawData, NUMBER_ENCODING_ELEMENTS);
     ValidateValidV(SimpleRlpSigner);
 }
Exemplo n.º 2
0
 public Transaction(RLPSigner rlpSigner)
 {
     ValidateValidV(rlpSigner);
     SimpleRlpSigner = rlpSigner;
 }
Exemplo n.º 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);
 }
Exemplo n.º 4
0
 public LegacyTransactionChainId(RLPSigner rlpSigner)
 {
     SimpleRlpSigner = rlpSigner;
     ValidateValidV(SimpleRlpSigner);
     GetChainIdFromVAndAppendDataForHashRecovery();
 }