Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Wonder about the terms of "input", "output". #94

Open
@youngminpark2559

Description

@youngminpark2559

At this page:
https://github.com/youngmtool/ProgrammingBlockchain/blob/master/bitcoin_transfer/spend_your_coin.md

At this sentence:
/Generate a TxOut for hallOfTheMakers.
TxOut hallOfTheMakersTxOut = new TxOut()

This code is making 2 TxOuts.
But under my understanding, since "in" and "out" in the transaction is TxIn and TxOut, one transaction can have one TxIn and one TxOut.
But each TxIn and TxOut can have multiple inputs and outputs.
See the illustration, TransactionSendReceiveCoins.png, I draw:
https://youngmtool.gitbooks.io/csharpdotnetconceptsandillustrations/blockchain.html

Can I say that the above code is making 2 outputs rather than 2 TxOut?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp