Bitcoin Forum
April 19, 2024, 01:16:06 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 5 6 7 8 9 »
1  Other / Meta / Re: action=.xml is disabled due to slowness. If you use this, write a post in Meta on: August 17, 2018, 05:32:23 AM
bump
2  Bitcoin / Development & Technical Discussion / Re: Bitcoin’s Public-Key Security Level on: February 01, 2018, 06:07:32 AM
What do you think of P2WKH (160bit hash of pubkey) vs P2WSH (256bit hash of pubkey) security?
3  Bitcoin / Development & Technical Discussion / Re: When can we expect user friendly offline transactions? on: January 21, 2018, 06:51:54 AM
I tried to do that on android and it's practically impossible to end up with a sane UI for that since it requires to enter full info on unspent outputs. SegWit/BCash protects from entering incorrect amount and producing huge fee but it complicates things even more.

In order to enter unspent outputs info you have few choices - entering raw hex transactions, entering a json from a web service or using a some sort of tx constructor. So for practical point of use it's much easier to use hardware wallets.
4  Bitcoin / Development & Technical Discussion / Re: Looking for decent guides on how to open Segwit compliant wallets. on: January 18, 2018, 03:03:27 AM
Ah, seems I misunderstood the question since a segwit implementation is already in bitcoin core.
5  Bitcoin / Development & Technical Discussion / Re: Looking for decent guides on how to open Segwit compliant wallets. on: January 17, 2018, 06:10:55 AM
There are none, only bitcoin core source code + bips + tests from https://github.com/bitcoin/bitcoin/tree/master/src/test/data
You'll need implement basic bitcoin first,  then bip143 hash (this gives bitcoin cash implementation almost for free), then p2sh, then segwit tx validation.
6  Bitcoin / Development & Technical Discussion / Re: How will Lightning Network be encouraged to use? on: January 17, 2018, 03:18:32 AM
I wonder how a Lightning user interface would look like. Instead a "Send" button there will be "Open channel" button (same fee as just Send button + X bitcoins to deposit into channel) and then "Send via the opened channel" (no fee) and then "Close channel" (same fee as just Send button). Given this complexity and the fact that you have to spend twice as much in fees to send same amount of money as without LN I really wonder how the "greed" would work.

If you say you need big aggregators like Coinbase... Well, why would a user choose the aggregator instead using um... Zelle for example? Maybe only for transnational payments.
7  Bitcoin / Development & Technical Discussion / Re: "No such mempool transaction" When Trying to Get a Raw Transaction on: January 11, 2018, 05:15:41 AM
I wonder why getrawtransaction doesn't return proper error like "No indexed transactions, run app with txindex=1".
8  Bitcoin / Development & Technical Discussion / Re: If we think privacy and fungibility is important, we need to work harder on that on: January 08, 2018, 07:01:13 AM
The only way to introduce that in bitcoin without hardforks is to use a sidechain. Say, based on MimbleWimble.
9  Bitcoin / Development & Technical Discussion / Re: Bip143 hashing examples question on: January 07, 2018, 10:29:51 PM
This actually raises another question that how VerifyScript() works if scriptSig is empty and scriptPubKey "OP_DUP OP_HASH160 1d0f172a0ecb48aee1be1f2687d2963ae33f71a1 OP_EQUALVERIFY OP_CHECKSIG" which fails on OP_DUP with empty stack but it's something I'll have to figure out by myself.
10  Bitcoin / Development & Technical Discussion / Re: Bip143 hashing examples question on: January 07, 2018, 10:08:16 PM
Is this really a bug in the example or I miss something?
You are missing something. The first input is not a segwit input, so the hash calculation for that was ignored and skipped over. The second input is a segwit input, and is P2WPKH. This means that the scriptSig will be empty. The txwitness field contains the signature for the second input.

