Bitcoin Forum
April 30, 2024, 07:53:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 [86] 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 ... 461 »
1701  Bitcoin / Bitcoin Technical Support / Re: Mining against bitcoind stratum issues on: March 28, 2021, 11:28:23 PM
Thanks.  My linux bitcoind server is almost done syncing, will look into 0.19.1 when it finishes.  My question though would be how do mining pools do this?
Most of them probably don't rely completely on Bitcoin Core and builds the block using their own implementation. Most mining pool don't use GBT but stratum instead.

Unless you're able to see how the pool functions, you probably won't know if the problem exists for them and what their remedy is. Since the error exists due to the fact that they expect the coinbase flags, they can just add it at the end before feeding it to the miners.
1702  Bitcoin / Hardware wallets / Re: If Trezor's servers go down, what would happen to wallets w/ 25th password? on: March 28, 2021, 10:17:15 PM
Most of them will work without.

Many of the HW wallet, or wallets in general uses BIP39 to generate their seed phrase. The method for them to generate the seed passphrase is completely transparent and it is not difficult to obtain the private keys from that directly. Even if they use a different standard like Electrum, you'll probably be able to figure out how it's done by looking at the codes, the extract the private keys yourself.
1703  Bitcoin / Bitcoin Technical Support / Re: Mining against bitcoind stratum issues on: March 28, 2021, 04:13:06 PM
Thanks for the information.  I read through that link but cannot figure out if this is a bug or intentional?
Intentional, the mining client should modify their client to remove the flags as it isn't in use anyways. I think neither BFGminer nor CGminers are in active development anymore?
Do you know if 0.19.1 can be successfully dropped into an existing .bitcoin profile as to not have to download the whole blockchain again?
There isn't any (only the peers.dat will be discarded, if I'm not wrong) compatibility issues, if that is what you mean.
1704  Bitcoin / Bitcoin Technical Support / Re: Mining against bitcoind stratum issues on: March 28, 2021, 02:50:52 PM
Just a little insight: I was interested in using my spare unused 2Pacs for some solomining. It was working with 0.19.1 but it broke after updating to 0.20.0 and I was looking at the code and figured out that this pull request was causing the problem[1]. If you want to mine with 0.21.0/0.20.X instead, then you'll probably have to either modify your mining client somehow to ignore that missing part in the scriptsig and compile it.

SoloMining with 0.19.1 is perfectly fine, if you don't want to complicate things.


[1] https://github.com/bitcoin/bitcoin/pull/17519
1705  Bitcoin / Bitcoin Discussion / Re: P2TR can make people that are using multisig wallets to increase on: March 28, 2021, 11:50:19 AM
I do not know much about taproot, but there is a transaction vsize calculator I have seen some months ago that included taproot transactions, according to the calculation I made by using it, P2WSH (segwit) transactions are still slightly lower to that of P2TR (taproot), this makes me think that because if this, segwit transactions will still be lower, but P2TR transactions will be best for multisig transactions because using Schnorr signature, multisig transactions will be indistinguishable from a wallet using one private key. But, as for P2PKH (legacy) and PSH (nested segwit) transactions, the vsizes are higher if compared to P2TR using the calculator.
Shouldn't you be comparing P2WPKH to P2TR instead? Eitherways, both of them are showing that TR has a lower raw size for me (99vbytes vs 109vbytes). Taproot is specifically designed for signature aggregation which is largely beneficial for P2WSH, 166.25 vbytes for TR vs 357.75 vbytes for P2WSH. If Musig is your main focus, you'll reap more benefits by using TR by the lower size as well as better privacy.

The calculator is also open source.
What has this got to do with your post? Should be fairly easy to breakdown the components to get the total size anyways.

1706  Bitcoin / Wallet software / Re: Which wallets offer the lowest transaction fees to send BTC ? on: March 28, 2021, 11:33:25 AM
If you could give a range where the fee falls within , between x and y ....
As we have mentioned in the thread, the fees is dictated by the user with most wallets and the fees that you're paying acts as an incentive for miners to mine your transaction over the others (transactions with higher fee rates are usually prioritized by the miners.

