Bitcoin Forum
February 09, 2026, 03:33:15 PM *
News: Community awards 2025
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Development & Technical Discussion / Bip143 hashing examples question on: January 07, 2018, 07:44:20 PM
Hi! I'm checking out examples of Bip143 hashing from https://github.com/bitcoin/bips/blob/master/bip-0143.mediawiki and there is one thing I don't quite understand, looks like it's a bug in the example.

First example hashes second input with outPoint ef51e1b804cc89d182d279655c3aa89e815b1b309fe287d9b2b55d57b90ec68a. I reproduced hash calculation, no problems here but the example then provides resulted signed transaction where the second input with outPoint ef51e1b804cc89d182d279655c3aa89e815b1b309fe287d9b2b55d57b90ec68a is empty and instead there is signature for first input(?):

Quote
The serialized signed transaction is: 01000000000102fff7f7881a8099afa6940d42d1e7f6362bec38171ea3edf433541db4e4ad969f0 0000000494830450221008b9d1dc26ba6a9cb62127b02742fa9d754cd3bebf337f7a55d114c8e5c dd30be022040529b194ba3f9281a99f2b1c0a19c0489bc22ede944ccf4ecbab4cc618ef3ed01eef fffffef51e1b804cc89d182d279655c3aa89e815b1b309fe287d9b2b55d57b90ec68a0100000000 ffffffff02202cb206000000001976a9148280b37df378db99f66f85c95a783a76ac7a6d5988ac9 093510d000000001976a9143bde42dbee7e4dbe6a21b2d50ce2f0167faa815988ac000247304402 203609e17b84f6a7d30c80bfa610b5b4542f32a8a0d5447a12fb1366d7f01cc44a0220573a954c4 518331561406f90300e8f3358f51928d43c212a8caed02de67eebee0121025476c2e83188368da1 ff3e292e7acafcdb3566bb0ad253f62fc70f07aeee635711000000
 
    nVersion:  01000000
    marker:    00
    flag:      01
    txin:      02 fff7f7881a8099afa6940d42d1e7f6362bec38171ea3edf433541db4e4ad969f 00000000 494830450221008b9d1dc26ba6a9cb62127b02742fa9d754cd3bebf337f7a55d114c8e5cdd30be0 22040529b194ba3f9281a99f2b1c0a19c0489bc22ede944ccf4ecbab4cc618ef3ed01 eeffffff

                  ef51e1b804cc89d182d279655c3aa89e815b1b309fe287d9b2b55d57b90ec68a 01000000 00 ffffffff
    txout:     02 202cb20600000000 1976a9148280b37df378db99f66f85c95a783a76ac7a6d5988ac
                  9093510d00000000 1976a9143bde42dbee7e4dbe6a21b2d50ce2f0167faa815988ac
    witness    00
               02 47304402203609e17b84f6a7d30c80bfa610b5b4542f32a8a0d5447a12fb1366d7f01cc44a02205 73a954c4518331561406f90300e8f3358f51928d43c212a8caed02de67eebee01 21025476c2e83188368da1ff3e292e7acafcdb3566bb0ad253f62fc70f07aeee6357
    nLockTime: 11000000

Is this really a bug in the example or I miss something?
2  Local / Кодеры / Бумажный кошелек для андроида on: December 23, 2013, 07:03:17 AM
Я, наконец-то, перевел свое приложение на русский язык - https://play.google.com/store/apps/details?id=ru.valle.btc

Умеет генерировать и читать приватные ключи любого формата (кроме hex): WIF, Mini, Brain Wallet, умеет шифровать-расшифровывать BIP 38 ключи, и самое главное - умеет генерировать транзакции для траты денег с бумажного кошелька оффлайн.
Исходники, конечно, открыты.

Пишите отзывы!
3  Economy / Computer hardware / 2x BFL Single FPGA on: July 17, 2013, 03:44:28 AM
I'm selling two BFL Single FPGA for 6 BTC (3 BTC each), shipping to US from California (sf bay).
1660 mh/s averaged on heat-resistant firmware.
4  Bitcoin / Wallet software / Offline paper wallet for android - now with spending possible! on: May 19, 2013, 06:36:00 PM
Hi! I've just updated my android offline "paper bitcoin client" - https://play.google.com/store/apps/details?id=ru.valle.btc

Now it can not only to generate key-address pair, but also it can create and sign transactions using your private key, so now you can quite easily spend money from your paper wallet. Mini, brain wallet, WIF, WIF-compressed, BIP 38(both ec modes) private key formats are supported. Enjoy!

sources: https://github.com/ValleZ/Paper-Wallet

NEW in version 2.2.0 - wallets printing, view QR codes and changing password for encrypted keys

ps Check out the app's permissions ;-)


5  Bitcoin / Project Development / Android app to generate bitcoin private keys on: April 20, 2013, 05:19:03 AM
Hey, I've just posted simple app to create address/mini private key pairs _offline_. The app have no permissions whatsoever, check it out:

https://play.google.com/store/apps/details?id=ru.valle.btc
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!