Bitcoin Forum
May 25, 2024, 02:33:10 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 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 ... 590 »
1581  Bitcoin / Development & Technical Discussion / Re: How can i read Block.dat Files without using full node from C# on: January 15, 2018, 05:45:44 PM
The data in these "Block.dat" files is not raw text anymore
It never was in the first place.

but it seems like i need to read the files using
Berkeley-DB format which does not compile for me so does anyone know where I can download a Berkeley-DB Dll that
will work in VS .Net or any short cuts using .NET file streams
I think Berkeley-DB for the file format has been dumped and they now use LevelDB that is something
that Google started but getting a copy that will compile and works in MS-Dot.Net is no easy task
The blk*.dat and rev*.dat files - the files that actually contain the block data - are not database files. They are just files with the raw blocks dumped into them. You don't need BDB or LevelDB in order to read them. Those databases are stored separately.

The format of the blk*.dat files is network magic (4 bytes) followed by length of the block in bytes (4 byte unsigned integer) followed by the block itself serialized in network format. This repeats until the file reaches a certain size. Then the next numbered file is used.
1582  Bitcoin / Project Development / Re: Bitcointalk Account price estimator on: January 15, 2018, 04:25:47 AM
Any timeframe when the site will be able to return to work or if it is final?
Consider it down forever.
1583  Bitcoin / Armory / Re: BitPay no longer compatible with Armory on: January 15, 2018, 04:24:29 AM
Do I need to install python to run achow101's?
No, unless you want to use it from source. There are binaries available here: https://github.com/achow101/payment-proto-interface/releases/tag/v1.0.1
1584  Bitcoin / Development & Technical Discussion / MOVED: Blockchain Validation error-24 mempool conflict[solution] on: January 15, 2018, 04:22:13 AM
This topic has been moved to Trashcan.

Duplicate
1585  Bitcoin / Bitcoin Technical Support / Re: BitcoinCore node crashing on: January 13, 2018, 05:44:10 PM
At this point, if I were to just save the wallet dat. file and completely uninstall and reinstall bitcoincore, is there any possibility that I will run into any problems with creating my wallet from the seed/passphrase?
That won't work.

Firstly, the problem is with your wallet.dat file, not with your installation of Bitcoin Core, so reisntalling isn't going to change anything. None of Bitcoin Core's data is removed when it is uninstalled, only the exectables are.

Secondly, Bitcoin Core does not use a seed or passphrase which can restore your wallet from scratch. You must have a backup of your wallet file.
1586  Bitcoin / Development & Technical Discussion / Re: Raw original work request of solved block on: January 13, 2018, 05:00:50 AM
Ok so if I'm getting what you are saying is, once the block is solved below markel_root becomes a transaction id to send newly generated coins which is already included in blocexplorer's transactions

merkle_root = sha256(sha256(unhexlify(coinbase)).digest()).digest()
No, not at all.

The coinbase transaction's txid is included as part of the merkle root. The construction of the merkle root is described here: https://github.com/bitcoin/bitcoin/blob/master/src/consensus/merkle.cpp#L9. Basically you concatenate the txids of pairs of transactions and hash them, then concatenate pairs of hashes, and so on until there is only one hash remaining.

The fields Coinbase1, ExtraNonce, ExtraNonce2, and Coinbase2 are used to construct the coinbase transaction which pays the miner. The transaction id of that coinbase transaction is then used to construct the merkle root.
1587  Bitcoin / Bitcoin Technical Support / Re: Bitcoin transaction "sending" since december 18.. on: January 13, 2018, 04:05:00 AM
No because I haven't recieved yet as I sent it back to my original bank I originally deposited the money from. When I click on transactions it says in red "sending", and when i click on the transaction itself it says "status": confirmed below where it says the date.
Then that is a service problem with the service not crediting your Bitcoin. The transaction is confirmed, that means it is completely and absolutely final. Contact the customer support of the service you are trying to send money to.
1588  Bitcoin / Bitcoin Technical Support / Re: Bitcoin transaction "sending" since december 18.. on: January 13, 2018, 03:50:36 AM
It's in block 500010 it says. I use Blockhchain. Other info when I click on the transaction: "Confirmations": 3962. "Weight": 768. "Size": 192 bitgroups. "Status": Confirmed.
The transaction is confirmed, what's the issue? Confirmed means that the transaction is finalized. It has been confirmed for more than 3 weeks.
1589  Bitcoin / Development & Technical Discussion / Re: Raw original work request of solved block on: January 13, 2018, 12:26:50 AM
Not just transaction ids, all of the parameters below
Coinbase1
ExtraNonce
ExtraNonce2
Coinbase2
Transaction Ids[]
Those parameters are part of the transaction ids. All of those parameters except for transaction Ids[] are for constructing the coinbase transaction. It's txid is then used in the merkle root.
1590  Bitcoin / Development & Technical Discussion / Re: Raw original work request of solved block on: January 13, 2018, 12:14:38 AM
The merkle root is computed from the transaction ids.
1591  Bitcoin / Bitcoin Technical Support / Re: Where is the hash of the genesis block in the Bitcoin code ? on: January 13, 2018, 12:07:26 AM
I don't find it, the "main.cpp" file doesn't exists anymore, I've looked for the Genesis Block hash in validation.cpp and net_processing.cpp but i don't find anything  Huh
It's in chainparams.cpp
1592  Bitcoin / Bitcoin Technical Support / Re: BitcoinCore node crashing on: January 13, 2018, 12:03:13 AM
By permission do you mean to be able to open the wallet?
Both read and write to the file. If you right click it and choose Properties, there should be a tab labeled Permissions or Security and there you can see whether your user has the permission to read and write to the file.

