Bitcoin Forum
May 24, 2024, 05:45:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
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 33 34 35 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 ... 590 »
361  Bitcoin / Bitcoin Technical Support / Re: Unconfirmed Stuck Transaction QT/Core / Network Synch Issue on: April 17, 2021, 05:06:41 PM
I am having the same issue with the 0.21 installer... the solution is:
You can just download the non-codesigned installer. Download bitcoin-0.21.0-win64-setup-unsigned.exe from https://bitcoincore.org/bin/bitcoin-core-0.21.0/. You just need to click through a few warnings to install it. A new SHA256SUMS.asc file was uploaded to the same folder which covers the non-codesigned installer too.

The warnings to click through are shown in the third section of this post: https://github.com/bitcoin-core/gui/issues/252#issuecomment-807400048
362  Bitcoin / Development & Technical Discussion / Re: Signature ECDSA on: April 15, 2021, 09:46:18 PM
0220 and 022100 are not magic separators. They are part of the DER encoding of the signature. DER encodes data in a Type Length Value format. 0x02 is a type. The byte that follows (0x20, 0x21, or in this case, 0x1f) is the length of the data. The 0x00 in 022100 is actually the first byte of the s value.

So in this signature, the length of the s value is 31 (0x1f) bytes rather than 32 (0x20) or 33 (0x21). This can happen occasionally, although it has a low probability. However you can't just change a signature to use 0x1f for the length, or remove the length entirely. That would make it invalid.
363  Bitcoin / Development & Technical Discussion / Re: Taproot Speedy Trial Code - - Merged Into Bitcoin Core on: April 15, 2021, 04:12:04 PM
This is some shoddy reporting.

Bitcoin core developer Gregory Maxwell, who has done extensive work on Taproot alongside Peter Wuille, merged the “pull request” for Speedy Trial around 16:00 UTC on April 15. With Speedy Trial now merged into Bitcoin Core’s source code,
Greg Maxwell neither has the ability to merge pull requests, nor was he significantly involved in the discussions that resulted in Speedy Trial. The person who actually merged it was fanquake, following months of review and revisions from several other developers.
364  Bitcoin / Development & Technical Discussion / Re: Taproot proposal on: April 07, 2021, 06:57:05 PM
I didn't know that one of the most interesting ways to find an agreement on how to possibly implement a bitcoin upgrade could have been the old fashioned coin toss! Grin
https://www.coindesk.com/final-taproot-activation-specifics-chosen-bitcoin-blockchain-coin-toss
Is that really what happened? Isn't that awesome, uh?
It actually wasn't, the timing was just unfortunate. AJ and I agreed on the method to use, and the PR to close prior to the coin toss. However, it happened to be that I posted my comment with the resolution of that discussion at around the same time the coin toss occurred. Since that resolution was also what the coin toss came up with, it gives the appearance that this was decided by a coin toss, but it really wasn't.
365  Bitcoin / Bitcoin Technical Support / Re: Wallets from 2014 vs Wallets from 2021 on: April 06, 2021, 07:10:42 PM
Furthermore, the size of the 2014 wallet is 70kb while an empty wallet from 2021 is 1.5mb
This is expected. Prior to BIP 32 HD wallets (introduced in Bitcoin Core 0.13 in 2016), wallets pregenerated 100 keys (for both receiving and change). After BIP 32 HD wallets, wallets pregenerated 2000 keys (1000 for receiving, 1000 for change). This causes the size difference.

I thought that the format of the Wallet would be different but ... no.
The format has not changed. Compatibility is maintained.

As you can see, those of 2014 and 2015 have one less character. I don't know if this has something to do with it or not.
It does not. That 3rd parameter is a number of iterations to do and is based off of a benchmark of your computer that is done at the time encryption is added.

