Unanswered Questions

3,296 questions with no upvoted or accepted answers
9 votes
1 answer
182 views

How does this field multiplication in libsecp256k1 work?

I'm looking at libsecp256k1's codebase, for learning reasons (doubt I can contribute with anything useful there). While looking at the field implementation, the implementation of ...
6 votes
0 answers
127 views

What are the advantages to attackers of different styles of replacement cycle attacks?

In Antoine Riard's original description of replacement cycle attacks against HTLCs, a replacement cycle looks like this: Bob broadcasts an HTLC-timeout (input A, input B for fees, output X) Mallory ...
6 votes
3 answers
17k views

Historical BTC data in JSON

As of now, the only API I can find that serves historical data is https://blockchain.info/charts/market-price?timespan=60days&format=json. It only uses USD, and I need to serve non-USD data. My ...
5 votes
0 answers
76 views

Which wallets are spending P2TR with SIGHASH_ALL?

I noticed there are quite a lot of transactions spending taproot key path inputs that use SIGHASH_ALL instead of SIGHASH_DEFAULT in signatures (around 20% in the last two weeks). Recall that ...
5 votes
1 answer
191 views

How to compute the expected number of sats to arrive in a probabilistic payment flow?

Look at the following network example: Assume S wants to send 3 sats to R. You can further assume that S has enough liquidity in each of its local channels to send up to 3 sats. Also assume the ...
5 votes
0 answers
146 views

How to approach building a custom UTXO index on top of a full-node

I want to avoid physically importing addresses into a wallet. I want to write a UTXO indexing system on a per-address basis. I often wonder how a wallet can keep track of all of its addresses' UTXOs, ...
5 votes
2 answers
429 views

Python library for Multisignature HD wallets

Is there is any python library is available that allow creation of Multisignature HD wallets ?
5 votes
1 answer
2k views

How to build Bitcoin binaries for Windows on Ubuntu using cross-compile

I am trying to build Bitcoin 0.13 for Windows. I've always used this guide for building previous versions. Now seems that developers have changed their mind regarding Windows, and the new way seems ...
5 votes
0 answers
309 views

BTCJam API 500 errors

I am currently trying to set up an application using the BTCJam api. I think the api could be very useful, but I have been unable to get it to work fully, and since support isn't responding, I thought ...
5 votes
1 answer
1k views

addnode in bitcoin.conf doesn't work (Regtest mode)

I'm trying to make to nodes on the same computer communicate. I set up two bitcoin folder with two bitcoin.conf files. bitcoin.conf in the second node is the following: rpcuser=bitcoinrpc ...
5 votes
2 answers
948 views

bitcond and bitcoin-Qt system configuration and bandwidth requirements

What is the best operating system configuration for a computer to run (bitcoind or bitcoin-Qt) and (BFGminer or CGMiner) under Linux, assuming that it will be connected to a 3 Terrahash mining rig on ...
4 votes
0 answers
117 views

How does bitcoin core handle service flag spoofing?

There are 5 service flags in src/protocol.cpp: static std::string serviceFlagToStr(size_t bit) { const uint64_t service_flag = 1ULL << bit; switch ((ServiceFlags)service_flag) { case ...
4 votes
0 answers
404 views

P2TR bech32m mismatch

When attempting to create a p2tr address using the private key 0x0000...01 I get, bc1pmfr3p9j00pfxjh0zmgp99y8zftmd3s5pmedqhyptwy6lm87hf5sspknck9 which does not match the provided test vectors provided ...
4 votes
0 answers
129 views

Sign lightning channel creation PSBT with Golang

I'm trying to open a channel on regtest with LND v0.13.0-beta.rc3 using their PSBT workflow to allow for remote signing. I've done the following steps: I create a regtest wallet using the BIP39 ...
4 votes
0 answers
345 views

How are taproot scripts represented in general?

I'm pretty familiar with the opcode style of writing down scripts. I can understand the stack-based language nature of bitcoin script where you can write down different script spend paths via ifs like ...

15 30 50 per page
1
2 3 4 5
220