Bitcoin Forum
April 27, 2024, 01:54:30 AM *
News: Latest Bitcoin Core release: 27.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 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 »
  Print  
Author Topic: Post your SegWit questions here - open discussion - big week for Bitcoin!  (Read 84728 times)
IamNotAnonymous
Newbie
*
Offline Offline

Activity: 56
Merit: 0


View Profile
February 06, 2017, 10:20:05 PM
 #241

Hi
I have a wallet software ( https://github.com/limpbrains/django-cc ) built on top of the bitcoind. It allows you to create multiply wallets and handle their balances separately.
It uses api calls, such as gettransaction, sendmany, getblockhash, listsinceblock and some other.
Will output of api change ?
How do you think, will segwit break something for me, or not ?

You do need a further research to understand how the api change ? It depend on the usefulness.
1714182870
Hero Member
*
Offline Offline

Posts: 1714182870

View Profile Personal Message (Offline)

Ignore
1714182870
Reply with quote  #2

1714182870
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
squatz1
Legendary
*
Offline Offline

Activity: 1666
Merit: 1285


Flying Hellfish is a Commie


View Profile
February 06, 2017, 11:57:41 PM
 #242

Anyone have a site in which we can see the amount of miners / people that have moved to helping to activate Segwit? It'd be nice to actually see this in some graph form.

Hoping for the activation of Segwit though.




▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄                  ▄▄▄   ▄▄▄▄▄        ▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄▄    ▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄
 ▀████████████████▄  ████                 █████   ▀████▄    ▄████▀  ▄██████████████   ████████████▀  ▄█████████████▀  ▄█████████████▄
              ▀████  ████               ▄███▀███▄   ▀████▄▄████▀               ████   ████                ████                   ▀████
   ▄▄▄▄▄▄▄▄▄▄▄█████  ████              ████   ████    ▀██████▀      ██████████████▄   ████████████▀       ████       ▄▄▄▄▄▄▄▄▄▄▄▄████▀
   ██████████████▀   ████            ▄███▀     ▀███▄    ████        ████        ████  ████                ████       ██████████████▀
   ████              ████████████▀  ████   ██████████   ████        ████████████████  █████████████▀      ████       ████      ▀████▄
   ▀▀▀▀              ▀▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀        ▀▀▀▀       ▀▀▀▀        ▀▀▀▀▀

#1 CRYPTO CASINO & SPORTSBOOK
  WELCOME
BONUS
.INSTANT & FAST.
.TRANSACTION.....
.PROVABLY FAIR.
......& SECURE......
.24/7 CUSTOMER.
............SUPPORT.
BTC      |      ETH      |      LTC      |      XRP      |      XMR      |      BNB      |     more
BurtW
Legendary
*
Offline Offline

Activity: 2646
Merit: 1130

All paid signature campaigns should be banned.


View Profile WWW
February 06, 2017, 11:59:28 PM
 #243

Anyone have a site in which we can see the amount of miners / people that have moved to helping to activate Segwit? It'd be nice to actually see this in some graph form.

Hoping for the activation of Segwit though.
Is this what you are looking for:

http://nodecounter.com/#bitcoin_classic_blocks

Our family was terrorized by Homeland Security.  Read all about it here:  http://www.jmwagner.com/ and http://www.burtw.com/  Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
February 07, 2017, 12:11:38 AM
 #244

Anyone have a site in which we can see the amount of miners / people that have moved to helping to activate Segwit? It'd be nice to actually see this in some graph form.

Hoping for the activation of Segwit though.
This may be helpful: https://bitcoincore.org/en/segwit_adoption/

Anon TumbleBit
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
February 07, 2017, 02:13:13 AM
 #245

I assume that SegWit is so perfect, but why most miners refuse to use it? It is 3 months after SegWit released, but only 20% miners agree to switch in SegWit mode, what is wrong? What do they think?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
February 07, 2017, 02:27:58 AM
 #246

I assume that SegWit is so perfect,
That's a bad assumption to make. No software is perfect, no solution to scaling will be perfect.

but why most miners refuse to use it? It is 3 months after SegWit released, but only 20% miners agree to switch in SegWit mode, what is wrong? What do they think?
A lot of the problems seem to stem from miscommunication and lack of communication between developers and miners. It seems that some miners have taken a grudge against the developers (all of them in general) for not consulting them when devising scaling solutions.

HostFat
Staff
Legendary
*
Offline Offline

Activity: 4214
Merit: 1203


I support freedom of choice


View Profile WWW
February 07, 2017, 02:54:15 AM
 #247

I assume that SegWit is so perfect, but why most miners refuse to use it? It is 3 months after SegWit released, but only 20% miners agree to switch in SegWit mode, what is wrong? What do they think?
Miners agree on enabling segwit and mostly malleability fix IF the Core client also remove the the current block size limit.
They aren't enabling it because segwit leaves the block size limit in the hand of the devs of Core, and miners don't trust them and their promises anymore.

So, the Bitcoin Unlimited team is trying to give miners what they've requested. (and also segwit fixes)

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

Activity: 966
Merit: 1003



View Profile
February 07, 2017, 02:58:08 AM
 #248

Or maybe its because the developers keep trying to find ways to not share any additional revenue with the miners while increasing the data storage the pools will need and pitting conventional pools against SPV-(EMPTY BLOCK)-miners in china for conformations/propagation time.
Fatman3001
Legendary
*
Offline Offline

Activity: 1526
Merit: 1013


Make Bitcoin glow with ENIAC


View Profile
February 07, 2017, 02:10:57 PM
 #249

but why most miners refuse to use it? It is 3 months after SegWit released, but only 20% miners agree to switch in SegWit mode, what is wrong? What do they think?
A lot of the problems seem to stem from miscommunication and lack of communication between developers and miners. It seems that some miners have taken a grudge against the developers (all of them in general) for not consulting them when devising scaling solutions.

I really appreciate this acknowledgement of the problem. I would still love to hear what, if anything, is being done to remedy the situation.





Also, as I see segwit as a stepping stone towards a solid second layer solution, and part of the resistance in the community against segwit is due to this fact, could someone please give me an insight into the changes in incentives we'll see with such a solution?

I gather that tx's and fees will flow differently. Is there a clear view on how things like decentralization and fee structure will change?

Also, are there some less known positives with such a solution?

"I predict the Internet will soon go spectacularly supernova and in 1996 catastrophically collapse." - Robert Metcalfe, 1995
hannusolo
Sr. Member
****
Offline Offline

Activity: 434
Merit: 257


View Profile
February 07, 2017, 07:56:41 PM
 #250

So the problem of the miners is that segwit won't change the block size, or at least the right to change will remain at the devs. But segwit helps by reducing the size of transactions so more transaction can be included in a block. Right?

Shouldn't it be easier to just vote for segwit to enhance the development of BTC and than later argue about block size?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
February 07, 2017, 08:19:28 PM
 #251

So the problem of the miners is that segwit won't change the block size, or at least the right to change will remain at the devs. But segwit helps by reducing the size of transactions so more transaction can be included in a block. Right?
No. Segwit actually redefines the block size as block weight and this will increase the block size. The actual size of the block data that your node downloads will be larger. In terms of the current transaction and block definitions, then yes, it reduces the size of the transaction and thus more transactions can fit in a block.

-ck
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
February 07, 2017, 08:26:24 PM
Last edit: February 07, 2017, 10:03:22 PM by -ck
 #252

These three posts combined subtly actually have all the issues as to why miners haven't started signalling support and give the best summary for why we're currently in a stalemate.

A lot of the problems seem to stem from miscommunication and lack of communication between developers and miners. It seems that some miners have taken a grudge against the developers (all of them in general) for not consulting them when devising scaling solutions.
Not quite true, they have been consulted at various times, and ran their own meetings, and most of the time were unconvinced about segwit and kept pushing for bigger blocks.

Miners agree on enabling segwit and mostly malleability fix IF the Core client also remove the the current block size limit.
They aren't enabling it because segwit leaves the block size limit in the hand of the devs of Core, and miners don't trust them and their promises anymore.

While some pools were willing to accept segwit straight up, this was the compromise position a lot more of them adopted - they would be willing to adopt segwit if the promise of bigger blocks was still kept. The fact that there is actually no firm bigger block hard fork on the definite roadmap is why the miners are still sitting on segwit adoption.

As for what the miners objection to segwit is...

Or maybe its because the developers keep trying to find ways to not share any additional revenue with the miners while increasing the data storage the pools will need and pitting conventional pools against SPV-(EMPTY BLOCK)-miners in china for conformations/propagation time.

Not many people have explicitly said out loud what the miners' real objection is and basically the fact is that transaction volume can increase without a proportionate increase in reward for miners. They've invested hundreds of millions of dollars in hardware to secure the system for us on the basis of relatively predictable rewards as compensation and segwit has the potential to dilute this - lightning network will amplify this issue and segwit makes LN easier. The actual magnitude of loss of reward is greatly exaggerated by many, and adding conspiracy theories of redirecting rewards to blockstream are not helping the situation. Additionally, doubling the block size doesn't mean double the transaction fees since there is less competition for fees with more space available.

Segwit IS a technological advancement, but make no mistake, any arguments about complexity being the issue versus the "simplicity" of just increasing the blocksize are a red herring and diverting attention away for why the miners are reluctant to move forwards with it. I've voted for it, but my pool is less than 0.1% of the network, and I believe the network needs a multi-pronged approach to increasing bitcoin's ability to process more transactions, and that transaction volume will more than offset any theoretical loss of reward from segwit. However that's not what the large pools believe. Campaigning by vocal but powerful mining pools is largely preventing them getting on board.

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

Activity: 434
Merit: 257


View Profile
February 07, 2017, 08:44:46 PM
 #253

So the problem of the miners is that segwit won't change the block size, or at least the right to change will remain at the devs. But segwit helps by reducing the size of transactions so more transaction can be included in a block. Right?
No. Segwit actually redefines the block size as block weight and this will increase the block size. The actual size of the block data that your node downloads will be larger. In terms of the current transaction and block definitions, then yes, it reduces the size of the transaction and thus more transactions can fit in a block.

Thanks. Now I get it Smiley
classicsucks
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


View Profile
February 09, 2017, 05:55:11 AM
 #254

Segwit IS a technological advancement, but make no mistake, any arguments about complexity being the issue versus the "simplicity" of just increasing the blocksize are a red herring and diverting attention away for why the miners are reluctant to move forwards with it.

I'm sure that you are a solid developer since you run a mining pool. Are you 100% confident that changing 4743 lines of code deep in the Bitcoin codebase won't have any issues?  And what about wallet and 3rd party software? When you add it all up, we're looking at tens of thousands of lines of code changes, which guarantees roughly 150-500 bugs (industry average) in all of this software, of which 2-5 are potentially catastrophic...

A hard fork to 2MB would involve one line of code change and some late-night sweating and swearing for a week  Lips sealed
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
February 09, 2017, 06:42:26 AM
 #255

A hard fork to 2MB would involve one line of code change and
some late-night sweating and swearing for a week  Lips sealed
... aaaaand a requirment for several millions users to accept new consensus rules and install new software.

Why should I accept your new consensus rules? Why do you think that you are smart and I should obey?
Quickseller
Copper Member
Legendary
*
Offline Offline

Activity: 2870
Merit: 2298


View Profile
February 09, 2017, 07:04:19 AM
 #256

A hard fork to 2MB would involve one line of code change and
some late-night sweating and swearing for a week  Lips sealed
... aaaaand a requirment for several millions users to accept new consensus rules and install new software.

Why should I accept your new consensus rules? Why do you think that you are smart and I should obey?
What you (amaclin) wants, and/or will accept really does not matter, you are just a single user who conducts (from what I can tell) very little business when compared to all of the bitcoin related business conducted.

From what I can tell, there are many large bitcoin related businesses that conduct very large amounts of bitcoin related business, and give bitcoin it's value that support a larger maximum block size. The same appears to be true for a large portion of bitcoin users, who also collectively conduct large amounts of bitcoin related business.

There is also a decently sized minority of Bitcoin miners, who provide security to Bitcoin who are very actively supporting a maximum block size increase -- I suspect this minority will increase over time and eventually become a large majority.

OTOH, a minority of miners are actively supporting SegWit (that is a large enough of a change so that it would probably be a bad idea not to upgrade if implemented, making it not unlike a HF). There are many Bitcoin related businesses who are ready for SegWit, but are not necessarily actively supporting SegWit. I have also seen one or two bitcoin related businesses whose political views make me believe that they are opposed to SegWit have had their name massively slandered on what I consider to be SegWit-friendly media sources, for them to subsequently support SegWit and have their name cease being slandered on said media sources -- well I will just leave it at that.
-ck
Legendary
*
Offline Offline

Activity: 4088
Merit: 1631


Ruu \o/


View Profile WWW
February 09, 2017, 07:32:39 AM
 #257

Segwit IS a technological advancement, but make no mistake, any arguments about complexity being the issue versus the "simplicity" of just increasing the blocksize are a red herring and diverting attention away for why the miners are reluctant to move forwards with it.

I'm sure that you are a solid developer since you run a mining pool. Are you 100% confident that changing 4743 lines of code deep in the Bitcoin codebase won't have any issues?  And what about wallet and 3rd party software? When you add it all up, we're looking at tens of thousands of lines of code changes, which guarantees roughly 150-500 bugs (industry average) in all of this software, of which 2-5 are potentially catastrophic...

A hard fork to 2MB would involve one line of code change and some late-night sweating and swearing for a week  Lips sealed
No I can't be 100% confident by myself, but luckily we have far more developers who have been doing almost a year of actual hard testing on testnet validating its stability.

On the other hand you're also grossly exaggerating the simplicity of a hard fork by not describing the work required to make that one line of change work (it's also more than one line but that's irrelevant.)

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

Activity: 261
Merit: 257



View Profile
February 09, 2017, 08:38:16 AM
 #258

I'm sure that you are a solid developer since you run a mining pool. Are you 100% confident that changing 4743 lines of code deep in the Bitcoin codebase won't have any issues?  And what about wallet and 3rd party software? When you add it all up, we're looking at tens of thousands of lines of code changes, which guarantees roughly 150-500 bugs (industry average) in all of this software, of which 2-5 are potentially catastrophic...

A hard fork to 2MB would involve one line of code change and some late-night sweating and swearing for a week  Lips sealed
Bitcoin Core does not follow normal industry standards in regards to defect rates, this is due to a huge emphasis on code review and testing by domain experts in cryptography and secure programming(a large amount of code written for SegWit is testing code), and when it comes to consensus critical code like SegWit extra care is taken during testing to prevent defects beyond what is typically done in areas of the codebase that aren't consensus critical. SegWit in Bitcoin Core is some of the most thoroughly tested code in the Bitcoin industry and is unlikely to have any bugs that would cause serious issues.

When it comes to support for wallets most rely on well reviewed 3rd party libraries that are ready to support SegWit. For some wallets like hardware wallets SegWit helps a lot since it fixes issues with the transaction format.

Interestingly enough a lot of the code that was written for SegWit would also have needed to be written in the event of a hard fork, for example the preferential peering code written for SegWit would also be needed for any hard fork. Due to the difficulty in activation coordination and other issues such as the sigop/sighash scaling issue there's no such thing as a simple 2MB hard fork.

Mining Software Developer.
amaclin
Legendary
*
Offline Offline

Activity: 1260
Merit: 1019


View Profile
February 09, 2017, 08:40:38 AM
 #259

there are many large bitcoin related businesses that conduct very large amounts of bitcoin related business
count hashrate, not amounts, not noses
Seal
Donator
Hero Member
*
Offline Offline

Activity: 848
Merit: 1078


View Profile WWW
February 09, 2017, 08:33:27 PM
 #260

I have a technical question on how SegWit works:

With current transactions, the number of confirmations acts as a guarantee of the Bitcoins deposited. Many services require between 3-6 confirmations to show that funds have been deposited.

With SegWit, does this logic still remain?

I may be confused with what SegWit and Lightning does. I've heard some mention that it can give an instantaneous guarantee of fund transfer, however I don't see how this would work without confirmations of the original transaction...

DefiDive - Filter the noise
A clean crypto asset management terminal
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 [13] 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 »
  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!