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

About the process of sending the transaction by the Bitcoin core. #95

Open
@youngminpark2559

Description

@youngminpark2559

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

At this code:

using (var node = Node.ConnectToLocal(network)) //Connect to the node{    node.VersionHandshake(); //Say hello                             //Advertize your transaction (send just the hash)    node.SendMessage(new InvPayload(InventoryType.MSG_TX, transaction.GetHash()));    //Send it    node.SendMessage(new TxPayload(transaction));    Thread.Sleep(500); //Wait a bit}

For me, I think the explanations about the code is lack about the role of VersionHandshake(), SendMessage(), InvPayload(), InventoryType, MSG_TX, TxPayload().

Could you give some explanations on each one?

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