You are free to pay as much or as little as you want (>1 satoshi/vbyte) which can be configured for most wallet. Typically, the fees can fall within 7 satoshis/vbyte to 150 satoshis/vbyte for a reasonable time for it to be included in a block throughout the week. The general trend is that the fees are lower during the weekends. You are better off trying to optimize your spending habits by consolidating inputs and using segwit to reduce the fees as opposed to trying to find a better wallet. Wallet that offers the same address type (segwit/legacy) has no difference if you're paying the same fee rate.
1707  Bitcoin / Bitcoin Discussion / Re: P2TR can make people that are using multisig wallets to increase on: March 28, 2021, 09:31:23 AM
This is an advantage only if your design demands it. For example a company that has to have multiple signers with equal control, a 2of3 escrow,... otherwise the complication it adds is a disadvantage for normal usages not to mention that multi-sig transactions are bigger in size (Schnorr solves this but the complication remains).
Does Taproot reduce overall transaction size for non musig? I did remember that TR TXes are smaller than Segwit TXes by about 20bytes 10 bytes or so for a 1 input -> 1 output.

Do not comment on what you do not know, soft fork upgrade like segwit and taproot will first be implemented on bitcoin core, the implementation will be immediately after bitcoin community all support the activation. Like for taproot, the next stage they are is speedy trial in which miners will signal for support during certain short period of time, while if most miners signal for activation, the activation will then occur like three months time after the speedy trial.
Segwit was activated in 2017. Does Blockchain.com implement Segwit?

It is naive to think that just because Bitcoin Core implements something, then the rest of the community will follow suit. Soft fork makes it such that it doesn't have to be a mandatory upgrade and furthermore, there isn't any practical reason why wallets have to support Taproot. It does seems like you have a few misconceptions though.


Also, the maximum number of cosigners on electrum is 5, and also the maximum number of private key that can be set is 5, not 15.
It is 15.
1708  Bitcoin / Hardware wallets / Re: Sending Bigger Amounts of BTC on: March 28, 2021, 09:24:26 AM
Are people sending bigger amounts of btc now... almost always sending the recommended fee now?  Imagine someone sending like 0.05 or something huge like lbtc to coinbase or to someone. 
There is no such thing as recommended fee. The median fees are probably higher if the person wants it to be confirmed within a set period of time. I'd imagine transactions sending 0.05BTC is not rare at all.


I can't imagine someone paying the least amount of fees right to send it?    Like wouldn't most of you feel a bit nervous if you send a big amount of btc with a low fee?  How long does a transaction take now if you send using the nano ledger s now and paying the minimum amount in fees?  Would the transaction get stuck?  I recalled years ago I sent btc with electrum and paid the lowest fees and it took like a day or so until i went to that viabtc accelerator site to make it go faster.
If you're using the wallet's built in fees estimation, it is probably fairly conservative and does the job most of the time. Opt-in RBF will solve the problem and that is why it is a recommendation to have it enabled. If your fees are too low, it is easy to just replace it.

I got to wonder how much fees people are playing when they are sending like 5k or l0k worth of btc or more.  Would most use the average fee or pay a lot to make transaction go faster?
I'm not sure about the point of this question. Your choices of fees will only depend on your priority; do you want it to be confirmed ASAP or are you fine with waiting for a few more hours or days for it to confirm? I personally have pretty large transactions in terms of the total value with lower fees as they're mostly just consolidation and I don't actively spend it anyways. Just RBF it if you need it to be confirmed.
Has there been transactions stuck where it just go stuck though?
No transactions would get "stuck" forever.
1709  Bitcoin / Bitcoin Discussion / Re: P2TR can make people that are using multisig wallets to increase on: March 28, 2021, 12:14:58 AM
A little misconception, Multisig Wallets contains addresses that has a predefined N set of keys for which at least M of the keys must sign any transaction for them to be valid. A single wallet should not generate all of the keys.

MuSig is great if you're looking for a kind of contract that requires M parties to agree to a transaction out of N total parties. In terms of it's security, I would argue that using an airgapped wallet is enough. Having to transfer your raw TX through many devices only serves to complicate the matter somewhat. Definitely won't be sufficient for physical attacks, ie $5 wrench attack.

The signature aggregation will enhance the privacy as well.
1710  Bitcoin / Wallet software / Re: Which wallets offer the lowest transaction fees to send BTC ? on: March 27, 2021, 11:48:45 AM
Online wallets are generally not great if you're looking to minimize transaction fees, some of them don't implement segwit and some of the have poor fees estimation as well. Custodial wallets often charges their users more fees than necessary when sending Bitcoins. That is not the only reason why you shouldn't use them.

