Bitcoin Forum
June 19, 2024, 11:44:06 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: « 1 [2] 3 »  All
  Print  
Author Topic: How to use Segwitaddress.ORG ?  (Read 615 times)
TheQuin
Hero Member
*****
Offline Offline

Activity: 2576
Merit: 882


Freebitco.in Support https://bit.ly/2I9BVS2


View Profile WWW
January 18, 2018, 02:37:12 PM
 #21

I've switched to using the btc.com explorer it will show balances and all the normal stuff for bech32 addresses.

https://btc.com/0daf4879f56234f39fbf9cf825e38458f75f4a22f5d2289d0dda9af78aa8df8f

That's an example of a recent tx of mine where I paid a fee of 0.00007910 on a virtual transactions size of 113 bytes. It adds up to a reasonable saving.

freebitcoin.TO WIN A  LAMBORGHINI!..

.
                                ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
                    ▄▄▄▄▄██████████████████████████████████▄▄▄▄
                    ▀██████████████████████████████████████████████▄▄▄
                    ▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
                    ▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
                      ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
                           ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
BenOnceAgain
Member
**
Offline Offline

Activity: 208
Merit: 84

🌐 www.btric.org 🌐


View Profile WWW
January 18, 2018, 05:29:49 PM
 #22

Friends,
I've seen that being non-user of SegWit, there are no such benefits or advantages that we can accrue.
So, I wish to learn how to switch to SegWit completely?

I became aware of Segwitaddress.org to create an address directly from there, but if I use that address, will I be able to sign messages through that address (as the address is being provided with the private key itself)?

