Bitcoin Forum
November 10, 2024, 04:20:42 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 »  All
  Print  
Author Topic: BIP 16 / 17 in layman's terms  (Read 38982 times)
westkybitcoins
Legendary
*
Offline Offline

Activity: 980
Merit: 1004

Firstbits: Compromised. Thanks, Android!


View Profile
January 26, 2012, 06:30:44 PM
 #101

Watching.

Bitcoin is the ultimate freedom test. It tells you who is giving lip service and who genuinely believes in it.
...
...
In the future, books that summarize the history of money will have a line that says, “and then came bitcoin.” It is the economic singularity. And we are living in it now. - Ryan Dickherber
...
...
ATTENTION BFL MINING NEWBS: Just got your Jalapenos in? Wondering how to get the most value for the least hassle? Give BitMinter a try! It's a smaller pool with a fair & low-fee payment method, lots of statistical feedback, and it's easier than EasyMiner! (Yes, we want your hashing power, but seriously, it IS the easiest pool to use! Sign up in seconds to try it!)
...
...
The idea that deflation causes hoarding (to any problematic degree) is a lie used to justify theft of value from your savings.
Costia
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile
January 26, 2012, 06:35:01 PM
 #102

look at how Gavin himself wrote it in his post:
https://bitcointalk.org/index.php?topic=60433.0

OP_HASH160 <hash> OP_EQUAL
OP_0 <signature> OP_PUSHDATA(2 <pubkey1> <pubkey2> 2 OP_CHECKMULTISIG)

the code is "OP_PUSHDATA"
"2 <pubkey1> <pubkey2> 2 OP_CHECKMULTISIG" is data
then, this previously pushed data gets executed

while in BIP17:
<hash> OP_CODEHASHVERIFY OP_POP
OP_0 <signature> OP_CODESEPARATOR 2 <pubkey1> <pubkey2> 2 OP_CHECKMULTISIG
no tricks are used...

my problem with the idea of executing data is that it is the basis of a lot of hacks in other software
Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
January 26, 2012, 06:59:29 PM
 #103

If we are so worried about the size of the blockchain, it appears to me that BIP_17 is not the way to go because of increased amounts of data being stored in the chain.
BIP 17 transactions use less data than BIP 16.

In the current setup, scriptPubKey is the code, and scriptSig is the data.  If BIP17 isn't executing code by virtue of reclassifying scriptSig into "code", then none of the others are either.
Except scriptSig is not and has never been mere data, it is code.

kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1026



View Profile
January 26, 2012, 07:00:40 PM
 #104

look at how Gavin himself wrote it in his post:
https://bitcointalk.org/index.php?topic=60433.0

OP_HASH160 <hash> OP_EQUAL
OP_0 <signature> OP_PUSHDATA(2 <pubkey1> <pubkey2> 2 OP_CHECKMULTISIG)

the code is "OP_PUSHDATA"
"2 <pubkey1> <pubkey2> 2 OP_CHECKMULTISIG" is data
then, this previously pushed data gets executed

while in BIP17:
<hash> OP_CODEHASHVERIFY OP_POP
OP_0 <signature> OP_CODESEPARATOR 2 <pubkey1> <pubkey2> 2 OP_CHECKMULTISIG
no tricks are used...

my problem with the idea of executing data is that it is the basis of a lot of hacks in other software

So, your objection is to OP_PUSHDATA?  I only bring it up because BIP17 does that implicitly.  It bangs both parts together and executes them as one.  Go dig for Gavin's objections to BIP17 where he explains that bitcoin used to work this way, and why it does not today.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
Costia
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile
January 26, 2012, 07:04:21 PM
 #105

AFAIK bitcoin still does exactly that.
puts the signatures together and executes the result
both signatures contain both data and code
my objection is not to push data, but that this data is being executed at a later stage

https://en.bitcoin.it/wiki/Transaction
Quote
The input's scriptSig and the referenced output's scriptPubKey are evaluated (in that order), with scriptPubKey using the values left on the stack by scriptSig
also look at the examples there
evoorhees
Legendary
*
Offline Offline

Activity: 1008
Merit: 1023