The btc-qt v0.21 does not give me errors when loading the 2014 and 2015 wallets , in fact it detects the movements that there were. The btcrecover does not show any error either (I don't know, something like the wallet was not formatted correctly or something like that, but no ...)
This is expected. Compatibility is maintained.

I'm also not sure what each fields represents:
The format is as follows:

Code:
$bitcoin$<length of encrypted key>$<encrypted key>$<length of salt>$<salt>$<derivation method iteration count>$<length of derivation method>$<derivation method>$<length of additional parameters>$<additional parameters>$
<length of encrypted key> is always 64. The encrypted key is a 32 byte key which means it is 64 characters.
<encrypted key> is the encryption key which itself is encrypted with your passphrase. Your passphrase is hashed to get the key that is used to encrypt this encrypted key.
<length of salt> is always 16. The salt is 8 bytes which means it is 16 characters.
<salt> is the salt. It is randomly generated. The salt is combined with your passphrase to generate the key used to encrypt the actual encryption key.
<derivation method iteration count> is the number of times to run the hash function that is used to derive the encryption key from your passphrase.
<length of derivation method> is always 2. The derivation method is stored as a single byte number, so it is always 2 characters.
<derivation method> is an integer that indicates the function to be used to derive the encryption key from the passphrase. Currently there is only one method, SHA512, and it is indicated with the number 0.
<length of additional parameters> is always 2. There are no additional parameters, so it is represented by a single byte of 0, which makes the length 2 characters.
<additional parameters> is always 00. There are no additional parameters, so it is always a 0 byte.
366  Bitcoin / Bitcoin Technical Support / Re: How to use PSBT with online node and offline node for cold storage usage on: April 05, 2021, 10:06:07 PM
I concur... theoretically, it *should* be possible with the "descriptor" wallet functionality... but because Bitcoin Core uses hardened key derivation all the way down to the address level, you can't simply use the master private key that you can extract from the wallet.
Descriptor wallets follow BIPs 44/49/84. The keys are no longer derived with fully hardened derivation paths. This is done at the expense of dumpprivkey now being disabled.

Additionally, while trying to use importmulti on an "empty" descriptor wallet using an xpub (to create a watching only wallet that automatically generates addresses so you don't have to manually import them), I kept getting "command not supported by this wallet type" errors Sad Undecided
Use importdescriptors

I'm sure I was probably doing something wrong... but setting up online/offline airgap with Bitcoin Core is a very manual and labour intensive task... I would not recommend it.
The setup could be better, but once it is setup, the PSBT workflow has been significantly improved. Sending transactions can be done entirely from the gui.
367  Bitcoin / Bitcoin Technical Support / Re: Where is Bitcoin Core's icon located? on: April 04, 2021, 07:55:53 PM
You have recompiled each time?

The icons in share/ only effect the installer that is created. The icons that are used in bitcoin-qt are in src/qt/res
368  Bitcoin / Bitcoin Technical Support / Re: Where is Bitcoin Core's icon located? on: April 04, 2021, 07:21:21 PM
Did you change bitcoin.ico? That's the icon file.
369  Bitcoin / Bitcoin Technical Support / Re: Where is Bitcoin Core's icon located? on: April 04, 2021, 05:14:28 PM
All of the assets used in the binaries can be found in src/qt/res
370  Bitcoin / Bitcoin Discussion / Re: Bitcoin Core 0.21.0 Released on: March 30, 2021, 04:31:12 PM
Hello. Can someone explain the beauty of this bitcoin core? Why is it not easier to use online - the same paxful and others. I tried to install bitcoin core - synchronization took 4 days, everything is buggy because of this. And what kind of super functionality I did not see? Security?
Bitcoin Core is a full node. It downloads and verifies all blocks and transactions. Additionally, it is a wallet software so all of your private keys are generated, stored, and managed by Bitcoin Core if you use its wallet.

Bitcoin Core is more secure and private than online wallets. Those wallets may also be custodial wallets where your Bitcoin is held by the service provider and they just promise to send the Bitcoin when you ask for it to be sent somewhere. Those web wallets are not private - the service provider can see all of your transactions and associate those transactions to you. They can do this trivially. Additionally, if they go offline, go out of business, or stop operating for whatever reason, your Bitcoin is lost. Bitcoin Core does not have those problems. If Bitcoin Core is no longer being developed, you can still use the software that you have downloaded and installed. Because Bitcoin Core is a full node, it is much harder to know which transactions are yours because your node will be receiving and sending all transactions on the network. Any that are yours blends in with the crowd of other transactions being relayed by Bitcoin Core.
371  Bitcoin / Bitcoin Technical Support / Re: Structure of a master key in old core wallet on: March 28, 2021, 03:57:40 AM
Is a master key in the old JBOK wallet simply a private key (with a different name) ie is it the same format as a private key?  I am trying to scan individual bytes to look for it as this wallet was not born encrypted....OR does it just generate a master key on the fly when you encrypt ?
It is not a private key nor is it stored in any way similar to a private key. The master key is generated when you encrypt. It is never stored unencrypted.

The thing to look for is a record that begins with mkey
372  Bitcoin / Bitcoin Technical Support / Re: Mining against bitcoind stratum issues on: March 28, 2021, 12:58:59 AM
When I try this against my bitcoin-qt install on windows which is fully sync'd, I get an error message
No Stratum, GBT or Solo support in pool 0 http://192.168.0.198:8332 unable to use

I'm not sure what's missing.
bitcoin-qt does not start the rpc server by default. You can enable that by adding server=1 to your bitcoin.conf.
373  Bitcoin / Bitcoin Technical Support / Re: Mining against bitcoind stratum issues on: March 27, 2021, 10:27:46 PM
Is bitcoind the same as bitcoin-qt?
Yes. They use the same code, just that bitcoin-qt has additional code to show a GUI.

And is getblocktemplate accessed through http:// instead of stratum+tcp://
Yes. getblocktemplate uses JSON-RPC over http. Stratum is a custom protocol. bitcoind does not implement stratum.
374  Bitcoin / Bitcoin Technical Support / Re: Mining against bitcoind stratum issues on: March 27, 2021, 08:04:34 PM
I guess it is not fully synced yet.  I looked at debug.log at it is only about 3/4 of the way through at block 492500.  Do you think it will work when fully synced?  I tried this with a fully synced bitcoin-qt last week and it did not work.
bitcoind must be synced for getblocktemplate to become available.
375  Bitcoin / Bitcoin Technical Support / Re: Mining against bitcoind stratum issues on: March 27, 2021, 01:41:25 AM
Is bitcoind synced?
376  Bitcoin / Bitcoin Technical Support / Re: Mining against bitcoind stratum issues on: March 27, 2021, 12:48:37 AM
Don't specify --stratum-port. Do not specify that the mining software should be using the stratum protocol. If anything, try to see if you can specify that it should use getblocktemplate (frequently shortened as gbt).

The version of bitcoind doesn't really matter. Bitcoind never supported stratum so stop trying to use stratum with it.
377  Bitcoin / Bitcoin Technical Support / Re: Mining against bitcoind stratum issues on: March 26, 2021, 10:25:34 PM
bitcoind is not a stratum server, so the stratum protocol will not work with it. The only mining protocol that bitcoind supports is getblocktemplate. If you change the url from stratum+tcp to http, your mining software should automatically try getblocktemplate and that should work.
378  Bitcoin / Development & Technical Discussion / Re: [Taproot softfork] "Speedy trial" activation on: March 07, 2021, 06:45:48 AM
I categorize BIP34 fork as more of a bug fix than an upgrade like Taproot.
Regardless it is still a soft fork. BIPs 66 (strict DER) and 65 (OP_CLTV) also used the same activation mechanism. You could say that BIP 66 is a bug fix, but BIP 65 is certainly a feature upgrade in the same way taproot is a feature upgrade.

Also the activation was still using 95% rule as far as I can tell. The 75% part was only used to reject blocks with version >= 2 that did not have the height in their coinbase, in other words even with 75% of blocks accepting BIP34, block with version=1 could still be mined.
The part that matters is where the new rules begin to be enforced. Under ISM, the new rules were enforced at 75%. This means that if any blocks failed the new rules after 75% had signaled, then there would be a chain split. The same is true of the proposed 90% threshold: the new rules activate when 90% of blocks signal (after a grace period) and any block that fails the new rules afterwards is invalid. it doesn't matter that blocks conforming to the old rules can be mined, the same applies to BIP 8 and 9 deployments. All that matters with this threshold is whether the new rules are being enforced. For the current taproot activation proposals, that is at 90%. In all ISM forks, that was 75%.

The 95% threshold has no counterpart in BIPs 8 or 9 as they do not have an invalidity requirement. There is no requirement that disallows blocks which are valid under the new rules but do not use them (as a v1 block would be after BIP 34). Even with segwit, miners can still mine blocks that contain only legacy transactions and they don't need to have the witness merkle root in their coinbases if they do so.
379  Bitcoin / Development & Technical Discussion / Re: [Taproot softfork] "Speedy trial" activation on: March 07, 2021, 04:42:37 AM
The only two criticism I have is that it first reduces the activation threshold to 90% (instead of what we've used in past decade: 95%) by changing nRuleChangeActivationThreshold to 1815
Activation thresholds have been lower in the past, ISM (BIP 34) used 75% to activate new rules. Additionally, at previous meetings and discussions in the ##taproot-activation channel (and later discussed on the mailing list), 90% was deemed acceptable.

and also it is using block times which is not the most reliable variable to use in blocks due to fluctuations of hashrate, chance and the fact that times could be changed up to 2 hours each. This could open up some room for manipulation. (looking at the PR this last part may have changed)
AJ's initial proposal is based on BIP 9 which doesn't actually use block times as is. It uses the median time past, not the actual time in the header, although MTP is based on that time.

My version of this proposal (summarized by roconner: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-March/018594.html) is based on BIP 8 so it uses block heights. It also runs 2-3 weeks later than AJ's.
380  Bitcoin / Development & Technical Discussion / Re: Why are we crippling the initial sync? on: March 01, 2021, 04:32:03 AM
I knew I would get a comment like this.

Do we really think there are ten of thousands of nodes not accepting connecting being spun up in secret?  Or can we go with the simpler explanation of not many people are bothering to spin up a node and we shouldn't be making it harder to do so because at some point it may or may not be a problem.
Yes because that's the default behavior.  In order to accept incoming connections, you need to configure your router to allow incoming connections to port 8333. Most users aren't going to or don't know how to do that. Not to mention the fact that there will be people running Bitcoin Core on computers where they can't control the router to allow incoming connections. Additionally many people run Bitcoin Core on laptops, and given their portable nature, aren't usually set up to accept incoming connections.

Samsung SN550, if a QLC drive causes it to take 4 weeks to sync something is really broken with the network.  But like I said when I manually added a bunch of nodes that had either TELUS or Google Fiber as their ISPs my sync time dropped to 40 hours.  Slowly as they disconnect and I go back to the 8-9 nodes my sync time goes back to 3 weeks.
Sorry you are correct WD SN550 not Samsung.  I have a gigabit Fiber to the home connection and my sync speed jumps like crazy when I manually add nodes so I don't think they are throttling.
That does sound like a network bottleneck for you, however just increasing the number of connections won't necessarily solve the problem. You have specifically connected to high speeds nodes, there is no guarantee that just an increased connection count would have your node connect to those.

How are you connecting to those nodes? It should be possible to make the connection type one that Bitcoin Core connects to automatically if the connection drops.
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 33 34 35 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 ... 590 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!