Skip to main content

Unanswered Questions

208 questions with no upvoted or accepted answers
1 vote
1 answer
37 views

pywallet needs 'bsddb' package to run, please install it

On a Ubuntu 24.04.1 LTS VM I installed Python 2.7.18 via: wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz tar xzf Python-2.7.18.tgz cd Python-2.7.18/ sudo ./configure --enable-...
3 votes
0 answers
90 views

Utility of longterm fee estimation

I've been reviewing the effectiveness of long-term fee estimation in Bitcoin Core and recently conducted an analysis, which indicates that it might not work as expected. https://hackmd.io/@...
0 votes
0 answers
54 views

PT2R and P2WSH Addresses from Public key hex

I'm trying to form addresses PT2R and P2WSH from Public key hex. Receiving this Public key hex from API like array of objects: const data = [ { staker_pk_hex: "...
0 votes
0 answers
38 views

Why are the results of BTC message signature implemented in Python different from those on electrum?

from bit import Key from bit.format import verify_sig import base64 from hashlib import sha256 # Use WIF format private key wif_private_key = 'Kxb19KFrrqrmT79bvG4tnKibVcgppavcvjkP1iBGGjnH787H39QG' ...
2 votes
0 answers
65 views

UniSat's `getPublicKey` returns internal key or output key when using Taproot?

According to UniSat documentation here, I can call window.unisat.getPublicKey to get the public key of the current account. My address type is Taproot. After calling this function, I get a compressed ...
1 vote
0 answers
55 views

python "pbkdf2_hmac" function doesn't return same as Ian Coleman BIP39 tool. Why?

I am trying to go from a BIP39 phrase to Seed to xprv root key. I have the following BIP39 phrase: "prefer offer puppy imitate pink banana because whale letter thought artwork loud" which ...
2 votes
0 answers
58 views

Using BIP32 derivations, can all seeds theoretically produce all public keys?

I was interested in how many possible combinations of BIP 32 derivation paths exist, which could result in a public key derived from a seed. While some people colloquially call it "unlimited,&...
0 votes
0 answers
60 views

Python code to create a two-input transaction in test net

I made a transaction that can be spent by anyone and now I wanna spend it and bring it back to my address. The problem in it doesn't have enough bitcoin for transaction fee so I'm using another input ...
0 votes
0 answers
36 views

How to spend one or more p2tr inputs in python?

I see that bitcoinlib does not support taproot yet. Is there any good lib out there to spend one or more taproot inputs? I would like to create txs like this: ... "inputs": [ { &...
0 votes
1 answer
212 views

How to generate coinbase transaction in Python?

I know that on this forum a lot of questions on this topic, I have checked most of these, but can't find the solution for my task. I am creating my own algorithm for solo mining bitcoin on Python. I ...
0 votes
0 answers
252 views

What is the correct way to calculate testnet BTC fees?

Recently, the fees on Testnet seem to be going wild. I tried to send 20,000 satoshi and it cost me 27,000 satoshi. I used a feerate based on blockstream.info's fee estimate and calculated the fee ...
0 votes
1 answer
268 views

How to convert signature to DER encoded format in python

vk = ecdsa.VerifyingKey.from_string(bytes.fromhex(pubKey),curve=ecdsa.SECP256k1) if vk.verify(bytes.fromhex(signature), bytes.fromhex(sha256_hash), hashlib.sha256, sigdecode=sigdecode_der) == True: # ...
0 votes
1 answer
136 views

Old encrypted wallet + bitcoin core

I got desperate, I tried all the instructions I could find on the Internet - nothing helps. What I have: wallet.dat from bitcoin-core encrypted from 2015 (in four different places) the password I ...
2 votes
0 answers
123 views

Bitcoin Core stores public keys and balance unencrypted, a few questions

I came across this statement in the Sparrow Wallet documentation; Unfortunately, Bitcoin Core stores your public keys and balance unencrypted on the computer it is running on. If this computer is ...
0 votes
0 answers
43 views

How to know the number of digits in the decimals place in division results (ECC SECP256K1)?

p - is the order of the finite field n - is the order of the group. Private keys can range from 1 (the generator point G) to n - 1. All the private keys (Priv) lie in certain ranges of 2. 2^a < ...

15 30 50 per page
1
2 3 4 5
14