//C++ TO C# CONVERTER WARNING: 'const' methods are not available in C#: //ORIGINAL LINE: virtual void getOutput(uint index, KeyOutput& output, ulong& amount) const override public override void getOutput(uint index, ref KeyOutput output, ref ulong amount) { auto @out = getOutputChecked(m_txPrefix, index, TransactionTypes.OutputType.Key); output = boost::get <KeyOutput>(@out.target); amount = @out.amount; }
public override uint addOutput(ulong amount, KeyOutput @out) { checkIfSigning(); uint outputIndex = transaction.outputs.Count; TransactionOutput realOut = new TransactionOutput(amount, @out); transaction.outputs.emplace_back(realOut); invalidateHash(); return(outputIndex); }
public override uint addOutput(ulong amount, AccountPublicAddress to) { checkIfSigning(); KeyOutput outKey = new KeyOutput(); GlobalMembers.derivePublicKey(to, txSecretKey(), transaction.outputs.Count, outKey.key); TransactionOutput @out = new TransactionOutput(amount, outKey); transaction.outputs.emplace_back(@out); invalidateHash(); return(transaction.outputs.Count - 1); }
public abstract uint AddOutput(ulong amount, KeyOutput @out);
public abstract void GetOutput(uint index, KeyOutput output, ulong amount);
public static ushort functorMethod(CryptoNote.KeyOutput UnnamedParameter) { return(0x2); }