Bitcoin Forum
May 30, 2024, 04:16:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 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 ... 590 »
2421  Bitcoin / Armory / Re: Armory 0.96.1 is out! on: August 28, 2017, 04:01:02 PM
I thought that I will send a SegWit transaction to an address that starts with 3.
Those addresses are P2SH nested addresses. Armory will make those in the next version which will have those enabled.
2422  Bitcoin / Armory / Re: Armory 0.96.1 is out! on: August 28, 2017, 02:37:16 PM
How do I generate P2WPKH address?
You can't. Such addresses don't exist yet.

I assume that the lack of an address makes the option P2SH-P2WPKH to be disabled when trying to send to a self address.
No, that is disabled because segwit is hardcoded to be disabled on mainnet for now. We will be releasing another version with segwit enabled soon.

What is P2SH-P2K? Pay to public key?
Yes. That uses compressed keys and that is pretty much the only reason you would want to use it.
2423  Bitcoin / Bitcoin Technical Support / Re: How to stay with legacy address format? on: August 28, 2017, 02:35:43 PM
I see. So how are we supposed to get people using segwit format transactions if there isn't an easy way to create them? Does any wallet support segwit transactions yet without having to resort to unfriendly command lines?

I just hope it gets added easily at GUI level AND it is clearly separated from legacy transactions for the people that want to keep using the classic format. For example I want to be able to use the classic format for long term cold storage because it's the most timetested format. I don't care to temporarily use it if needed for small LN transactions or whatever.
Many wallets already have segwit support built in but disabled by default (like Armory). You should expect most wallets to release new versions with segwit enabled in the next few weeks. Bitcoin Core will be adding support for bech32 addresses and the P2SH nested addresses soon in a minor version after we release 0.15.0.
2424  Bitcoin / Development & Technical Discussion / Re: What exactly happens during Blockchain Synchronization? on: August 28, 2017, 01:47:12 PM
So, when we start the Bitcoin Core client (full node), it tries to download the Blocks. I saw it mentioned in several places that the speed at which you synchronize depends not only on your Internet connection speed but also on your Processor speed. I would like to understand what role does the processor speed play here?
The CPU has to do all of the work to verify the blocks as they are downloaded. It must hash the blocks and check the proof of work, hash the transactions in the block and compare that with the merkle root, lookup in a database to make sure that transactions are not spending previously spent inputs, etc. A lot of it is calculating hashes, which, given a large number of hashes, can be fairly computationally intensive.

Besides downloading the blocks, is the full node client also performing a Digital Signature verification for each transaction included in that block?
It depends on the block. Bitcoin Core has checkpoints which mean that the block at a certain height must have a certain hash. Blocks prior to that will not have signatures validated. The recent checkpoint was block 250000 which means that for older nodes, they will begin checking signatures after block 250000. However for newer nodes, we introduced a thing called assumevalid which supersedes checkpoints (although checkpoints still exist). Assumevalid has a block hash specified. It is similar to checkpoints; any block in the chain prior to the assumevalid block (we have a best headers chain which has the assumevalid block in it) will have signature validation skipped. Blocks after the assumevalid block will have all signatures verified. The assumevalid block can be set with the -assumevalid=<hash> startup option. The default assumevalid block is updated every release.

Also, I noticed that the newer blocks in the blockchain take longer time to synchronize than the older blocks. Is it because the newer blocks include more number of transactions and so the full node client needs to perform more number of verification per block?
Yes. There are more transactions in newer blocks which requires more hashing, and after the assumevalid block, all signature validation is done.

Is there any way to speed up the process of synchronizing the blockchain? Of course, besides buying the latest and fastest processor Cheesy
One of the bottlenecks is database flushing. To make syncing faster, you can increase the -dbcache=>n> parameter so more of the database is held in memory and does not need to be flushed to disk as often. You can also check the current block hash, and if you trust the block explorer you used, you can set the -assumevalid=<hash> option so that you will skip all signature validation up to the most recent block.
2425  Economy / Exchanges / Re: Multisig xpub retrieval on: August 27, 2017, 08:10:24 PM
The paper backup that you made when you first made the Vault should contain your public keys. Retrieve them from there. If you don't have those, then you can generate them from the seeds that you have.
2426  Bitcoin / Bitcoin Technical Support / MOVED: Multisig xpub recovery on: August 27, 2017, 08:08:17 PM
This topic has been moved to Trashcan.

Duplicate. Your other thread is here: https://bitcointalk.org/index.php?topic=2128207.0;topicseen#msg21260292
2427  Bitcoin / Bitcoin Technical Support / Re: How to stay with legacy address format? on: August 27, 2017, 07:58:41 PM
Bitcoin Core currently has no functionality to create Segwit addresses (either P2SH nested ones or bech32 ones) in the GUI. Thus all addresses you get from the GUI are non-segwit and anyone who sends to those will be making non-segwit outputs. The legacy Bitcoin addresses did not have their definitions change.
2428  Bitcoin / Project Development / Re: Bitcointalk Account price estimator on: August 27, 2017, 04:40:30 PM
Server rebooted, database cleared. Should be working now.
2429  Bitcoin / Development & Technical Discussion / Re: privacy and bitcoin protocol over TCP on: August 27, 2017, 03:21:32 AM
Nothing prevents governments, ISPs, your school or work, etc. from blocking Bitcoin network connections. However Bitcoin is decentralized, there are no servers or clients, only nodes. So in order to "kill" Bitcoin, you would have to prevent every single node from connecting to any other node in the network. This would have to be a worldwide effort since Bitcoin nodes can be found all over the world.

