Bitcoin Forum
May 21, 2024, 08:53:19 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: Gavin coding SPV mining into Classic  (Read 2635 times)
AliceWonderMiscreations
Full Member
***
Offline Offline

Activity: 182
Merit: 107


View Profile WWW
March 17, 2016, 11:21:20 PM
 #21

This is precisely why we need *viable* altcoins. They would bring balance of power.

Users like us would use the coins that are in our best interest and miners would mine those coins because they would be the only coins with a block reward worth mining.

I hereby reserve the right to sometimes be wrong
kano
Legendary
*
Offline Offline

Activity: 4508
Merit: 1815


Linux since 1997 RedHat 4


View Profile
March 17, 2016, 11:24:32 PM
 #22

Validating a block takes around 300ms on my pool.
My pool has the 2nd highest average block size.

The highest is solo.ckpool.org that also has this tiny time to validate blocks.

So anyone using some argument about why empty blocks are required clearly has no idea about the facts and about coding.

The pro empty block argument is FUD to cover crappy pool software and low quality coders.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
unamis76
Legendary
*
Offline Offline

Activity: 1512
Merit: 1009


View Profile
March 17, 2016, 11:25:23 PM
 #23

I don't think this is good at all... I guess we didn't learn much from the last time we forked after a little chaos in SPV mining and BIP66 activation.
franky1
Legendary
*
Offline Offline

Activity: 4228
Merit: 4490



View Profile
March 17, 2016, 11:47:43 PM
 #24

Validating a block takes around 300ms on my pool.
My pool has the 2nd highest average block size.

The highest is solo.ckpool.org that also has this tiny time to validate blocks.

So anyone using some argument about why empty blocks are required clearly has no idea about the facts and about coding.

The pro empty block argument is FUD to cover crappy pool software and low quality coders.

maybe worth you telling that to Lauda, to debunk his validation time doomsday scenario of larger blocks

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
HostFat
Staff
Legendary
*
Offline Offline

Activity: 4242
Merit: 1203


I support freedom of choice


View Profile WWW
March 17, 2016, 11:52:24 PM
 #25

I think that the problem for china pools/miners is related to "download blocks", and not validate them.

