# All Questions

22,032 questions
18 views

### Insta-mining problems, how to prevent being outgunned? And difficulty + adjustments

I created a new coin to learn something about Bitcoin. I cloned the source code, called it something different, put a new logo on it, nothing major. Then I made some nodes available, and put the ...
120 views

### Activation of SegWit v1

The segregated witness soft fork of August 2017 included a versioning field which would allow for future incrementation. Anthony Towns has recently posted an early draft of the proposal for the SegWit ...
18 views

### Uniquely identifying a UTXO

I see two ways: Txid + index Txid + script hash Pros of the txid + index: Simple and short Cons of txid + index: It relies on array iteration being deterministic and all third party ...
28 views

### What can 1 master public key in a multisig reveal?

Assume you have the following situation: You are going to create a new multisig wallet with Electrum. 2 signatures are from old hardware wallets and 1 signature is brand new. The new multisig will ...
39 views

### If a bitcoin wallet service provider terminates a users account, what happens to the funds?

A friend of mine has/had a bitcoin wallet service provided by an online marketplace. Sounds like he had some kind of disagreement with the site administrators and they terminated his account. At that ...
38 views

### Generating first block after genesis block in PoS altcoin

I'm currently developing a test altcoin in educational purposes, and can't for some reason generate first pow blocks after generating genesis block. Couple of years ago i successfully made workable ...
31 views

### Blockchain.info confirmation misunderstanding

I have some misunderstanding regarding how confirmation work on blockchain.info. If we go to payment history we can see info about confirmation in two places. First in history of all transactions. ...
38 views

### What is off-by one error in updating target? How is it fixed?

Can some one explain completely what off by one error is? how is it fixed?
12 views

### How to upgrade docker clightning

I tried to update clightning to the new version of 0.7 by docker-compose stop docker-compose rm clightning_bitcoin docker-compose up However, it is still version 0.63 Where do I set that it is ...
19 views

### Help! i lost bitcoin due to clearing all the data and cached data on my phone. and i cant remember who its gone to

im tryting to help a friend track down her bitcoin. So... what she's done, from what i can gather is she tired to draw her money out of a pokie game and was told to make a bitcoin wallet, then she has ...
14 views

### Swift implementation of bitcoin transaction creation

Is there a well known and widely used Swift implementation for creating raw Bitcoin transactions and getting their hash (SegWit and Non-SegWit) of signing? If not, is there a reference document that ...
36 views

### How are keys for lightning channels currently created?

Keys for creating lightning channels seem to be derived differently than in usual bitcoin wallets. Lightning node data corruption, despite backup of master seed phrase, seems to prevent recovery of ...
36 views

### Rewarding full nodes trough the Lightning Network

Sometimes I think "DASH" has some kind of advantage over Bitcoin because it has some rewards not just for the miners, also for the full nodes. Am I correct? Is not this a strength (a prevention) ...
32 views

### Spending UTXO from same block