Furthermore, Bitcoin does not necessarily have to rely on the internet. There are projects that are working on providing non-internet means of communication for nodes, such as Blockstream Satellite.
2430  Bitcoin / Development & Technical Discussion / Re: Private key calculations on: August 26, 2017, 10:18:38 PM
Are you hashing the number as a string? Is it in decimal or hex?

You must be hashing your number as bytes. Otherwise it will not be correct as you would be hashing a string.
2431  Bitcoin / Development & Technical Discussion / Re: is it too late to ask what is Segwit and how does it work? on: August 26, 2017, 06:22:25 PM
Does it means that there will be one blockchain with blocks >1mb (sw) and blocks <1mb?
No. There is only one blockchain.

What does it means that SW transaction is seen by older nodes as a anyone-can-spend?
Yes. They are also non-standard, and given that the majority of nodes and miners are enforcing segwit, those transactions are not actually anyone-can-spend.
2432  Bitcoin / Development & Technical Discussion / Re: Post your SegWit questions here - open discussion - big week for Bitcoin! on: August 26, 2017, 05:57:16 PM
I am running a BIP148 node with segwit from LukeJr's PPA I believe, should I switch back to using core now?
Yes. Both BIP 148 and BIP 91 are irrelevant now.
2433  Bitcoin / Development & Technical Discussion / Re: How to judge illegal transactions? on: August 26, 2017, 05:24:14 PM
What if I download the Bitcoin Blockchain via torrent?
Do all the pre-existing transactions get checked as well?
Yes. It will check all transactions and blocks it knows of. If a transaction is in a block that has a specific descendant block (the assumevalid block), then signatures are not checked. Everything else is still checked. Note that using the bootstrap.dat torrent will be slower than syncing from p2p.
2434  Bitcoin / Bitcoin Technical Support / Re: Bitcoins in corrupted wallet.dat with transactions shown? on: August 26, 2017, 04:37:05 PM
The transactions don't matter; what matters are the private keys. The transactions can always be recovered as they are in the blockchain, but your private keys cannot be recovered if you lose them. If you check block explorers for all of the addresses in your wallet and don't see any suspicious transactions, then you are fine and your coins are not stolen.

If you have a backup of your wallet file, then use that with your new install of Bitcoin Core and see if it works. If it does not, then please post the debug.log file. Don't use salvagewallet since it may actually make the problem worse (salvagewallet has been known to corrupt uncorrupted wallets. It is a last resort thing).
2435  Bitcoin / Development & Technical Discussion / Re: How to judge illegal transactions? on: August 26, 2017, 04:32:24 PM
Every single full node (not just miners) fully verifies every single transaction it receives. It does the same for every block. Since blocks and transactions can be mostly validated in parallel, it really isn't all that slow. Furthermore, the entire blockchain is not rechecked for every block, nor does it need to be rescanned for every block. Node software has more efficient ways of checking up transaction by storing various data separately, e.g. maintaining a separate database for the UTXO set which is used for checking transaction validity. Furthermore transactions in new blocks don't need to be revalidated if you have already seen them in your mempool. So that saves validation time as well.
2436  Bitcoin / Development & Technical Discussion / Re: Post your SegWit questions here - open discussion - big week for Bitcoin! on: August 26, 2017, 04:47:32 AM
Does the private key in WIF format tell if the address associated is segwit?

Since the same priv key can generate both segwit and non-segwit addresses, when importing a WIF-encoded priv key, should we ask the user if it is segwit or is that information obtained from the wif-encoded key itself?
No, it does not.

Um, so, SegWit is active but when will we see evidence of it helping? 
When more people start using segwit and more segwit transactions have been made.

Have any SegWit transactions gone through yet? 
Yes. There were 6 segwit transactions in the first block after segwit's activation.

Will the transaction count per block start going up?
As more people begin using segwit, it will. We have also already seen at least one block larger than 1 MB.
2437  Bitcoin / Bitcoin Technical Support / Re: finding my Bitcoin address on: August 24, 2017, 04:45:14 PM
In your wallet, go to whatever tab or page for "Receive Bitcoin" (usually named something like that). There you should be able to get a Bitcoin address.
2438  Bitcoin / Armory / Re: Help to do a digital backup in Armory on: August 24, 2017, 03:10:51 PM
Hi and thank you, i tried to post the logfile armorylog_20170824_1705 but its too many charachers 64000, is there a way to attach it ?
Make a new paste on https://pastebin.com/ and post the link here.

also I did send bitcoin to the armory wallet over 2 days ago and not received yet?
Is Bitcoin Core fully synced? Is Armory fully synced? If not, you won't see the transaction until both are fully synced.
2439  Bitcoin / Development & Technical Discussion / Re: C++ --- How to send a request to a Bitcoin mining pool for Block header on: August 23, 2017, 11:24:53 PM
There are two main protocols used for getting block information, stratum and getblocktemplate. For either one, you have to connect to the url for a pool's stratum or getblocktemplate server. Then from there you follow the respective protocol to request data from the server.

Information on how to use the stratum protocol is found here: https://slushpool.com/help/manual/stratum-protocol
Basically you just open up a tcp connection and send it specific JSON data and you will get a reply. You can do this manually by using netcat.

Information on how to use getblocktemplate can be found here: https://github.com/bitcoin/bips/blob/master/bip-0022.mediawiki and https://github.com/bitcoin/bips/blob/master/bip-0023.mediawiki
Basically you just connect to the server and send it HTTP POST requests.
2440  Bitcoin / Development & Technical Discussion / MOVED: YObit.net ! Add coin on ICO wall !? on: August 23, 2017, 11:12:37 PM
This topic has been moved to Trashcan.

Duplicate
Pages: « 1 ... 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 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 ... 590 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!