Bitcoin Forum
May 28, 2024, 04:14:08 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 ... 590 »
2501  Bitcoin / Development & Technical Discussion / Re: Why does the testnet difficulty permanently drops to around 1 periodically? on: August 13, 2017, 08:58:55 PM
As far as I know, the difficulty of a block multiple of 2016 doesn't change if it takes more than 20 minutes to process. Such blocks are the only ones not affected by that rule in the testnet.

The difficulty of such blocks is calculated depending on the difficulty of the block immediately prior to them. If that block took more than 20 minutes, then this block could have the difficulty set to 1 as well, and so would the blocks mined after this one.

I said "could" because, if the previous 2,016 blocks took less than 2 weeks to process, then the difficulty could be slightly greater than 1.
It's actually because the block at the difficulty adjustment only looks at the difficulty of the block before it since we assume (for mainnet) that all blocks in an interval are all the same difficulty. However on testnet the difficulty can be one, so if the last block in the previous interval has a difficulty of 1, then the next interval will do that too. I have edited my post to reflect this.
2502  Bitcoin / Development & Technical Discussion / Re: Why does the testnet difficulty permanently drops to around 1 periodically? on: August 13, 2017, 06:29:36 PM
So it drops, then returns.
No, that's not it.

The important part is "resets back to the minimum for a single block, after which it returns to its previous value".
There are plenty of such jumps - going between millions then one then millions over one block.
According to the code, the rule is that if the time of new block is over 20 minutes past the time of the previous block, then the difficulty can be set to one for this block and only this block.

What we are seeing on the graph is difficulty being permanently dropped, not just for one block, but for the whole next period, and then goes up slowly in steps of 2016. That is a completely different rule.
The difficulty will reset to 1 if the time since the last block is more than 20 minutes. There is no stipulation that after a difficulty reset block that the next block must be the normal difficulty; if the next block is more than 20 minutes after the current block, then it can also have a difficulty of 1.

For blocks that are found within 20 minutes of each other, the block's difficulty will be the same as the difficulty of the last block in the difficulty interval whose difficulty was not 1 OR the difficulty of the first block in the difficulty interval. This behavior is defined here: https://github.com/bitcoin/bitcoin/blob/master/src/pow.cpp#L32.

The way that the difficulty retarget works is that, at the beginning of the new difficulty interval, the difficulty of the first block in that interval takes the difficulty of the last block in that interval and multiplies that by the time it took to mine the 2016 blocks and then divides it by the target time. The result is then clamped to be at least 1. Since this is based upon the difficulty of the last block in the previous interval, if that block is difficulty 1, then the next interval will also have a difficulty of one.

So what we are seeing here is that the last block in the interval is found 20 minutes after the block before it so it has a difficulty of one. Because the next block adjust the difficulty and it only looks at the block before it (which is difficulty 1), the difficulty of the next interval is 1. So the next 2016 blocks are mined at difficulty 1, and the difficulty then slowly adjusts up again.

Edit:

I was slightly wrong. Fixed that.
2503  Bitcoin / Bitcoin Technical Support / Re: Corrupted encrypted wallet.dat on: August 13, 2017, 06:09:27 PM
If the wallet.dat file is fully or partially overwritten, no amount of salvagewallet, pywallet, or any other recovery tool is going to help. The BDB file format is probably corrupted so most tools won't be able to open it. The data is gone; you can't get it back. The only viable recovery strategy here is to find a backup of that wallet file and restore from the backup.
2504  Bitcoin / Armory / Re: Armory 0.90 offline wallet issues (condensed version) on: August 13, 2017, 06:06:15 PM
You should install the offline bundle which you can get from https://github.com/goatpig/BitcoinArmory/releases/tag/v0.93.3. The offline bundles contain all of the packages that Armory depends on so those will be installed as well.
2505  Bitcoin / Armory / Re: Armory wont start after 0.96.1 upgrade on: August 13, 2017, 06:02:11 PM
Have you installed all of Armory's dependencies?

