Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Hot answers tagged


You're hashing the string representation of things, not the actual hash itself. Hash the bytes of the hash, not the bytes of its string representation. All of the should operations are on the bytes themselves, not the hexadecimal representation of those bytes which is what you have done.


Most of the output addresses follow one of the following 'standard outputs': Legacy Outputs P2PK: scriptPubKey: <public_key> OP_CHECKSIG. Output pays the public key directly and hence does not have a direct address. P2PKH: scriptPubKey: OP_DUP OP_HASH160 <hash160 of pubkey> OP_EQUALVERIFY OP_CHECKSIG. For this kind of output you just need to ...


Does the private extended key give you access to spend all the funds in all the public addresses generated with that 1 private extended key? No, the extended private key just lets you derive all of the child private keys, which would then be used to spend any funds that were sent to the corresponding public keys (addresses). The extended private key itself ...


It is not more secure to use different adress for every bitcoin you receive, it just gonna give you more privacy since it is gonna be harder to track you. I guess the exchange use different bitcoin account then generate different adress for them just like we could, and keep a track of all that. I think you are just confuse about the way exchange keep your ...


That address is a bech32 encoded address, which is a new style of address used on the Bitcoin network, that starts with bc1.... It seems that the explorer has simply not been updated to properly interpret and present this newer address type. The addresses you listed are perfectly valid.


A wallet.dat file will contain many, many bitcoin keypairs/addresses. So there is no reason to delete an older address, and in fact this is probably a bad idea. If you or anyone else ever mistakenly sends bitcoins to that address, it will be impossible to recover them once you've deleted those keys. If you do not have the private key for an address, you ...

Only top voted, non community-wiki answers of a minimum length are eligible