Democracy is the original 51% attack


View Profile
January 26, 2012, 07:17:58 PM
 #106

I don't understand the technical details here... at all... but I find it fascinating to read these kinds of conversations. This stuff is so damn cool.

I'm confident from fiery debate, reason will emerge. As an onlooker, I'm continually impressed and bewildered by the brilliance, creativity, and passion of those developing the core of this new world.

Cheers to you guys.
Inaba
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
January 26, 2012, 07:36:18 PM
 #107

"average" miners, for all practical purposes, can't vote anyway... A solo miner isn't generating blocks fast enough to make a difference... so even if every miner popped up with a vote for P2SH, it wouldn't really change anything.  

The "vote" comes packaged in a solved block.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
January 26, 2012, 07:38:22 PM
 #108

Also, Gavin's signature says "Send Tycho a PM or email and ask him to support P2SH for a more secure Bitcoin" like I'm currently against "more secure Bitcoin".
But I'm not.

The fact that you've let your pool grow to the size it has suggests a different story to me. There are many reasons no pool should be that large, yet you seem happy to let it happen, even bragging about it occasionally (if you are also the forum user "deepbit"). I don't think you necessarily want that much power, you just earn more because of it.

For example, https://deepbit.net with over 3100 GH/s of hashrate Smiley

and your point is, Holliday ? this is a free market you know, grasp the concept

back on topic, I know this can be very frustrating for you Gavin but you will manage to reach consensus, i'm sure about that.

BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
Costia
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile
January 26, 2012, 07:40:26 PM
 #109

"average" miners, for all practical purposes, can't vote anyway... A solo miner isn't generating blocks fast enough to make a difference... so even if every miner popped up with a vote for P2SH, it wouldn't really change anything.  

The "vote" comes packaged in a solved block.

The regular pools should have at least made a poll on their site. so its not the manager who decides, but the miners of that pool
rjk
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


1ngldh


View Profile
January 26, 2012, 07:48:50 PM
 #110

I am not sure why [Tycho] is being bashed for being completely agnostic! Sure it is a large amount of hash power, but instead of forcing his users to "vote" by modifying his blocks, he is instead doing nothing. I don't see how this warrants significant hate, because I am sure that voting one way or the other would just mean that many more people crying foul because it isn't they want they want it to be.

[Tycho]'s previous mentions of selling shovels to the miners have piqued my ongoing curiosity, and I can't wait for the next big thing to come along.

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
Rassah
Legendary
*
Offline Offline

Activity: 1680
Merit: 1035



View Profile WWW
January 26, 2012, 07:51:59 PM
 #111