Head first mining (that it isn't SPV mining), will work great with this too:
https://github.com/bitcoinclassic/bitcoinclassic/pull/147

NON DO ASSISTENZA PRIVATA - http://hostfatmind.com
iCEBREAKER
Legendary
*
Offline Offline

Activity: 2156
Merit: 1072


Crypto is the separation of Power and State.


View Profile WWW
March 18, 2016, 12:39:12 AM
 #26

Jeez how much longer until Classic is finally confined to the garbage bin? How & why are some of the community still pushing this crap & backing Gavin?

Classic is a Trojan horse filled with allied Buttcoiners and CoinbaseCoiners.

The Buttcoiners failed to get Honey Badger's attention with their futile (albeit occasionally amusing) ass-clowning, so they're trying a new angle.

By pretending to be actual Bitcoiners, the media and other low-information institutions/individuals are more apt to take them seriously.

We can do the same thing back to them by feigning support for "Satoshi's Bitcoin" (a project that is not compatible with Classic's goals because it eventually changes the PoW).

Time to update the Classic #REKT thread with this latest hilarity from the Gavinista LOLcows!   Grin


██████████
█████████████████
██████████████████████
█████████████████████████
████████████████████████████
████
████████████████████████
█████
███████████████████████████
█████
███████████████████████████
██████
████████████████████████████
██████
████████████████████████████
██████
████████████████████████████
██████
███████████████████████████
██████
██████████████████████████
█████
███████████████████████████
█████████████
██████████████
████████████████████████████
█████████████████████████
██████████████████████
█████████████████
██████████

Monero
"The difference between bad and well-developed digital cash will determine
whether we have a dictatorship or a real democracy." 
David Chaum 1996
"Fungibility provides privacy as a side effect."  Adam Back 2014
Buy and sell XMR near you
P2P Exchange Network
Buy XMR with fiat
Is Dash a scam?
franky1
Legendary
*
Offline Offline

Activity: 4228
Merit: 4490



View Profile
March 18, 2016, 12:42:54 AM
 #27

I think that the problem for china pools/miners is related to "download blocks", and not validate them.

mining POOL servers do not need to be in the same physical location as the ASIC warehouse..

antpool for instance is in sanfransisco. while the warehouse of ASICS that just does the hashing element is in china, a short distance from the manufacturer. this avoids any delay in time for delivery and costs.

remember the pools processes the transactions/validates blocks. and the ASICS just hash away a small clump of data. the asics do not relay transactions (they are not nodes) they do not receive competitors blocks(syncing the chain). basically they have no hard drive and only have one job.. to hash.

so an asic behind the china firewall does not care, and the pool owner can have the pool server anywhere in the world, still connected to his asics in china

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
kano
Legendary
*
Offline Offline

Activity: 4508
Merit: 1815


Linux since 1997 RedHat 4


View Profile
March 18, 2016, 01:56:57 AM
 #28

I think that the problem for china pools/miners is related to "download blocks", and not validate them.
Everyone has to download blocks to mine ... unless they are SPV mining.

Quote
Head first mining (that it isn't SPV mining), will work great with this too:
https://github.com/bitcoinclassic/bitcoinclassic/pull/147
The term "Head first" has nothing to do with mining, unless you are SPV mining.

SPV mining means mining off the header without validating the transactions the header confirms.
You can't just use the header to mine unless you are SPV mining.

Thus the term "Head first mining" makes no sense at all since it is simply SPV mining -
and thus no need to create a new name to hide that fact.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
HostFat
Staff
Legendary
*
Offline Offline

Activity: 4242
Merit: 1203


I support freedom of choice


View Profile WWW
March 18, 2016, 02:13:24 AM
 #29

"SPV mining" was that the miner/pool was starting mining on the header without knowing if it was already validated.

Miners/pools were just guessing/hoping that it was right only because the interrogated pool was changing to a new header.

With "Head first mining" nodes spread validated header (because they validate the block after fully downloaded it)

NON DO ASSISTENZA PRIVATA - http://hostfatmind.com
exstasie
Legendary
*
Offline Offline

Activity: 1806
Merit: 1521


View Profile
March 18, 2016, 05:03:30 AM
 #30

"SPV mining" was that the miner/pool was starting mining on the header without knowing if it was already validated.

Miners/pools were just guessing/hoping that it was right only because the interrogated pool was changing to a new header.

With "Head first mining" nodes spread validated header (because they validate the block after fully downloaded it)

They are mining without validating blocks first. That's called SPV mining.

LOL..... you guys really trying to defend this bullshit? Gavin has gone off the deep end, and more and more people are realizing it. I'm all for improving on orphan risks. But not by jeopardizing user security. If it's not obvious to everyone why he is proposing this now then you aren't thinking hard enough. He's trying to buy off Chinese miners at the cost of our security.

Every action that Gavin takes further solidifies my choice to run a Core node and ignore miners that attempt to hard fork. Fork off, I don't give a shit anymore. Go ahead and break bitcoin's consensus. Scumbags like Gavin don't give a fuck about us, the users.

WestHarrison
Full Member
***
Offline Offline

Activity: 187
Merit: 100



View Profile
March 18, 2016, 05:50:07 AM
 #31

To be honest I was way more bearish last year about Bitcoin but seeing it successfully defend itself against the Gavinistas has given me hope.  The community sees through these attacks now, including spv mining is such an obviously bad idea that I hope some of the Gavinistas finally see the light.
-ck
Legendary
*
Offline Offline

Activity: 4116
Merit: 1635


Ruu \o/


View Profile WWW
March 18, 2016, 06:10:34 AM
 #32

Validating a block takes around 300ms on my pool.
My pool has the 2nd highest average block size.

The highest is solo.ckpool.org that also has this tiny time to validate blocks.
Minor correction. 300ms is the slowest block validation time. Some blocks are much faster to verify depending on how complex it is. Solo has different hardware and verifies in up to ~140ms by comparison.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Kakmakr
Legendary
*
Offline Offline

Activity: 3444
Merit: 1958

Leading Crypto Sports Betting & Casino Platform


View Profile
March 18, 2016, 06:28:35 AM
 #33

Well, did Gavin and Mike Hearn not try something similar with the XT implimentation? Sneaking in code to spy on people and blacklisting IP's was just one of the things they tried. This is one of the reason I am not supporting the Classic/Gavin fanboys. They hook you in the beginning by providing all the features people think they need and once they are in control, they will sneak in more things you do not want. A small tweak here and there. Do not give these guys the foot in the door, they will destroy Bitcoin.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
kano
Legendary
*
Offline Offline

Activity: 4508
Merit: 1815


Linux since 1997 RedHat 4


View Profile
March 18, 2016, 01:49:41 PM
 #34

"SPV mining" was that the miner/pool was starting mining on the header without knowing if it was already validated.

Miners/pools were just guessing/hoping that it was right only because the interrogated pool was changing to a new header.

With "Head first mining" nodes spread validated header (because they validate the block after fully downloaded it)
I guess you are trying to imply that someone else has validated the transactions.

Well, that makes no difference since someone somewhere along the way has to validate it, and unless you control what validates it, you are SPV mining.

If you control what validates it, well, you are still having to wait for it to be validated, so yeah there's no sense in implying there's a performance gain unless you really are SPV mining and not validating it somewhere.

What I proposed to the devs was to allow a trust relationship to pass SPV headers to other btcd - to fully validate the header, excluding the contents of the merkle tree, is only nanoseconds.
Since all btcd SHOULD be validating the transactions (and core does this) it means of course you still need to validate them, but you don't have to wait for everyone you are connected to, to validate them also, i.e. allowing to choose to remove the largest repeated work before forwarding the block.

This is called "Black Magic" by gmaxwell:
"In general our experience suggests that trust settings are black magic that cannot be configured correctly even by experts"
https://github.com/bitcoin/bitcoin/issues/7049

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
HostFat
Staff
Legendary
*
Offline Offline

Activity: 4242
Merit: 1203


I support freedom of choice


View Profile WWW
March 18, 2016, 02:37:54 PM
 #35

@exstasie @kano
Both header and POW are shared on the network (on head first mining), so the miner/pool can check if it's valid or not, in few ms.

In SPV mining the miner/pool only receive the header and NOT the POW.

There can be a situation where a miner/pool can create an invalid block (with invalid tx), but to make it, he will still need to make a valid POW.
It means that the miner/pool will have to pay the same costs to find an invalid block as finding a valid one.

And ... the invalid block will live only for 30 seconds at best.

The core rule of Bitcoin is more economic than technical, better financial results comes from working on the long interest of the network. (making invalid blocks is useless and uneconomic)

NON DO ASSISTENZA PRIVATA - http://hostfatmind.com
marky89
Hero Member
*****
Offline Offline

Activity: 756
Merit: 502

CryptoTalk.Org - Get Paid for every Post!


View Profile
March 18, 2016, 06:43:15 PM
 #36

@exstasie @kano
Both header and POW are shared on the network (on head first mining), so the miner/pool can check if it's valid or not, in few ms.

In SPV mining the miner/pool only receive the header and NOT the POW.

That may be your definition of SPV mining but the important fact about Gavin's code is that miners are not validating transactions.

There can be a situation where a miner/pool can create an invalid block (with invalid tx), but to make it, he will still need to make a valid POW.
It means that the miner/pool will have to pay the same costs to find an invalid block as finding a valid one.

And? Are you suggesting that the benefits of double spending will never outweigh the costs in that case? That seems very silly. Do you realize that after the next reward halving, the reward vs. risk for miners to double spend doubles? And that this is true of every halving? Security from dishonest miners becomes increasingly important as time goes on.

And ... the invalid block will live only for 30 seconds at best.

Read up thread. That's apparently not true and there is nothing the stock node software can do about it.

(making invalid blocks is useless and uneconomic)

On its face, no it's not. It depends how much an attacker will gain by doing so.

 
                                . ██████████.
                              .████████████████.
                           .██████████████████████.
                        -█████████████████████████████
                     .██████████████████████████████████.
                  -█████████████████████████████████████████
               -███████████████████████████████████████████████
           .-█████████████████████████████████████████████████████.
        .████████████████████████████████████████████████████████████
       .██████████████████████████████████████████████████████████████.
       .██████████████████████████████████████████████████████████████.
       ..████████████████████████████████████████████████████████████..
       .   .██████████████████████████████████████████████████████.
       .      .████████████████████████████████████████████████.

       .       .██████████████████████████████████████████████
       .    ██████████████████████████████████████████████████████
       .█████████████████████████████████████████████████████████████.
        .███████████████████████████████████████████████████████████
           .█████████████████████████████████████████████████████
              .████████████████████████████████████████████████
                   ████████████████████████████████████████
                      ██████████████████████████████████
                          ██████████████████████████
                             ████████████████████
                               ████████████████
                                   █████████
.CryptoTalk.org.|.MAKE POSTS AND EARN BTC!.🏆
AliceWonderMiscreations
Full Member
***
Offline Offline

Activity: 182
Merit: 107


View Profile WWW
March 18, 2016, 08:33:58 PM
 #37

Well, did Gavin and Mike Hearn not try something similar with the XT implimentation? Sneaking in code to spy on people and blacklisting IP's was just one of the things they tried. This is one of the reason I am not supporting the Classic/Gavin fanboys. They hook you in the beginning by providing all the features people think they need and once they are in control, they will sneak in more things you do not want. A small tweak here and there. Do not give these guys the foot in the door, they will destroy Bitcoin.

Gavin I believe is doing what he thinks is best for Bitcoin. I just think he is wrong.

Hearn I have no respect for whatsoever.

I hereby reserve the right to sometimes be wrong
YarkoL
Legendary
*
Offline Offline

Activity: 996
Merit: 1013


View Profile
March 18, 2016, 09:36:16 PM
 #38


It's not a problem.

“God does not play dice"
figmentofmyass
Legendary
*
Offline Offline

Activity: 1652
Merit: 1483



View Profile
March 18, 2016, 09:45:08 PM
 #39


nothing in this blog addresses the security concerns presented here. no mention of gains in mounting double spend attack vs cost to produce invalid blocks based on spv vulnerability. the 20 second window mentioned cannot be enforced at the node level, so anyone following non-validating miners is at risk of being on a bad chain. and not just for 20 seconds.

that blog is totally useless

trashman43 (OP)
Full Member
***
Offline Offline

Activity: 298
Merit: 100



View Profile
March 18, 2016, 11:00:27 PM
 #40

dont worry guys!

gavin says we dont need to plan against double spend attacks because it costs miners a whole block to attack someone! Roll Eyes

also, core supposedly has "zero clue what real-world security entails" -- coming from someone that says the whole network should assume that people are honest. thats the point of bitcoin right? to trust everyone else to be honest?

what a douchebag:



this kind of mindset will be the end of bitcoin. security first, always. if people blindly follow gavin's best-case scenario planning, all hes gonna say when shit hits the fan is "oops! bitcoin is an experiment after all!"

Pages: « 1 [2] 3 »  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!