Please follow the build instructions at https://btcarmory.com/docs/building/. It will give you the commands to run and the dependencies that you need to install.
2506  Bitcoin / Bitcoin Technical Support / Re: How does salvagewallet work? on: August 13, 2017, 05:57:58 PM
How does it find private keys if the wallet.dat is encrypted?.
The encryption used in Bitcoin Core is not a wallet file encryption. It does not encrypt the whole file. Rather it encrypts individual keys and stores those encrypted keys. So only the keys are encrypted, and they have a record type of ckey. This individual key encryption is what allows you to get new addresses and see your transactions and wallet balance even when your wallet is not unlocked.
2507  Bitcoin / Bitcoin Technical Support / Re: How does salvagewallet work? on: August 12, 2017, 10:22:01 PM
At what stage does de encryption take place
None. Wallets are not decrypted or encrypted during the salvage wallet process; there is no need to do that.

and what is usually left in a wallet. bak file when salvage has failed. Thanks.
The .bak files are backup files that are produced before salvagewallet begins the actual salvage. The .bak files are a copy of the original wallet file.
2508  Bitcoin / Armory / Re: Bitcoin Core and the denial of Segwit2x Nodes - Any problem for Armory users? on: August 12, 2017, 01:57:47 AM
So long as segwit2x uses the same transaction and block formats, Armory will be able to work with Segwit2x nodes. Note that if the signatures scheme is changed like Bitcoin Cash did, then Armory will not be able to send.
2509  Bitcoin / Armory / Re: AGAIN Spendable BTC amount under-reported on: August 12, 2017, 12:22:58 AM
it just did it again: right after sending BCH the under-reported balance appears and I can't spend but a little bitcoin dust. Tried to access the spend window all both sides (wallet properties, send bitcoins, and double clicking wallet) and no luck. I will restart and the problem may go away again.
-at the bottom right "Unconfirmed": the amount of supposedly unconfirmed funds is exactly the amount I cannot spend. Those transactions are years old and are super confirmed.
Did the transaction you just create spend from those funds? If so, that means that those funds are now unconfirmed because they are returned as change to you in the transaction you just made.
2510  Bitcoin / Armory / Re: AGAIN Spendable BTC amount under-reported on: August 11, 2017, 11:15:45 PM
Right now I checked again, not by double clicking on the wallet, but by using the left side button "send bitcoins" and the funds are available again. I don't know if this is a coincidence but if it happens again I will check if by accessing the wallet this way it solves the problem.
If you click on Send Bitcoins from the Wallet Properties dialog, you will only be spending from the Bitcoin in that specific wallet. If you have other wallets, then you will not be able to spend from those other wallets.

You can also enable Expert mode and use the Coin Control feature when in the Send Bitcoins dialog to choose the coins that you want to spend.
2511  Bitcoin / Armory / Re: AGAIN Spendable BTC amount under-reported on: August 11, 2017, 10:22:43 PM
What do you mean by under reported? Do you not see transactions that you should? Or does the total balance not match what you think it should be? Or when you try to spend you can't spend all of your coins? Or something else?
2512  Bitcoin / Development & Technical Discussion / MOVED: How to build a website like primedice.com and bitsler.com? on: August 11, 2017, 07:43:01 PM
This topic has been moved to Trashcan.

Duplicate
2513  Bitcoin / Bitcoin Technical Support / Re: Did My Software Uninstall Itself? on: August 11, 2017, 07:42:05 PM
Just reinstall Bitcoin Core. If the software is still installed on your computer, then it will just overwrite those binaries. If it isn't then it will install new ones.
2514  Bitcoin / Development & Technical Discussion / Re: Lightning capital lock-in investment question on: August 11, 2017, 07:38:03 PM
There is no "network provider". There are only 2 participants in a lightning channel. Only those two participants can fund the channel. So no, you cannot "invest" in a payment channel.
2515  Bitcoin / Project Development / Re: Bitcointalk Account price estimator on: August 11, 2017, 07:28:17 PM
achow101  thx for this service but often its work instability.