OK, thank you!
11  Bitcoin / Development & Technical Discussion / Re: Bitcoin transaction via shapeshift on: January 07, 2018, 08:08:42 PM
It's possible. You can ask the shapeshift for transfer logs :-)
12  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?
13  Bitcoin / Development & Technical Discussion / Re: My Segwit questions - a Q&A for Achow and the rest on: December 20, 2017, 03:52:34 PM
As far as I understand older clients see SegWit transactions as zero input/one output transactions due TX format.
14  Bitcoin / Development & Technical Discussion / Re: My Segwit questions - a Q&A for Achow and the rest on: December 16, 2017, 03:46:47 AM
Awesome! I'll try to implement SegWit in my client.
15  Bitcoin / Development & Technical Discussion / Re: My Segwit questions - a Q&A for Achow and the rest on: December 15, 2017, 02:10:52 AM
Now segwit makes sense for me, thank you! One more minor question - do I understand correctly that you can fit only more transactions what use segwit addresses, and in case all clients would keep using addresses starting with 1 then the block size limit stays effectively same as it was before softfork?
16  Bitcoin / Development & Technical Discussion / Re: My Segwit questions - a Q&A for Achow and the rest on: December 14, 2017, 04:45:02 PM
pebwindkraft is right, it became too personal, I'm sorry about that.

However, there is still a common confusion about SegWit - since blocks are the same and still store all the info necessary to validate transactions, then why does it help to make blocks smaller/fit more transactions? Obviously it's related to the witness data in TX which seems to give ability to reuse some information somehow but as the thread author mentioned it's hard to see how does it do that.
17  Bitcoin / Development & Technical Discussion / Re: My Segwit questions - a Q&A for Achow and the rest on: December 14, 2017, 07:27:54 AM
P.S.:


Valle, since the “original bitcoin was plain and simple”, why don’t you write me an “ELI5” on the mathematics of the SHA-256 hash’s “avalanche effect”, and explain why that’s always been so important to Bitcoin’s network security. 

Actually bitcoin security is based 99% on EC, not on hashes. Mining does depend on good hashing to ensure it's hard (and good hashing by definition has the avalanche effect). Hashing in bitcoin protocols is mostly to protect public key and to build chain, but there are a lot of addresses with known public key and it is not such a big problem, see "address reuse".
18  Bitcoin / Development & Technical Discussion / Re: My Segwit questions - a Q&A for Achow and the rest on: December 14, 2017, 07:20:09 AM
nullius, it is very silly of you to think that you are the smartest and if you cannot understand some things then nobody can.
19  Bitcoin / Development & Technical Discussion / Re: My Segwit questions - a Q&A for Achow and the rest on: December 14, 2017, 07:18:31 AM

The original bitcoin was plain and simple - there are blocks, there are transactions in the blocks, that's it. Now there is SegWit and looks like no one understands what does it mean. If all TX info is still in blocks, what was the point of segwit if transactions are still there. If the TX information is outside of the blocks from now on where is the rest?

"You are dumb and don't understand and it's okay" is not an answer - it means that you have no idea what's actually going on.

That’s an idiotic non-argument.  Tell me, Valle, if you understand the following technologies which you use every day; I guarantee that you will get zero for seven here:

0. The transistor, in its present-day integrated-circuit implementations measured in nanometers
What exactly you don't understand in transistors? It's a school basics, isn't it? Nanometer size transistors are basically same as larger ones but takes less current.

1. Lasers
Physics, like schools grade 9. Simple quantum physics/chemistry what can be explained easily in terms or resonance and basic electron levels.

2. The Global Positioning System (GPS)
This is bit trickier to understand because of relativistic effectsm however most people supposed to understand it in high school physics.

3. The secp256k1 elliptic curve cryptography algorithm used in the “original Bitcoin”, and used now
I'm author of alternative bitcoin client (android paper wallet). I do understand EC.

4. The past two decades of research in TCP congestion control algorithms
Yes... I have a my own TCP-IP implementation to understand it.

5. The metallurgy and materials science used to produce modern steels (hint: much different from steels produced 50 years ago!)
I've been studying in Bauman state university for few years in metallurgy major (dropped it, too boring)

6. The virtual memory management code in your operating system’s kernel
Approximately.

The technologies I named above are much more difficult to understand than Segwit (!).

Cool. It means it's very easy to understand where extended blocks data is stored, right?

20  Bitcoin / Development & Technical Discussion / Re: My Segwit questions - a Q&A for Achow and the rest on: December 14, 2017, 05:58:49 AM
The original bitcoin was plain and simple - there are blocks, there are transactions in the blocks, that's it. Now there is SegWit and looks like no one understands what does it mean. If all TX info is still in blocks, what was the point of segwit if transactions are still there. If the TX information is outside of the blocks from now on where is the rest?

"You are dumb and don't understand and it's okay" is not an answer - it means that you have no idea what's actually going on.
Pages: [1] 2 3 4 5 6 7 8 9 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!