C# Class UgoChain.PeerTwo.Features.Wallet.TransactionPool

ファイルを表示 Open project: rony4d/Ugochain

Public Properties

Property Type Description
Instance TransactionPool

Public Methods

Method Description
TransactionPool ( ) : Newtonsoft.Json
UpdateOrAddTransaction ( UgoChain.PeerTwo.Features.Wallet.Transaction transaction ) : void

Private Methods

Method Description
ExistingTransaction ( string sendersAddress ) : Newtonsoft.Json
ValidTransactions ( ) : string)

To get valid transactions 1. The total TxOutput amounts should add up to the TxInput Amount: Prevents double spending 2. Verify the signature of every transaction to ensure the TxOuputs were not modified after it was signed

Method Details

TransactionPool() public method

public TransactionPool ( ) : Newtonsoft.Json
return Newtonsoft.Json

UpdateOrAddTransaction() public method

public UpdateOrAddTransaction ( UgoChain.PeerTwo.Features.Wallet.Transaction transaction ) : void
transaction UgoChain.PeerTwo.Features.Wallet.Transaction
return void

Property Details

Instance public_oe static_oe property

public static TransactionPool,UgoChain.PeerTwo.Features.Wallet Instance
return TransactionPool