Anyone else find it strange that Gavin would put this up to a vote with maybe two weeks notice, where no vote is the same as a "no" vote? With apparently most miners not even knowing how to vote? And the excuse that "if you don't know how to modify your client, you shouldn't be voting anyway" just resulting in an inevitable conclusion of almost no votes for it at all?
Two proposals:
1) Scrap the deadline, put up instructions on how to four for BIP16, BIP17, or neither, in a simple to understand way (precompiled bitcoind exe's preconfigured for specific votes maybe?), and just let the voting continue. Eventually once more than 55% of the miners are voting for either BIP16 or BIP17, implement the winner. With enough time it will happen.
2) If miners, despite securing the network and being the gate keepers to any changes, "don't understand the code anyway, and shouldn't be voting," which I sort of agree with, since I don't understand this completely, and don't think these important decisions should be turned into a popularity contest (disclosure: I like Gavin, I really don't like Luke, but what kind of people they are should have no bearing on their coding skills, of which I am not well enough informed), then don't vote. Gavin can push out his client, Luke can push out his. People will vote with downloads, and the stubborn ones will have to switch eventually. It will be forky and messy, and people may lose mining revenue, but Bitcoin will survive, especially in at this still early stage. It will also be a good test of how well Bitcoin will handle necessary radical changes, and we all know those will have to come eventually.
Inaba
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
January 26, 2012, 07:54:46 PM
 #112

Rassah, that doesn't really address the problem.  99.9% of miners will not get to vote, regardless of what they change their clients to.  All "votes" are packaged within a solved block, thus you must solve a block to "cast" a "vote".

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
Costia
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile
January 26, 2012, 07:55:25 PM
 #113

this was not intended to be a vote...
people started interpreting it as a vote when luke came up with BIP17

I think i had enough of this. Let gavin and luke fight to the death. the winner writes the P2SH implementation
Inaba
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
January 26, 2012, 07:56:43 PM
 #114

No, the BIP makes it sound like a vote.

Quote
To judge whether or not more than 50% of hashing power supports this BIP, miners are asked to upgrade their software and put the string "/P2SH/" in the input of the coinbase transaction for blocks that they create.

Rightly or wrongly, that is the root cause.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
Costia
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile
January 26, 2012, 07:58:18 PM
 #115

No, the BIP makes it sound like a vote.

Quote
To judge whether or not more than 50% of hashing power supports this BIP, miners are asked to upgrade their software and put the string "/P2SH/" in the input of the coinbase transaction for blocks that they create.

Rightly or wrongly, that is the root cause.


supports here is "technically supports" as in "able to accept and process such transactions". not support like in politics

Edit: the concern was that most people wont update, because even now more than half of the clients are below version 0.5
Inaba
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
January 26, 2012, 08:00:31 PM
 #116

Quote
supports here is "technically supports" as in "able to accept and process such transactions". not support like in politics

I disagree... but we've already covered that in another thread.  If, in fact, it is to show technical support, then the BIP is wrong.  In either case, it is immaterial to this discussion. 

Quote
people started interpreting it as a vote when luke came up with BIP17

Is a false statement was my point.  People started interpreting it as a vote because of the BIP.  Perhaps the argument could be made that Luke increased awareness, and that I would agree with.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
[Tycho]
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
January 26, 2012, 08:01:29 PM
 #117

1) Scrap the deadline, put up instructions on how to four for BIP16, BIP17, or neither, in a simple to understand way (precompiled bitcoind exe's preconfigured for specific votes maybe?), and just let the voting continue. Eventually once more than 55% of the miners are voting for either BIP16 or BIP17, implement the winner. With enough time it will happen.
Doesn't works this way. "Voting" means that this mining system already supports given method, but it will be enabled only after specified date.
If you want to vote for one version, but in case of other one winning switch to the other, you need to implement BOTH with a some kind of switch. And this switch should never br triggered after the end of this voting. Adds complexity and poosibly error-prone.

Welcome to my bitcoin mining pool: https://deepbit.net - Both payment schemes (including PPS), instant payout, no invalid blocks !
ICBIT Trading platform : USD/BTC futures trading, Bitcoin difficulty futures (NEW!). Third year in bitcoin business.
LightRider
Legendary
*
Offline Offline

Activity: 1500
Merit: 1022


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW
January 26, 2012, 08:02:08 PM
 #118

There can't be a democracy if the vast majority of those with voting power are ignorant on what they're voting for.

I find it interesting that major changes were implemented to the client/protocol that helped pools before we started considering changes that would help the common bitcoin user. That is probably something that is endemic of our society. Helping the big interests in a society first makes it more difficult to implement changes for the betterment of all stakeholders.

Bitcoin combines money, the wrongest thing in the world, with software, the easiest thing in the world to get wrong.
Visit www.thevenusproject.com and www.theZeitgeistMovement.com.
[Tycho]
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
January 26, 2012, 08:02:44 PM
 #119

I would like to point that BIP17 has no chances of winning.
The question is WHEN bip16 will be over 55% and starts working.

Welcome to my bitcoin mining pool: https://deepbit.net - Both payment schemes (including PPS), instant payout, no invalid blocks !
ICBIT Trading platform : USD/BTC futures trading, Bitcoin difficulty futures (NEW!). Third year in bitcoin business.
Costia
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile
January 26, 2012, 08:05:36 PM
 #120

I would like to point that BIP17 has no chances of winning.
The question is WHEN bip16 will be over 55% and starts working.
well if you say so....
Thats already 40% of the hashing power.
What exactly are you waiting for before you enable the support in your pool?
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!