Skip to main content

Unanswered Questions

3,471 questions with no upvoted or accepted answers
9 votes
0 answers
188 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
0 answers
181 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 ...
6 votes
0 answers
100 views

Bitcoin over Tor and man in the middle attack: risks mitigated yet?

This paper explains how combining Bitcoin and Tor creates an attack vector. A man in the middle can control the information flow between all users who connect over Tor. This paper is from 2014. Has ...
6 votes
3 answers
18k 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
1 answer
259 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
159 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 ...
5 votes
0 answers
182 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
0 answers
729 views

Bitcoin RPC: How to find the transaction that spends a TXO?

I suspect there is no good way to do it. However is there any sub-optimal way to find the transaction that spends a transaction output (knowing the txid and index) with Bitcoin RPC? Assuming txindex=1 ...
5 votes
1 answer
234 views

What is meant by getnetworkinfo: networks: reachable = false

What do all the reachable: false's mean under each network? My node is connecting fine to other peers both in and out, I assume via IPv4 (since I didn't configure anything else special). Is my node ...
5 votes
0 answers
315 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
2k 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
957 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 ...
5 votes
1 answer
178 views

What are the steps to create a block template?

My current understanding is that pool operators create block templates and pool miners solve the math to add it to the blockchain. My question is what are the steps for a pool operator to create a ...
4 votes
1 answer
72 views

Do any full-node clients compress blocks?

Does Bitcoin Core or any other full node capable client compress the blocks in transit on the network or locally on the node's filesystem? I used 7z to compress a handful of my locally stored blocks, ...
4 votes
0 answers
32 views

How do I negotiate the opening of a larger than 16777215 sats channel on a Core Lightning node?

Core Lightning's describes a maximum amount that can be given as a parameter to lightning-cli fundchannel: The value cannot be less than the dust limit, currently set to 546, nor more than 16777215 ...

15 30 50 per page
1
2 3 4 5
232