I also used an option that asks for a "WIF Private Key" (I entered my Legacy address, i.e.; 19RidcN96xgXkWi8gDwxcmbjjdjfrxpxvv's privkey) there and got an address that could be used to receive funds. But what I don't get here is, where will I see those funds and where can I use them from?
I mean, if I use the same privkey in any wallet, it will still show 19RidcN96xgXkWi8gDwxcmbjjdjfrxpxvv as my address and not the one I get from segwitaddress.org, what should be done here? As well, should I keep me Legacy address' privkey even if I adopt SegWit completely?

DO NOT GIVE YOUR PRIVATE KEYS TO ANY WEBSITE!  THAT'S LIKE THE COMBINATION TO YOUR SAFE!

Dream it. Plan it. Build it.
Need help with your project? [MY WEBSITE] | [MY COMPANY] | [BLOG] | [TWITTER] | [LINKEDIN] | [EMAIL]
Want to help support the blockchain charity I'm building? [LEARN ABOUT BTRIC] | [DONATE] | [TWITTER] | [EMAIL]
Stedsm (OP)
Legendary
*
Offline Offline

Activity: 3052
Merit: 1273



View Profile
January 18, 2018, 05:48:41 PM
 #23

I've switched to using the btc.com explorer it will show balances and all the normal stuff for bech32 addresses.

https://btc.com/0daf4879f56234f39fbf9cf825e38458f75f4a22f5d2289d0dda9af78aa8df8f

That's an example of a recent tx of mine where I paid a fee of 0.00007910 on a virtual transactions size of 113 bytes. It adds up to a reasonable saving.


That's super cheap. Is it limited to certain transactions or it's for all types of transactions?
What's your average fee/byte for each transaction? I am currently paying more than 200 sats/byte. Sad


DO NOT GIVE YOUR PRIVATE KEYS TO ANY WEBSITE!  THAT'S LIKE THE COMBINATION TO YOUR SAFE!


Don't worry, will keep it to me as always. Did it all in a hurry, when our campaign manager told us about the advantages of using SegWit addresses over non-SegWit and was intending to make it mandatory in a few weeks. Not their fault, it was all mine. But I will always remember your advice, thanks. Smiley

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
DooMAD
Legendary
*
Offline Offline

Activity: 3822
Merit: 3160


Leave no FUD unchallenged


View Profile
January 18, 2018, 06:45:02 PM
 #24

Maybe better you answer this question here https://bitcointalk.org/index.php?topic=2679337.new#new

That would likely only muddy the waters further, as that's a thread about Lightning, while the confusion here lies with SegWit.  While people tend to refer to them in the same breath whilst talking about improvements, they are very separate things.
  

Not got a weeks to read and digest "BIPs 141, 143, and 144 " but do you have a Youtube link for this please
because the one I watched told a different story completely but is from 2016
https://www.youtube.com/watch?v=DzBAG2Jp4bg

Basically he says the block gets spread over blk.dat and a "Block Extension" file using Segwit but i would like
to get my facts right about this and understand why it's not just a case of changes on the nodes but also
code in the wallet.

Reading all the BIPs might be overkill, but on the other hand, I find the vast majority of clips about Bitcoin on YouTube completely unwatchable.   Anything by Andreas is usually a safe bet, but again, that particular link is an older video, so I don't know if there's a more recent one that's worth checking out.  The Segregated Witness wiki page might be worth a shot too.

The easiest way to demonstrate that SegWit has indeed been activated is to simply look at a list of the latest blocks being produced, whether it be XBT.eu or any other such site.  You can plainly observe that the vast majority of blocks being produced are over 1MB in size, something that would never have been possible prior to the activation of SegWit.

If anyone is still using software that doesn't support SegWit, that software won't see as plainly as you can that the blocks are larger than 1MB.  They'll still see that every block is less than 1MB because they simply ignore the data in (what should be correctly referred to as) the new "witness space" (which I assume is what they meant by "block extension").  In effect, some nodes will now read the same blocks differently to others, depending on whether they support SegWit or not.  When you send a Legacy transaction (i.e. not SegWit), all the data, including the signature data goes in the "base" 1MB space and every node can read that.  When you send a SegWit Transaction, the signature data gets to take advantage of the extra witness space, in order to fit more transactions in the base 1MB, but only SegWit-compatible nodes will recognise them.  This means we can effectively increase the blockweight in a backwards-compatible and entirely voluntary way.
cellard
Legendary
*
Offline Offline

Activity: 1372
Merit: 1252


View Profile
January 18, 2018, 06:51:36 PM
 #25

I've switched to using the btc.com explorer it will show balances and all the normal stuff for bech32 addresses.

https://btc.com/0daf4879f56234f39fbf9cf825e38458f75f4a22f5d2289d0dda9af78aa8df8f

That's an example of a recent tx of mine where I paid a fee of 0.00007910 on a virtual transactions size of 113 bytes. It adds up to a reasonable saving.


That's super cheap. Is it limited to certain transactions or it's for all types of transactions?
What's your average fee/byte for each transaction? I am currently paying more than 200 sats/byte. Sad


DO NOT GIVE YOUR PRIVATE KEYS TO ANY WEBSITE!  THAT'S LIKE THE COMBINATION TO YOUR SAFE!


Don't worry, will keep it to me as always. Did it all in a hurry, when our campaign manager told us about the advantages of using SegWit addresses over non-SegWit and was intending to make it mandatory in a few weeks. Not their fault, it was all mine. But I will always remember your advice, thanks. Smiley

Im new to segwit and my first transaction (well recieved) was from the current signature campaign, and I can confirm btc.com seems to be working fine at displaying bech32 trasactions, not sure if the ones that begin with 3 are as cheap as bech32, but Lauda's transaction was 220 Satoshis/vByte for a 22 outputs transaction. There is still one person that didn't switch to segwit. Im not sure how the fee would get calculated for a transaction that is sent to a mix of bech32, nested and legacy addresses:

https://btc.com/4063544c31e9258a2a7eb37090bbc81f090259abaabb3f4e3fe79b25e317db59

To get the the reduced fee all outputs must be segwit?
Xynerise
Sr. Member
****
Offline Offline

Activity: 322
Merit: 363

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
January 18, 2018, 09:52:21 PM
 #26

Quote
To get the the reduced fee all outputs must be segwit?
No.
The outputs (destination addresses don't matter) as long as you're sending FROM a Segwit wallet.
TheQuin
Hero Member
*****
Offline Offline

Activity: 2576
Merit: 882


Freebitco.in Support https://bit.ly/2I9BVS2


View Profile WWW
January 19, 2018, 08:18:04 AM
Last edit: January 19, 2018, 09:25:22 AM by TheQuin
 #27

That's super cheap. Is it limited to certain transactions or it's for all types of transactions?
What's your average fee/byte for each transaction? I am currently paying more than 200 sats/byte. Sad

That was just the optimum fee at the time of that transaction. I use https://bitcoinfees.earn.com/ and https://dedi.jochen-hoenicke.de/queue/more/#2h to determine what fee/byte to use. Ignore the recommended fee and look at the data to see which fee level is the lowest that is getting included each time a block is found. Right now bitcoinfees.earn.com recommends 460 sat/byte but I would use 120 sat/byte and it would be confirmed quite quickly.

The saving with using Segwit is not that you can use a lower fee/byte but rather in the way the size of the transaction is calculated. Using that same transaction as an example you can see the btc.com block explorer shows a 'rawtx' size of 194 bytes and a 'virtual size' of 112 bytes. The fee is calculated on the virtual size. The implementation of Segwit replaced the 1Mb block size limit with a 4000 weighted unit block size limit. All data in a transaction is weighted at 4 per byte except witness data which is weighted at 1 per byte. So when you use a Segwit transaction you are receiving a weighting discount on the input scripts. The more inputs to a transaction the more discount. The outputs have no effect.

Edit: Something interesting that demonstrates the point just happened on the blockchain. A block just went through with a size of 1,588,136 which is unusually large.
https://btc.com/00000000000000000033a9758f74dd1c027e96d5be10f2e68dbda63feb9c7a94

Looking at what was in the block there are a large number of transaction like this one, all with 300 Segwit inputs and all going to the same output address.

https://btc.com/1a1997b7a16c3ea2f1dc21b95a8f838efb1146ddab3b4140ae69d7957c69557e

The transaction has a 'rawtx' of 51,497 bytes but a virtual size of only 27,309 bytes giving a saving of 47% to whoever was sending these. Looks like it is HitBTC.

freebitcoin.TO WIN A  LAMBORGHINI!..

.
                                ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
                    ▄▄▄▄▄██████████████████████████████████▄▄▄▄
                    ▀██████████████████████████████████████████████▄▄▄
                    ▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
                    ▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
                      ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
                           ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Stedsm (OP)
Legendary
*
Offline Offline

Activity: 3052
Merit: 1273



View Profile
January 19, 2018, 12:13:52 PM
 #28

That was just the optimum fee at the time of that transaction. I use https://bitcoinfees.earn.com/ and https://dedi.jochen-hoenicke.de/queue/more/#2h to determine what fee/byte to use. Ignore the recommended fee and look at the data to see which fee level is the lowest that is getting included each time a block is found. Right now bitcoinfees.earn.com recommends 460 sat/byte but I would use 120 sat/byte and it would be confirmed quite quickly.

How is it even possible to check what fee/byte transactions are being taken in each block?
I only try to check that what fee level has the least transactions waiting to be confirmed, and send 10 - 15 sats/byte lesser than that amount (as it automatically increases after compression of the transaction). Still, sometimes need to wait longer as it's all mainly about luck nowadays.  Undecided


Quote
The saving with using Segwit is not that you can use a lower fee/byte but rather in the way the size of the transaction is calculated. Using that same transaction as an example you can see the btc.com block explorer shows a 'rawtx' size of 194 bytes and a 'virtual size' of 112 bytes. The fee is calculated on the virtual size. The implementation of Segwit replaced the 1Mb block size limit with a 4000 weighted unit block size limit. All data in a transaction is weighted at 4 per byte except witness data which is weighted at 1 per byte. So when you use a Segwit transaction you are receiving a weighting discount on the input scripts. The more inputs to a transaction the more discount. The outputs have no effect.

But how will I be able to put more inputs if I have everything stored on a single address?
Does it mean that I will be getting no such "discounts" that you mentioned below?


Quote
Edit: Something interesting that demonstrates the point just happened on the blockchain. A block just went through with a size of 1,588,136 which is unusually large.
https://btc.com/00000000000000000033a9758f74dd1c027e96d5be10f2e68dbda63feb9c7a94

Looking at what was in the block there are a large number of transaction like this one, all with 300 Segwit inputs and all going to the same output address.

https://btc.com/1a1997b7a16c3ea2f1dc21b95a8f838efb1146ddab3b4140ae69d7957c69557e

The transaction has a 'rawtx' of 51,497 bytes but a virtual size of only 27,309 bytes giving a saving of 47% to whoever was sending these. Looks like it is HitBTC.


By these examples, are you trying to say that by using SegWit, I will not be getting anything like reduction in fee/byte in real, but due to it being done through a SegWit address, it will reduce the size of the transaction (which is actually the core purpose if I'm not wrong) and give it a virtual size, and that fee/byte (whatever the amount will be), will be multiplied by virtual size rather than 'rawtx'?

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
TheQuin
Hero Member
*****
Offline Offline

Activity: 2576
Merit: 882


Freebitco.in Support https://bit.ly/2I9BVS2


View Profile WWW
January 19, 2018, 12:45:11 PM
 #29

How is it even possible to check what fee/byte transactions are being taken in each block?

If you watch the bitcoinfees.earn.com site you will see when a block is found the bars for unconfirmed reduce in size. There will be a point on the price scale where that doesn't happen for prices lower, so the lowest priced bar that decreased is the point which you are looking for. I find it easier to see on the dedi.jochen-hoenicke.de site as it is the colour band that gets bitten into on each block. You can put your mouse over the band to highlight the price.

So in this picture of right now:



The 120+ sat per byte band is regularly getting little bits taken out of it.

But how will I be able to put more inputs if I have everything stored on a single address?
Does it mean that I will be getting no such "discounts" that you mentioned below?

I'm not suggesting you can get more discount, I was just trying to explain how it works. It is the witness data for each input that is discounted. That's where the saving comes from. Using more inputs makes a larger (therefore more expensive) transaction. The penalty for using lots of inputs is much less using Segwit than it is on a legacy transaction.

Something you can use on Electrum is

View > Show Coins

and a new Coins tab appears. There you will see all your inputs listed. Electrum selects automatically which ones it will use in a transaction but here you have the advanced option to select that for yourself by using right click and spend.

By these examples, are you trying to say that by using SegWit, I will not be getting anything like reduction in fee/byte in real, but due to it being done through a SegWit address, it will reduce the size of the transaction (which is actually the core purpose if I'm not wrong) and give it a virtual size, and that fee/byte (whatever the amount will be), will be multiplied by virtual size rather than 'rawtx'?

Yes, that was what I was trying to say. I probably confused the issue by getting into too much technical detail.
There is also a bit of confusion caused by different block explorers and software using different terminology. Some will quote it in 'Weighted Units' rather than giving 'virtual size'. All it really means is the transactions are not really smaller but they are treated as being smaller both for fee calculation and for how much data is allowed in a block. So it is cheaper to use and increases the capacity of the network.

You should be seeing that normal transactions are 30% to 40% less bytes than they would be if you were not using Segwit.

Edit. Something else I just remembered. As you are new to Electrum go to Tools > Preferences then under Fees change Propose Replace-By-Fee to Always. Then you can always bump up the fee if you ever get a stuck transaction.



freebitcoin.TO WIN A  LAMBORGHINI!..

.
                                ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
                    ▄▄▄▄▄██████████████████████████████████▄▄▄▄
                    ▀██████████████████████████████████████████████▄▄▄
                    ▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
                    ▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
                      ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
                           ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Stedsm (OP)
Legendary
*
Offline Offline

Activity: 3052
Merit: 1273



View Profile
January 19, 2018, 02:16:26 PM
 #30

SNIP

So in this picture of right now:


Where can I get this picture? Link please.


Quote
The 120+ sat per byte band is regularly getting little bits taken out of it.

That's totally understandable, but then, there were few bands in the image with the exact same size.
However, as I always send 10 - 15 sats/byte less than the exact amount as needed here, how does it guarantee that it will come in that band only?


Quote
Something you can use on Electrum is

View > Show Coins

and a new Coins tab appears. There you will see all your inputs listed. Electrum selects automatically which ones it will use in a transaction but here you have the advanced option to select that for yourself by using right click and spend.

Still unclear about this. Let's take an example. I currently have nothing in that wallet, I will receive something this weekend in a fixed address (single bech32 adddress only). Does it still divide inputs to more than one even if I use a single address to send coins to just one or more than one addresses?


Quote
Edit. Something else I just remembered. As you are new to Electrum go to Tools > Preferences then under Fees change Propose Replace-By-Fee to Always. Then you can always bump up the fee if you ever get a stuck transaction.

What exactly happens when I bump it up? Does both the transaction fee sizes, i.e.; the normal fee and the virtual fee both change in sizes?
Can you explain about some % part, as based on what percentage a transaction's weight unit is decided? Where can I find more info about that?

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
TheQuin
Hero Member
*****
Offline Offline

Activity: 2576
Merit: 882


Freebitco.in Support https://bit.ly/2I9BVS2


View Profile WWW
January 19, 2018, 03:04:17 PM
 #31

Where can I get this picture? Link please.

That was from https://dedi.jochen-hoenicke.de/queue/more/#2h
It's the second graph down on the page, usually easiest to see on that one.

That's totally understandable, but then, there were few bands in the image with the exact same size.
However, as I always send 10 - 15 sats/byte less than the exact amount as needed here, how does it guarantee that it will come in that band only?

I'm not quite understanding your question here. Have a look at the site and watch what happens when a block is found and you should have a very good idea what a good fee level is at the moment. If not can you expand on this question a bit and I'll try and help.

Still unclear about this. Let's take an example. I currently have nothing in that wallet, I will receive something this weekend in a fixed address (single bech32 adddress only). Does it still divide inputs to more than one even if I use a single address to send coins to just one or more than one addresses?

When you receive that payment your wallet will have one input. Then if you haven't spent it the next time you get a payment you will then have 2 inputs and they will be listed separately on that tab. Think of it like cash, if someone gives you a 10 cent coin and then you get another and so on until you have 10, you do not have a dollar bill you have ten 10 cent coins. It doesn't matter if they are sent to the same address or a different address in the same wallet, every transaction you receive is a separate input.

What exactly happens when I bump it up? Does both the transaction fee sizes, i.e.; the normal fee and the virtual fee both change in sizes?

There is only one fee. If you preview a transaction on Electrum it will show you a size. This is actually the virtual size as that is all you need to know about and what the fee is calculated on.
If you bump up the fee you are simply replacing the transaction with another one with a higher fee. Normally a wallet will not let you do this but with the Propose Replace-By-Fee feature, you can.

Can you explain about some % part, as based on what percentage a transaction's weight unit is decided? Where can I find more info about that?

Not too sure what exactly you want to know but try this
https://en.bitcoin.it/wiki/Weight_units


freebitcoin.TO WIN A  LAMBORGHINI!..

.
                                ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
                    ▄▄▄▄▄██████████████████████████████████▄▄▄▄
                    ▀██████████████████████████████████████████████▄▄▄
                    ▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
                    ▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
                      ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
                           ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Stedsm (OP)
Legendary
*
Offline Offline

Activity: 3052
Merit: 1273



View Profile
January 19, 2018, 05:43:11 PM
Last edit: January 19, 2018, 06:13:57 PM by Stedsm
 #32

That's totally understandable, but then, there were few bands in the image with the exact same size.
However, as I always send 10 - 15 sats/byte less than the exact amount as needed here, how does it guarantee that it will come in that band only?

I'm not quite understanding your question here. Have a look at the site and watch what happens when a block is found and you should have a very good idea what a good fee level is at the moment. If not can you expand on this question a bit and I'll try and help.

Take an example.
I see at bitcoinfees.earn.com that a fee level of 120-130 sats/byte is sufficient to get my transaction confirmed in the next few blocks (a few minutes or hours) and decide to use that fee. But when I use a Legacy address to send anything, it shows something different as fee.
Like, it shows that it is charging 0.00036 satoshis (for a 300 bytes transaction). But, after sending, I see that the fee/byte gets changed to ~135 - 140 sats/byte (may be due to compression and change in transaction size). That's why I said that I send 10 - 15 sats/byte less than what's shown sufficient at that fees website. Coming back to the question, as we are still unclear about the compression part, can you tell me that how to know what will be the exact size of transaction (after sending it and compression takes place) before we do it? Sending these much sats/byte doesn't really guarantee that my transaction will carry a fee in between the band that's shown here: https://dedi.jochen-hoenicke.de/queue/more/#2h


Quote
Can you explain about some % part, as based on what percentage a transaction's weight unit is decided? Where can I find more info about that?

Not too sure what exactly you want to know but try this
https://en.bitcoin.it/wiki/Weight_units

I actually asked that on what basis is transaction's weight unit decided?
But thanks for that link, I saw that the transaction size (rawtx) basically gets divided by 4 in order to get weight units (virtual size). Smiley

EDIT:
While we are talking about weight units (virtual size of transactions), I would like to ask that once everything goes SegWit and it comes fully in use, are we going to pay fees only on weight units and not the actual normal fees that we are paying currently through legacy addresses?

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
TheQuin
Hero Member
*****
Offline Offline

Activity: 2576
Merit: 882


Freebitco.in Support https://bit.ly/2I9BVS2


View Profile WWW
January 20, 2018, 07:27:22 AM
 #33

Take an example.

Now I know why I didn't understand the question. That should not happen. In Electrum you can preview the transaction before sending it and it will show the precise fee, size and fee sat/byte. This will be accurate as to what is sent out on the network.


I actually asked that on what basis is transaction's weight unit decided?
But thanks for that link, I saw that the transaction size (rawtx) basically gets divided by 4 in order to get weight units (virtual size). Smiley

EDIT:
While we are talking about weight units (virtual size of transactions), I would like to ask that once everything goes SegWit and it comes fully in use, are we going to pay fees only on weight units and not the actual normal fees that we are paying currently through legacy addresses?

Since Segwit was activated on the network we are already all paying fees based on weighted units. A legacy transaction has every byte weighted at 4 as does a Segwit transaction with the exception of the witness data bytes which are weighted at 1.
Virtual size is simply an alternative way of displaying exactly the same thing but divided by 4 to make it look consistent with what we are used to.
Electrum's implementation is simply showing 'size' which is actually virtual size. The btc.com block explorer shows both the virtual size, the weight, and fee rate in BTC/kVb in a way that is consistent with Electrum. Some other block explorers have chosen to display it differently which can cause some confusion.


freebitcoin.TO WIN A  LAMBORGHINI!..

.
                                ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
                    ▄▄▄▄▄██████████████████████████████████▄▄▄▄
                    ▀██████████████████████████████████████████████▄▄▄
                    ▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
                    ▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
                      ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
                           ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Stedsm (OP)
Legendary
*
Offline Offline

Activity: 3052
Merit: 1273



View Profile
January 20, 2018, 11:24:23 AM
 #34

One major question here:
As it all started with me using my private key over that website thinking that I will be getting a SegWit address over my Legacy address, I would like to ask you that is there anything that could convert my Legacy Address to SegWit itself? I'm not going to use my current Legacy address any more, but just out of curiosity, is there anything like a SegWit address already related to our Legacy Address (based on its private key)? If there is something like this, how will I be able to use that SegWit address? Where will I be able to use it from?

Just to remind you:
I used the last option over segwitaddress.org that says:
"Details

Enter a WIF private key to generate its corresponding segwit address.

WIF Private Key:", I put my private key and clicked on "Show Detail".

After that, all it gave was an address starting with 3 and my private key as well as a QR Code.

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
Xynerise
Sr. Member
****
Offline Offline

Activity: 322
Merit: 363

39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD


View Profile
January 20, 2018, 12:31:23 PM
 #35

One major question here:
As it all started with me using my private key over that website thinking that I will be getting a SegWit address over my Legacy address, I would like to ask you that is there anything that could convert my Legacy Address to SegWit itself? I'm not going to use my current Legacy address any more, but just out of curiosity, is there anything like a SegWit address already related to our Legacy Address (based on its private key)? If there is something like this, how will I be able to use that SegWit address? Where will I be able to use it from?

Just to remind you:
I used the last option over segwitaddress.org that says:
"Details

Enter a WIF private key to generate its corresponding segwit address.

WIF Private Key:", I put my private key and clicked on "Show Detail".

After that, all it gave was an address starting with 3 and my private key as well as a QR Code.
Yes, you can.

With your WIF private key, convert it to a COMPRESSED public key (segwit only supports compressed public keys)

Hash the pub key with sha256

Then hash the result with RIPEMD160

Then encode it with base58 to get the P2SH-P2WPKH address

(You'll have to convert the values to hex before hashing, bitcoin works with hexadecimal values, not strings or characters)
Stedsm (OP)
Legendary
*
Offline Offline

Activity: 3052
Merit: 1273



View Profile
January 20, 2018, 02:23:02 PM
 #36

Yes, you can.

With your WIF private key, convert it to a COMPRESSED public key (segwit only supports compressed public keys)

Hash the pub key with sha256

Then hash the result with RIPEMD160

Then encode it with base58 to get the P2SH-P2WPKH address

(You'll have to convert the values to hex before hashing, bitcoin works with hexadecimal values, not strings or characters)

Can you please elaborate it? It's something I'm interested in learning, so not to commit such a mistake in future.
Can you determine which wallet/website should be used for each step?
As well, what I am interested in is that, can I use this "compressed" version, i.e.; the SegWit address that's connected to my Legacy address' private key? If yes, then how and from which wallet will I be able to receive funds over that SegWit address and use them to send?

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
TheQuin
Hero Member
*****
Offline Offline

Activity: 2576
Merit: 882


Freebitco.in Support https://bit.ly/2I9BVS2


View Profile WWW
January 21, 2018, 09:24:55 AM
 #37

Thanks to Xynerise for answering that, I would have had to look up how to do that.

Can you please elaborate it? It's something I'm interested in learning, so not to commit such a mistake in future.
Can you determine which wallet/website should be used for each step?

I'm not sure but I think you need a Core node to do this.

As well, what I am interested in is that, can I use this "compressed" version, i.e.; the SegWit address that's connected to my Legacy address' private key? If yes, then how and from which wallet will I be able to receive funds over that SegWit address and use them to send?

I don't understand why you would want to reuse an old private key. The P2SH-P2WPKH (3) Segwit addresses all have an underlying legacy (1) address but wouldn't using both addresses decrease security?

freebitcoin.TO WIN A  LAMBORGHINI!..

.
                                ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
                    ▄▄▄▄▄██████████████████████████████████▄▄▄▄
                    ▀██████████████████████████████████████████████▄▄▄
                    ▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
                    ▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
                      ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
                           ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Stedsm (OP)
Legendary
*
Offline Offline

Activity: 3052
Merit: 1273



View Profile
January 21, 2018, 02:43:02 PM
 #38

As well, what I am interested in is that, can I use this "compressed" version, i.e.; the SegWit address that's connected to my Legacy address' private key? If yes, then how and from which wallet will I be able to receive funds over that SegWit address and use them to send?

I don't understand why you would want to reuse an old private key. The P2SH-P2WPKH (3) Segwit addresses all have an underlying legacy (1) address but wouldn't using both addresses decrease security?

I'm not interested in using both the addresses but to use a SegWit address that's related to our current Legacy address!? Can it seriously decrease the security level? I didn't mean that I want to use Legacy addresses that lie under SegWit, but vice-versa.

Example:
As I used my Legacy address' private key over the site mentioned in OP, I got an address starting with 3 and website claims it to be a SegWit address. That's what I'm asking, that if I get a SegWit address using my Legacy privkey, how will I be able to use that SegWit address? Which wallet is compatible to do that?

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
TheQuin
Hero Member
*****
Offline Offline

Activity: 2576
Merit: 882


Freebitco.in Support https://bit.ly/2I9BVS2


View Profile WWW
January 21, 2018, 02:58:02 PM
 #39

I'm not interested in using both the addresses but to use a SegWit address that's related to our current Legacy address!? Can it seriously decrease the security level? I didn't mean that I want to use Legacy addresses that lie under SegWit, but vice-versa.

It is generally considered good practice not to reuse addresses. I know that is unavoidable for something like a signature campaign where you receive regular payment but when you send a transaction from an address then information about it is broadcast on the network. It is not a vulnerability, just being ultra safe, but that is why most wallets and services generate new addresses as soon as one is used.

Example:
As I used my Legacy address' private key over the site mentioned in OP, I got an address starting with 3 and website claims it to be a SegWit address. That's what I'm asking, that if I get a SegWit address using my Legacy privkey, how will I be able to use that SegWit address? Which wallet is compatible to do that?

You can do this with a Core node. First import the private key and then from the console command line:

addwitnessaddress addr

where addr is the existing P2SH address.

You need to use the version of Core that you download and compile to actually use the Segwit address on Core as the code is not yet included on the precompiled one (scheduled to be in the next release 0.16.0).

I still personally would rather use a totally fresh private key and address and not reuse one.

freebitcoin.TO WIN A  LAMBORGHINI!..

.
                                ▄▄▄▄▄▄▄▄▄▄███████████▄▄▄▄▄
                    ▄▄▄▄▄██████████████████████████████████▄▄▄▄
                    ▀██████████████████████████████████████████████▄▄▄
                    ▄▄████▄█████▄████████████████████████████▄█████▄████▄▄
                    ▀████████▀▀▀████████████████████████████████▀▀▀██████████▄
                      ▀▀▀████▄▄▄███████████████████████████████▄▄▄██████████
                           ▀█████▀  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀  ▀█████▀▀▀▀▀▀▀▀▀▀
                   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Stedsm (OP)
Legendary
*
Offline Offline

Activity: 3052
Merit: 1273



View Profile
January 23, 2018, 08:13:09 AM
 #40

Example:
As I used my Legacy address' private key over the site mentioned in OP, I got an address starting with 3 and website claims it to be a SegWit address. That's what I'm asking, that if I get a SegWit address using my Legacy privkey, how will I be able to use that SegWit address? Which wallet is compatible to do that?

You can do this with a Core node. First import the private key and then from the console command line:

addwitnessaddress addr

where addr is the existing P2SH address.

You need to use the version of Core that you download and compile to actually use the Segwit address on Core as the code is not yet included on the precompiled one (scheduled to be in the next release 0.16.0).

I still personally would rather use a totally fresh private key and address and not reuse one.


Can you please throw some light over that bold part? I'm unsure of the issues with the current version of core and whether I should wait for the newer release of core (i.e.; 0.16)
The reason why I'm interested in that is, when we have at least one thing fixed, we can use it to sign messages to prove that we possess it. I'm aware of the fact that it breaches the code of anonymity for which bitcoin was created, but isn't it true that when we try to send all the funds in our wallet, it shows all the addresses in the list of the transaction when they are sent to one or more addresses?

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
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!