Transaction fees are not dependent on the wallet that you're using though it can be. Wherever possible, use Segwit (bc1) addresses to have the lowest fees or nested segwit if you want backwards compatibility. Electrum and Bitcoin Core both have decent fees estimation and features but you can also refer to mempool.space as a reference to adjust your fees as well.
1711  Bitcoin / Bitcoin Discussion / Re: Bitcoin scarsity, the reason it's worth hodling bitcoin on: March 27, 2021, 11:41:02 AM
Scarcity is a concept that exist with most things on earth, there really just isn't anything that is unlimited in nature. Gold and other precious metal are the common form of assets that is scarce, are they as valuable as Bitcoin? The only reason why Bitcoin is popular is because of the unique characteristic that it has, transparent, secure, decentralized, etc.

The reason why Bitcoin's price keeps on growing is due to the increasing adoption and the speculation around the currency. Having a limited supply is desirable but it is hardly the reason why Bitcoin's price keeps on rising. A deflationary currency is of no use if there is no demand.
1712  Bitcoin / Bitcoin Technical Support / Re: Syncing Bitcoin core on: March 27, 2021, 04:48:17 AM
This isn't supposed to happen because the Qt window is supposed to be in a separate thread from the transaction verification thread, and there's only one verification thread only, unless the UI is sleep-waiting on the verification thread to finish (??) in which case it makes sense because the verification thread is constantly waiting on disk I/O.
It happens: https://bitcointalk.org/index.php?topic=5315273.msg56287394#msg56287394.

Your CPU usage while Bitcoin Core is freezing is fairly low, right? The other way it would make sense that it's freezing is when you're low on memory and Core "thrashes" the disk with more dbcache that it has to move between disk and RAM.
I have limited my dbcache to 100MB before and it didn't help one bit. There is literally no way for the UI to be freezing due to resource constraints on my computer. Free ram usually hovers around 7GB or so and my NVMe isn't a bottleneck at all.
1713  Bitcoin / Bitcoin Technical Support / Re: Syncing Bitcoin core on: March 27, 2021, 03:11:21 AM
Blocks were generated in those 24 hours for which the client has to synchronize to catch up. From my experience, the synchronization when there are lesser blocks to catch up is much slower. It can be misleading as it often freezes the UI while synchronizing. It should be fine as long as you are able to wait for a bit.

My fairly powerful computer freezes as it starts to synchronize and only displays the initial rate which is usually fairly low (0.05%).
1714  Bitcoin / Bitcoin Discussion / Re: Will miners include their own transactions with high fees in their blocks on: March 26, 2021, 06:50:38 PM
So an investment house that owns a mining operation can maintain his own mempool, and give transactions in that priority when he finds a block. He could then top up his block with transactions from the main mempool to gain a bit of extra income.
Some mining pools actually pays out their miners when they mine a block and mine that transaction with no fees at all.

Yes, completely possible. Whether that will resonate well with the user is an entirely different story. Unless you're able to convince your users that even though they're paying for their transaction with a fee, they have to wait for hours, or even days for the mining pool to mine a block to include their transaction, then probably not. You would probably be better off just making the users pay for the transaction and removing the other aspect of having your own mining pool mine the TX entirely.

You can probably charge larger fees while batching transactions and gain more profit this way and probably not lose many users.
1715  Bitcoin / Bitcoin Technical Support / Re: Addresses start with capitals/numbers? on: March 26, 2021, 06:26:16 PM
How can you end up with 33 characters? Does it have to do with the starting zeroes of the RIPEMD-160 hash?
Nope. In Bitcoin addresses, Base58 works by taking the network bytes + RIPEMD160 + checksum and converting it to a decimals and afterwards using the modulo and getting the remainder from repeated divisions of 58. Afterwards, you reverse the byte order of the the remainder and match it to the table provided. As such, the first character after 1 would be the last modulo of the integer.

The highest possible integer is 6.2771017e+57 for a Bitcoin address (34 characters) which is around the neighbourhood of (58^32 x 23), 23 being Q on the encoding table. As such, for the second letter to be R through z, it has to be a 33 characters and below address, highest possible integer is (58 ^ 32) and is 23 times less likely.

