Skip to content

About "transaction input or output" #93

Open

Description

@youngminpark2559

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

At this sentence:
If you want to send 0.5 BTC from a transaction input with 1 BTC you actually have to spend it all!

Should the above sentence be replaced with this sentence?:
If you want to send 0.5 BTC from an output of the different transaction which holds 1 BTC, you actually have to spend it all!

Activity

  1. nopara73 commented on Nov 23, 2017

    @nopara73
    Contributor

    How about this one:

    If you want to send 0.5 BTC from an unspent output, which holds 1 BTC, you actually have to spend it all!

  2. NicolasDorier commented on Nov 24, 2017

    @NicolasDorier
    Collaborator
  3. youngminpark2559 commented on Nov 24, 2017

    @youngminpark2559
    ContributorAuthor

    Adding "unspent" makes more clear but don't you think "of the different" next to "output" in the right side makes the meaning also clear?

  4. nopara73 commented on Nov 24, 2017

    @nopara73
    Contributor

    @youngmtool
    It's confusing for me. Honestly I don't really understand what you mean by different transaction. Is what you mean is: "you must spend an utxo of a transaction, that's not the one you are building right now."?

  5. youngminpark2559 commented on Nov 24, 2017

    @youngminpark2559
    ContributorAuthor

    Yes, with thinking again, I so far assumed the transaction we're making is already included in the transaction of the block which will be created.

    So my intention was to distinguish the transaction which will be included in a new block and transaction for UTXO.

    At the moment when we're writing a transaction, there is no transaction in a block yet.

    Thanks for answer.

  6. andrasfuchs commented on Jan 4, 2018

    @andrasfuchs
    Contributor

    I changed the wording to the one recommended by @nopara73 in my recent PR #104, so if it gets accepted this issue can be closed.

  7. youngminpark2559 commented on Jan 4, 2018

    @youngminpark2559
    ContributorAuthor

    @andrasfuchs Okay. Thanks for informing me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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