Skip to main content

Unanswered Questions

86 questions with no upvoted or accepted answers
0 votes
1 answer
653 views

get extended public key from extended private key in python

Can anyone tell me how I can get the extended public key from an extended private key in python. I know that I need to get the public key from the private key and that the public key + chain key = ...
0 votes
1 answer
92 views

Bitcoin listreceivedbyaddress as REST API

I am currently looking for a REST API service which will allow me to implement a super simple deposit system. Currently I am generating bitcoin addresses (mainnet + testnet) via Python. In addition to ...
0 votes
1 answer
149 views

How do nodes fetch unconfirmed transactions?

I'm taking up a project to build a software in python to mine cryptocurrency (preferably bitcoin). I have an overview of the computation that needs to be done. I would like to know how nodes fetch ...
0 votes
1 answer
1k views

Using the Bitcoin python library to generate Private Key [Noob question]

I have done pip install bitcoin and then wrote the below code: from bitcoin import * private_key = random_key() print(private_key) Now I am getting this error: Traceback (most recent call last): ...
0 votes
1 answer
2k views

Account Extended Public Key from mnemonic

tell me please, how we can receive Account Extended Public Key from mnemonic phrase via PHP or Python? Or possible in internet we have ready console scripts? I'm going to https://iancoleman.io/bip39/ ...
0 votes
0 answers
196 views

Creating an OP_Return TX with Python bitcoinlib

How can I create an op_return TX with python bitcoinlib? The transaction should include the OP_RETURN HEX-Data and an address where I send my change money
0 votes
1 answer
650 views

python - No module named 'bitcoin' on Ubuntu using WSL on Windows 10

Which version of python should I use? When running pip3 install python-bitcoinlib I get 'Requirement already satisfied'. I run on Ubuntu using WSL in Windows 10. I have this error: >>> from ...
0 votes
0 answers
519 views

How do you Derive Addresses from a BIP49 Master Public Key using P2WPKH-P2SH?

I am trying to derive addresses from a master public key (aka extended public key) in python. I don't fully understand the math behind the key derivation, but have been able to decode the master ...
0 votes
0 answers
107 views

What's up with the block size of block# 295182?

I found an anomaly in the block size data: block 295182. This one seems to have a way higher payload. What happened there? Or is this there something wrong with my parsing? This file block does ...
0 votes
0 answers
596 views

Process for finding nonce

Assume we have a transaction in hex (tx_hex) and we want to find a nonce such that SHA-256(SHA-256(nonce|| tx_hex)) = new_transaction_id ('||' denotes concatenation) first bits consist of 32 zeros. ...
0 votes
0 answers
197 views

Parsing transaction hash from rawblock data

I got block raw data next url https://blockchain.info/rawblock/00000000000000000002447735c7723ee9188322c0938e6587866a4458b9135f?format=hex Can I find transaction hash in url used python?
0 votes
0 answers
86 views

Can I get all block header data like the SPV node?

It hasn't been long since I studied Blockchain. I only need header data, not all block data, for study purposes. As far as I know, the SPV node stores only the block's header information. Can i get ...
0 votes
0 answers
711 views

Issue generating private Key and segwit address with python

I used the following script to generate my private key and the corresponding segwit address. Then to test it, i sent funds to the address and imported the private key on blockchain wallet; RESULT: ...
0 votes
0 answers
41 views

How to create a Bitcoin Transaction With Protocoin

Please how do I create a btc transaction and broadcast it with protocoin library? I want to create a transaction that will relay to the node without validating inputs and outputs. Of course I know the ...
0 votes
0 answers
459 views

submitblock to btc-core fails to decode

I'm trying to create a little mining-script that connects over rpc to bitcoin core. I have problems following the documentation and all attempts to create a valid block (with dummy-nonce for testing) ...

15 30 50 per page