Do CMIIW.
1716  Bitcoin / Bitcoin Discussion / Re: Will miners include their own transactions with high fees in their blocks on: March 26, 2021, 02:44:30 PM
I think some of them are just sticking to low fees if it's just their transactions. Besides, how often do miners transfer bitcoins to another address that artificially inflating the fee would affect all other users as well? Also, there is a possibility that the inflated fees from the miner might be taken by some other miner, so I don't think it's really efficient and clever to do it on their end.
If your fees estimator uses the moving average of the fees within the transaction included the blocks without referencing the mempool or the transactions that were once in mempool, this could artificially inflate the fees for those mechanism. You don't have to broadcast the transaction in this case so that no one else would be aware of the transaction before it's mined. I'm sure that it would not be efficient for someone to reorg the blockchain just to claim those fees.

1717  Bitcoin / Bitcoin Technical Support / Re: Addresses start with capitals/numbers? on: March 26, 2021, 02:17:23 PM
I just noticed that every address starts with a capital letter or with a number (after its prefix) and I want to understand why. I'll take a p2pkh address as an example.
Its specific to v1 addresses as they're case sensitive. Just to correct you, not every address starts with a capital letter or a number. It is simply just that the distribution of it is very skewed; addresses with lower case can only be 33 characters long due to the nature of base58 encoding[1]. 33 characters v1 addresses are actually much rarer than those with 34 characters.

Address starts with a lower case and also not a number: 1sakm3t8NqYyeuGtdP265z6GGU8LctNoE

[1] https://en.bitcoin.it/wiki/Base58Check_encoding#Base58_symbol_chart
1718  Bitcoin / Bitcoin Discussion / Re: Will miners include their own transactions with high fees in their blocks on: March 26, 2021, 01:24:43 PM
Some of the clients that I have seen are using mempool as a source of data which could be less susceptible to this kind of attacks as the transaction has to be in the mempool for it to take effect and thus could be a net loss for the miners if another miner takes it.

There isn't much guarantees that the space that you're wasting in your blocks would actually result in larger than proportionate increase in the average fees as the miners have to consistently be inflating the fees with their own high paying transactions in their blocks. Since Bitcoin transactions are not that crucial when considering the time taken (as of now, since there isn't that many good use case for normal small value transactions), there are quite a few scenarios where users would wait for a bit for the fees to drop and thus the miners would probably have to wait for it to take effect.
1719  Other / Beginners & Help / Re: Can anybody explain me how inputs and outpouts work? on: March 26, 2021, 12:00:14 PM
Great explanation above. I'll add on slightly.

Addresses are not concepts that exist on a protocol level, they are just better representation for the users using it as it does have error detection included. The output defines the criteria to be able to spend them, for most scenarios it means that only a signature that is signed by specific public key is valid as the public key hash is specified in the output script. In certain cases, this could be spending to P2SH address which would mean that only by fulfilling the criteria needed for that P2SH script then your transaction will be valid.

The blockexplorers that you see actually parses the blockchain and matches the transactions to the address but it doesn't mean that the network functions like this. Bitcoins are not stored in addresses, your wallet simply finds the unspent outputs and the transactions that are relevant to your wallet and displays them to you. This is also why you have to synchronize Bitcoin Core to be able to see your transactions and your address "balance".

Sender address is not specified in the transaction, your transaction contains the ECDSA public key of the relevant address and is also how nodes or anyone else can verify the signature to be correct and that the public key hash also corresponds to the public key hash that was referenced in the previous UTXO. For a P2PKH transaction, the previous TXID is referenced with its index and a signature with the public key.
1720  Bitcoin / Bitcoin Technical Support / Re: Question Regarding Bitcoin core on: March 26, 2021, 03:33:58 AM
Honestly I have no idea how to update my core
If you're using Windows, just running the installer will do. It will remove the old files and replace it with the new. Your Bitcoins are safe if you backup the wallet.dat which if you haven't, you should do so ASAP.

I can't think of anything that breaks 0.16.0 in the recent releases. You should be able to make transactions without any problems. Even if the transaction you make doesn't end up being visible on the block explorer, you can just update Bitcoin Core and everything will still be fine.
Pages: « 1 ... 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 [86] 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 ... 461 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!