Dissecting a P2PKH Bitcoin Transaction down to the last Byte

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ต.ค. 2024

ความคิดเห็น • 90

  • @marksierra7834
    @marksierra7834 2 ปีที่แล้ว +2

    I'd love to see a video like this for a Taproot transaction 👍

  • @ziomanzo
    @ziomanzo 5 ปีที่แล้ว +2

    your math and reasoning is also at lightning speed ⚡
    I like these videos a lot! 👍

  • @heruilin
    @heruilin 3 ปีที่แล้ว +1

    Got here from your in-progress Mastering Lightning Network book which I'm really enjoying. Incredibly instructive working through this example (multiple times). Just checked that change address containing the .1444 mBTC is still unspent.

    • @heruilin
      @heruilin 3 ปีที่แล้ว

      Slightly misleading (to me at least) is the appearance that all the data needed to evaluate the truth of the final script is what's pasted into the bitcoin script tool for dummies web tool. In fact the computed hash required by OP_CHECKSIG operation must be calculated over all the data of the current transaction (plus essentially the output script of the previous transaction minus the input scripts of the current transaction). Fortunately the in the first part of the final script is enough info for the tool to perform a blockchain lookup to obtain the current transaction data.

  • @seakyou
    @seakyou ปีที่แล้ว

    Thank you, Rene that was very insightful!!

  • @muaawiyahtucker
    @muaawiyahtucker 5 ปีที่แล้ว

    This was an AMAZING video!!!! I attended an advanced EVM workshop that 'almost' went totally over my head as we were literally coding with numbers and stacks and the rest of it, push01 this and mstore that...It was the first time I was exposed to such a thing and only in the last 2 hours of the full day workshop everything started to click into place. BUT NOW!!!! After watching this, It LITERALLY all makes sense to me now whats going on!!! AMAZING stuff...It really is!! And you explained it so well without it being 20+ minutes long. Thanks you so much.

    • @idlanhelmy6836
      @idlanhelmy6836 2 ปีที่แล้ว

      what is EVM

    • @Ryan-xq3kl
      @Ryan-xq3kl ปีที่แล้ว

      @@idlanhelmy6836 Ethereum Bullshit Machine

  • @Chemaclass
    @Chemaclass 4 หลายเดือนก่อน

    Great explanation, thanks!

  • @nikhilwable2696
    @nikhilwable2696 2 ปีที่แล้ว +2

    Hello,very thank you fore your video.i dont understand how you obtain CB226B... I try but i dont find it. Do you know how to find checksum of address

    • @princelloyd.cryptokcoinvia6102
      @princelloyd.cryptokcoinvia6102 2 ปีที่แล้ว

      Text the name up 👆🏼above 👆🏼they help me out and my 1.05btc profit was deposited into my wallet address successfully thanks i appreciate sir.

    • @williammicheal2453
      @williammicheal2453 2 ปีที่แล้ว

      On telegrsm

    • @williamssmith9990
      @williamssmith9990 2 ปีที่แล้ว

      Mininghelpcare work for me

  • @markgoodwin4185
    @markgoodwin4185 ปีที่แล้ว

    great video rene!

  • @MartinThoma
    @MartinThoma 3 ปีที่แล้ว

    Very nice video! Thank you for creating it 🤗

    • @RenePickhardt
      @RenePickhardt  3 ปีที่แล้ว +1

      Dude. You create way more open content than I. So thanks goes on your direction (:

  • @martijnbolt
    @martijnbolt 6 ปีที่แล้ว +1

    thanks! very relevant info. great video. keep it up!

    • @RenePickhardt
      @RenePickhardt  6 ปีที่แล้ว

      I will try to do so. I am still not completely happy with the format. But I guess I will be learning while making more videos and with the feedback

  • @andywang4189
    @andywang4189 8 หลายเดือนก่อน

    This is so great!

  • @jochemin
    @jochemin 6 ปีที่แล้ว +2

    Very good video, thank you Rene, my only concern is when you say at video start "how a transaction is validated by Bitcoin miners?" Of course is correct but all full validating nodes validate the transactions.

    • @RenePickhardt
      @RenePickhardt  6 ปีที่แล้ว +2

      Yeah I completely agree with what you said. I have to admit that I might have been a little sloppy in my choice of words. I tried to be authentic while speaking and therefor I didn't use a script or teleprompter :( Everyone who validates the blockchain does this process this is in particular miners, but also full nodes or people like me who did it by hand :P

  • @torgeiroldur2411
    @torgeiroldur2411 5 ปีที่แล้ว

    Your videos are fantastic! Keep up the good work, you're making a difference(for me at least)

    • @RenePickhardt
      @RenePickhardt  5 ปีที่แล้ว

      thanks for that feedback. You can support this channel and my book project which would make a difference for me (: Checkout: tallyco.in/s/lnbook/

    • @torgeiroldur2411
      @torgeiroldur2411 5 ปีที่แล้ว

      @@RenePickhardt Would you consider making a video on how to dissect a P2SH transaction?

  • @guregori_san
    @guregori_san 3 ปีที่แล้ว +1

    I have come accros transactions that start with 02 for the version number. the difference with the version 01 is that you have to count 5 bites to have the number of inputs value instead of 4 bites for the version 01. is that correct? thx for this awesome video !

  • @idlanhelmy6836
    @idlanhelmy6836 2 ปีที่แล้ว

    very great explanation, but how can i change the hash(transaction id) into hex?

  • @fractalencrypt2818
    @fractalencrypt2818 6 ปีที่แล้ว +3

    Very interesting, thanks!

  • @ZacMitton
    @ZacMitton ปีที่แล้ว

    what about a segwit transaction? very different i suppose. and what about a tx that uses a shnorr signature?

  • @kishormagar9703
    @kishormagar9703 4 ปีที่แล้ว +1

    i have problem R1 And R2 does not same sig sign so hwo to solve this problem?

  • @stevancandra6701
    @stevancandra6701 ปีที่แล้ว

    Can you make Dissecting a P2SH Bitcoin transaction ?

  • @frankdashwood3128
    @frankdashwood3128 6 ปีที่แล้ว

    Thank you very much! This was very informative, and quite approachable. It made me wish I knew more about coding so I'd have more context, as your content was very detail-rich, and I'm sure I would have gotten much more out of it! Keep up the good work!

    • @RenePickhardt
      @RenePickhardt  6 ปีที่แล้ว

      What exactly would you need if you are not coding? I hoped to actually make this visible to people who do not know how to code. So more detailed feedback would be highly appriciated (:

    • @frankdashwood3128
      @frankdashwood3128 6 ปีที่แล้ว

      I'll be more than happy to review it again, and see if I can find anywhere I think some additional feedback may be necessary. However, I wasn't commenting on that as a failure on your part. I understood pretty much everything you said. I was saying that if I were a coder (I've taken a few classes...awaiting surgical implantation as a means of stuffing it between my ears) I probably would have gotten even more out of it.

  • @tompiperson4793
    @tompiperson4793 6 ปีที่แล้ว

    Awesome. Keep making videos,

  • @sauce2408
    @sauce2408 4 ปีที่แล้ว

    Great video thank you! I was wondering, based on the transaction data, how do you know which output was the change and which output was the one that the sender intended to transfer?

    • @ndabenhlemhlongo7231
      @ndabenhlemhlongo7231 3 ปีที่แล้ว +1

      The first output is the unspent Satoshi to the receiver
      The second output is the unspent Satoshi to your address as change. The last one

  • @GhulamAbbas-sw1gy
    @GhulamAbbas-sw1gy ปีที่แล้ว

    good job love you

  • @soufiboy8979
    @soufiboy8979 ปีที่แล้ว

    can you tell me about nonstandard transactions in bitcoin

  • @cotboy26
    @cotboy26 4 ปีที่แล้ว

    @Rene Pickhardt - Thats a really great video, I decided to delve deep in btc even though i was aware about it from 2010. And there i saw what you explained!
    One question though - you have your tx hash & after that you get the large chunk of data visible at 0:58, how did you calculate this? is there any website / git for doing this. Can you point me out in the right direction on this perhaps.

    • @RenePickhardt
      @RenePickhardt  4 ปีที่แล้ว

      bitcoin-cli getrawtransaction replace_this_with_the_tx_hash

    • @cotboy26
      @cotboy26 4 ปีที่แล้ว

      @@RenePickhardt I am complete noob in this, can you please elaborate this for me!

    • @RenePickhardt
      @RenePickhardt  4 ปีที่แล้ว +1

      @@cotboy26 download Bitcoin core and in your command line type bitcoin-cli help start reading documentation. Won't have the time for 1on1 tutoring via yt comments. Though I wish I would

    • @cotboy26
      @cotboy26 4 ปีที่แล้ว

      @@RenePickhardt Thank you so much for this info..Have a great day / evening buddy

  • @louisoverlord7529
    @louisoverlord7529 4 ปีที่แล้ว

    Rene why on my raw transaction the input counter is not 1 byte but 0001 then how can I target the beginning of previous transaction hash presciously?

  • @disguisewhat5452
    @disguisewhat5452 5 ปีที่แล้ว

    how about a video on how to create addresses (different formats v1 up to beck32) and also showing that people can have all of them with the same private key?

    • @RenePickhardt
      @RenePickhardt  5 ปีที่แล้ว

      I will think about your suggestion. While I believe it would be interesting for many people my feeling is that it is not so closely related to the lightning network which is the main topic of this channel but just general data encoding

    • @disguisewhat5452
      @disguisewhat5452 5 ปีที่แล้ว

      @@RenePickhardt true, then the same for lightning tx as you did here with an onchain one would fit much better

  • @cmdmoba1306
    @cmdmoba1306 3 ปีที่แล้ว

    Nice topson

  • @mencheswest8993
    @mencheswest8993 4 ปีที่แล้ว

    is the represents hashed privkey?

    • @blessinganuoluwapo9197
      @blessinganuoluwapo9197 4 ปีที่แล้ว +2

      Yes. I got 35BTC from *Spantools* on ¡nstagram 🔥🔥

    • @elizabethcarlie495
      @elizabethcarlie495 4 ปีที่แล้ว

      Ronaldhacks_01 via ¶G willbgetbyou a legit Private key your non spendable Bitcoin..

  • @Mzahdi6158
    @Mzahdi6158 3 ปีที่แล้ว

    How to create privatekey

  • @frankeric6566
    @frankeric6566 4 ปีที่แล้ว +1

    get a video on how to reverse sha256

  • @kamalvivo457
    @kamalvivo457 2 ปีที่แล้ว

    br can u tell me how to flash btc

  • @chuckpain03
    @chuckpain03 5 ปีที่แล้ว

    Genius

  • @Mzahdi6158
    @Mzahdi6158 3 ปีที่แล้ว

    Hello sir .I am believe you very good in position sir I forgot password .you help me I open the wallet

  • @georgemicheal2112
    @georgemicheal2112 4 ปีที่แล้ว

    can you use this script to make transtion

    • @blessinganuoluwapo9197
      @blessinganuoluwapo9197 4 ปีที่แล้ว +2

      Yes.,,, I got 23BTC scripts from *Spantools* on ¡Nstagramm🔥🔥

    • @georgemicheal2112
      @georgemicheal2112 4 ปีที่แล้ว

      @@blessinganuoluwapo9197 i need script

    • @elizabethcarlie495
      @elizabethcarlie495 4 ปีที่แล้ว

      *Ronaldhacks_01 via ¶G" helped me out..legit..

    • @funsoolajuwon218
      @funsoolajuwon218 4 ปีที่แล้ว

      *+1 (541) 946-3018*

    • @blessinganuoluwapo9197
      @blessinganuoluwapo9197 4 ปีที่แล้ว

      Spantools1 via ¶¦Nstagram got me 12BTC successfully,,, he's expert

  • @williamssmith9990
    @williamssmith9990 2 ปีที่แล้ว

    On telegrsm

  • @尉尉-k8v
    @尉尉-k8v 2 ปีที่แล้ว +2

    Hi, Thanks your video, Nice! In 2'57'', may i know that about calculat the bitcoin address? I use the pubkey: 034866....cf98 in SHA256, then use RIPEMD160, why did my result no like you CB22...? thx. may u teach this part?

    • @DiDGeek
      @DiDGeek 2 ปีที่แล้ว +2

      I got exactly same problem

    • @user-hl5wm9we3j
      @user-hl5wm9we3j 2 ปีที่แล้ว

      I got paid from ☝🏻☝🏻☝🏻☝🏻 he deposited 2Btc after paying for the script thanks for the fast am legit payment sir

    • @user-hl5wm9we3j
      @user-hl5wm9we3j 2 ปีที่แล้ว

      @@DiDGeekI got paid from ☝🏻☝🏻☝🏻☝🏻 he deposited 2Btc after paying for the script thanks for the fast am legit payment sir