Can someone deploy this code on my server for bitcoins? https://github.com/achow101/BitcointalkAccountPricer
With offer to pm.
Deploying on your own servers is not going to help you at all. The problem isn't with the servers but rather the software itself. The software itself has many bugs and problems.
2516  Bitcoin / Armory / Re: Armory wallet never received sent BTC from Coinbase on: August 11, 2017, 12:38:33 AM
post my logs
10 attempts to drag and drop the export files from
armory failed
is there some process i can do to put the file on this reply?
You cannot drag and drop files here. You can't upload files to this forum. Instead open the log files in a text editor and copy and paste the contents to a new paste on http://pastebin.com/ and post the link to that paste here.
2517  Bitcoin / Bitcoin Technical Support / Re: How does salvagewallet work? on: August 10, 2017, 05:50:31 PM
The Bitcoin Core wallet is a Berkeley DB database. It consists of key-value pairs.

Salvage wallet calls BDB DB->verify() function with the DB_AGGRESSIVE flag which will result in it outputting any and all key-value pairs that it can find, even ones that were deleted or corrupted. This means that -salvagewallet can find key-value pairs that normally wouldn't be in your wallet.

These key value pairs are then scanned. Anything that has a key that begins with the strings key, ckey, wkey, or mkey will be pulled out and written to a new database file. It is important to note that those records are not checked for consistency. They are simply passed through. If the rest of the key (which usually contains a public key) or the value of the pair (which may contain the private key) is corrupted, salvagewallet will not detect it and will not be able to do anything to fix it. salvagewallet is only for recovering key type key-value pairs from a badly corrupted wallet. It cannot help you if the public or private keys themselves are corrupted. Lastly, using savagewallet on an non-corrupted wallet may result in that wallet becoming corrupted.
2518  Bitcoin / Project Development / Re: Bitcointalk Account price estimator on: August 09, 2017, 05:50:22 PM
DB cleared and server rebooted. It should work now.
2519  Other / Beginners & Help / Re: paperwallet>bitcore unencr nopass, can i see keys in leafpad? on: August 09, 2017, 06:36:13 AM
Im just getting used to bitcore.
Are you using bitcore or Bitcoin Core? If the latter, please do not refer to it as bitcore as Bitcore is an entirely separate software that is based on Bitcoin Core.

First task, add or import paper-wallet,
Take the decrypted private key from your paper wallet. Import it using
Code:
importprivkey <private key>

Second Task, Export bitcore wallet back to the same paper-wallet. Using the same address should be ok for these two tasks
That's not how Bitcoin or paper wallet work. You don't export Bitcoin and addresses are mapped to private keys (of which a paper wallet is just one private key) so you can't possible get a different address. You are importing private keys, not sending Bitcoin anywhere.

A? With bitcore wallet encrypted and with no password, should I be able to see the private keys in wallet.dat
Yes, the wallet.dat contains all of your private keys. They are not in a human readable format as that would be pointless.

or in recievingaddressexport.csv?
You should not see any private keys in that at all whatsoever.

How do I then delete all data in BC to make it fresh...
Go to the Bitcoin Core data directory and delete all of the files in there. If you delete your wallet.dat file, you will be deleting your private keys and they are not recoverable unless you have a backup.

B? Also, i mistakenly overwrote the first wallet.dat file with one of my public-address's in it but i had not imported a private key into it.
The wallet.dat contains the private key for that address, unless you had imported just the address. You don't need to import private keys for everything, Bitcoin Core will generate private keys and their corresponding addresses for you.
2520  Bitcoin / Armory / Re: Can't receive coins to my wallet on: August 09, 2017, 06:27:28 AM
For clarification -- as I've sent Bitcoin to an address generated by Armory, the Bitcoin is in my wallet, I just can't access it?
Yes,

I've opened Bitcoin Core and am letting it sync now.  How long does it take to sync, generally?
It depends on your machine. It can take anywhere from several hours to several days.
Pages: « 1 ... 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 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 ... 590 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!