And would you be able to suggest what may have caused this condition to occur? The wallet on this client is encrypted and is on my own personal machine. I haven't attempted to open the wallet in months but I have access if needed.
Copying files from different machines can result in conflicting file permissions.

Could this be an attempt to open the wallet from someone connecting to my node?

Also, I did not think anything of it at the time because nothing seemed to happen but I did hook up a 21bitcoin computer to this computer about 4-5 days ago just to see if there was anything I could do with it but there did not seem to be any prompt or files I could see so I unplugged it and thought nothing more of it. Could it have begun to try to access the wallet because of the mining chip days later even if it wasn't connected anymore?
No.
1593  Bitcoin / Bitcoin Technical Support / Re: What is the difference between a segwit address that starts with a 3 and a b? on: January 12, 2018, 11:58:34 PM
How can I make a vanity Bech32 address?
The same way you make a P2PKH vanity address (begins with a '1'); generate random private keys, calculate their public keys, hash the public keys, and encode it using bech32. You will need some software that can do that, but I don't know of any that currently exist.

Are there any guides you can link me?
No.
1594  Bitcoin / Development & Technical Discussion / Re: Exactly How Do you Fork a Blockchain? on: January 12, 2018, 01:14:42 AM
You make a block that follows different consensus rules and is consensus incompatible with the current blockchain such that it will be rejected by nodes not running your software.
1595  Bitcoin / Bitcoin Technical Support / Re: What is the difference between a segwit address that starts with a 3 and a b? on: January 12, 2018, 01:12:19 AM
What does bc1 mean? Is that the address that starts with a 1?
It's the beginning of every bech32 address, the ones that start with a "b".

Another question, can you make a vanity Bech32 address like with the adressess that start with a 1 or is that not possible?
Yes. You can make a vanity address with any type of address.
1596  Bitcoin / Bitcoin Technical Support / Re: How to construct transactions starting with bech32 addresses? on: January 11, 2018, 11:21:27 PM
Read BIPs 173: https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki and 141: https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki
1597  Bitcoin / Bitcoin Technical Support / Re: BitcoinCore node crashing on: January 11, 2018, 11:19:14 PM
Bitcoin Core is unable to write to your wallet file. Make sure that your user has the permission to write to the wallet.dat file.
1598  Bitcoin / Development & Technical Discussion / Re: OP_CSV, opt-in RBF, and making outputs invalid after timelock on: January 11, 2018, 01:58:45 AM
My question is essentially: is there any way to make it so that Alice could not spend the output after the relative locktime has passed?
No, there is no way for that currently.
1599  Bitcoin / Armory / Re: Using Armory on the BCH chain on: January 10, 2018, 05:04:35 PM
what is that, btw?:  P2SH-P2PK.  pay to public-key?  isn't that an old relic from the past?  wasn't the Base58 format introduced way back when to obscure the public key?  unless of course, the P2SH part obscures it via the redeem script...but for what purpose?
Yes, it is pay to pubkey. The P2SH part obscures that because the pubkey is part of the redeem script. The reason for doing P2PK instead of P2PKH is that it takes up less space than P2PKH nested in P2SH.
1600  Bitcoin / Development & Technical Discussion / Re: How does HD wallet recovery from seed recovers all used addresses? on: January 10, 2018, 05:03:09 PM
On high level, I understand that all wallet addresses private/public keys are define from single private key,
No, they are not. Each address has exactly one corresponding public key, and each public key has exactly one private key. The seed is used to derive the private keys.

What I do not get, how the wallet app that I would use for potential recovery process "knows" how many addresses I actually generated/used and have unspent outputs (meaning BTC).
As Ledger generates new derived address for each tx and presumably new address for each tx change, there can be arbitrary number of addresses that had been used - and this is uknown to the recovery seed / wallet.
It doesn't know, it just guesses. Private keys and their addresses are derived in the same order and thus are given out and used in the same order. So when you restore a seed, the wallet will scan the blockchain for transactions and generate some number of addresses ahead of the last address known to have a transaction currently in the scan. This number of addresses is called the gap limit, and is typically 20. Every time a transaction is found corresponding to an address in the gap limit, it will refill the gap limit by generating more addresses.

How does then the recovery wallet app rebuilds from seed the wallet with all relevant addresses?
Read BIPs 39 and 32. BIP 39 specifies how the mnemonic is generated and then interpreted as a seed value. BIP 32 specifies how that seed value is used to generate the master private key and then how all other private keys are derived from that master private key.
Pages: « 1 ... 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 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 ... 590 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!