Block 546 is the first time a (actually two) transaction spends the UTXO of a transaction from the same block. Is the order important? (The transaction that generates the UTXO has to appear before in ...
20 views

### How to convert fee_estimates.dat into a human-readable format?

I would like to take a look inside fee_estimates.dat to understand a bit better how the RPC command estimatesmartfee works. However, when I open the file in a text editor, the content is not readable. ...
38 views

### Is it possible to sign a transaction (to spend) from a multisig address using only one private key?

Let's assume there's a segwit address created with 3 different private keys. Is there a chance that exist 1 (just one) other private key (in the universe of valid private keys) that can sign a ...
46 views

### If I was developing a Bitcoin wallet, should I support both legacy and compatibility addresses?

To receive funds, I was thinking of giving a user the option of displaying two QR codes: Legacy - p2phk e.g. 1AKDDsfTh8uY4X3ppy1m7jw1fVMBSMkzjP Compatibility - p2sh(p2wpkh) e.g. ...
30 views

### Implementation of getdata

I am confused about how getdata() is actually implemented at full nodes. Suppose a full node receives a getdata() request with MSG_BLOCK flag and a hash H of some block B. Then would it simply look ...
40 views

### A question about Feather Forking attack with higher confirmations

Suppose A has 0.2 hashing power. If A is waiting for only 1 confirmation. The chance of successful attack is 0.2^2 = 0.04 = 4%. So the victim has to pay 0.04*Block reward tx fees. What if the ...
84 views

### Theory: brute-force key search

Let’s say I want to generate many private keys so I can generate one private key (and thus a public key) identical to the richest bitcoin address. But I can’t do that because my computer power is not ...
23 views

### How an LN node can be sure about existence / liveness of an individual path of channels?

Assuming nodes A and B do not have a direct channel between themselves and previously they could find an indirect path of channels and finalize their payment successfully. After a while, they decide ...
21 views

### Catching wallet notifications through stdout?

I'm running bitcoin server behind nodejs (child_process). I was wondering if it's reliable to catch wallet notifications from the stdout stream (the ones that are marked AddToWallet)? This way I ...
40 views

### Permissioned or Permissionless blockchain? Which one is PoS more adapted for?

Since in proof-of-stake (PoS) there is no mining process, according to functionality of permissioned and permissionless blockchains, which type is PoS more adapted for? In the other words, is a PoS-...
20 views

### Why SHOULD the funding tx consume BIP 141 inputs?

In BOLT 02 we read that the funding TX should only consume segwit inputs. The sender: when creating the funding transaction: SHOULD use only BIP141 (Segregated Witness) inputs. What is the reason ...
16 views

### Why is the privacy for using watch tower services increased with unpredictable commitment tx ids?

In the open channel message in BOLT 02 the following statement is written about the various basepoints. The various _basepoint fields are used to derive unique keys as described in BOLT #3 for ...
31 views

### I got sent funds but cannot get them

I got sent funds but I do not have enough space on my computer to update bitcoin core and therefore the funds will not come is there anyway to cancel the transaction. The website I got the funds from ...
40 views

### What is so special about chacha20 stream cipher along with poly1305 for message authentication codes?

I am currently trying to dissect the low level cryptography protocols of the lightning network and I realize that in many places chacha20 is being used. I tried reading about it in the Wikipedia ...
45 views

### estimatesmartfee outputs very different results

Around block 564815 (2019-02-26 23:40 UTC), the mempool was empty. I noticed that my two nodes are giving very different estimates for transaction fees to be used: Node 1 Version: 17.1.0 Number of ...
37 views

### How to sign rawtransaction with private key

How to sign raw transaction with private key. this is my raw transaction : ...
41 views

### How secure is using TOR in Lightning Network?

In following paper (Link to the paper) we read: "combining Tor and Bitcoin creates an attack vector for the deterministic and stealthy man-in-the-middle attacks. A low-resource attacker can ...
49 views

### Bitcoin Core has some confusing UI text

I'm trying to localize following UI texts of Bitcoin Core, but I cannot understand them: Cannot upgrade a non HD split wallet without upgrading to support pre split keypool. Please use -...
60 views

### Can a Bitcoin (secp256k1) key be converted to a Ed25519 (Tor v3) key?

If I have secp256k1 keypair that is widely known, like a Bitcoin address, can I convert that into a Ed25519 key pair such that someone could access a .onion address in a deterministic way?
27 views

### Why does my c-lightning node pay more than the invoice plus routing fees?

A friend sent me an invoice for 500,000 Satoshis. To my surprise, I sent 502294 Satoshis. Here's what I see from my c-lightning console: "msatoshi": 500,000,000 "msatoshi_sent": 502,294,595 My ...
11 views

### Is there any reason why my Multibit Classic will not decrypt my wallet other than wrong password?

I have been entering in my password into the remove password field. The response I get is "The removal of the password failed. The error was "Could not decrypt bytes".". I am 99.9% sure the password ...
34 views

### Use UTXOs before transaction is signed/broadcasted

Suppose I have an address with a single UTXO. I want to create 100 transactions and sign/broadcast them all at once. Could I do the following: Create a transaction by hand (where change funds are ...
18 views

### Hash rate : Algebraic Equation

I recently made a post on stack, Calculate hash rate in IOS, in hopes of deciphering how the hash rate is calculated when benchmarking performance. The reason I wanted to do this is to compare against ...
34 views

### Is there a stablecoin where you do not have to pay transaction fees?

I'm trying to build an application that makes use of stablecoins, but I keep hitting the wall of my users being stuck with the stablecoins as it requires them to have to pay the parent native token ...
26 views

### Private Key in HD Account Bither Watch Only

I have a watch only HD account in Bither and I've got a password of the wallet but I don't have a private Key. I need to send BTC received in that account to another address in another account
39 views

### I sent bitcoin from electrum but never received it , has been confirmed but I can’t tell what’s happened to the btc. Can anyone help me out?

Should be a picture included if information !
38 views

### How to complete install of bitcoin-0.17.1 on linux (fedora 29)

So I downloaded and unzipped bitcoin core. I now have bitcoin-0.17.1 sitting in my home directory . What next? How do I install and run this? (Obviously I am a newb, help much appreciated.)
37 views

29 views

### Bitcoin neighbours with getaddr type message

lately I'm dedicating myself to programming my Bitcoin client for academic purposes, and I was analyzing protocol specifications, with particular attention to the system of exchange of known network ...
32 views

### Locating Bitcoin mining activity

There is any systematic way to locate Bitcoin mining activity (either block creation or node activity). I stumble upon with Bitnodes code which implements a recursive search using some nodes as "seed",...
42 views

### What is the quickest way to bring a bitcoind node up handling 99% of edge cases?

Currently when syncing a bitcoind node from scratch the time of going from zero (0) to about 50% is a very fast process but somewhere between 50%-75% it slows down considerably and at 75%-85% it ...