All Questions

2,894 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
1answer
149 views

Can we construct a UTXO which is spendable only via proof of work?

Do the current Bitcoin opcodes and transaction size limit allow constructing a UTXO which is only spendable if a specified amount of work has been performed? So the spender, would provide a nonce as ...
8
votes
0answers
195 views

How did Nakamoto untraceably pay for registering bitcoin.org?

Wikipedia says "Nakamoto created a website with the domain name bitcoin.org" and "transferred several related domains", while bitcoin.org says it was "originally registered and owned by Bitcoin's ...
8
votes
0answers
282 views

Why did the lightning network implement a gossip protocol?

As pointed out by many lightning developers in the past (e.g. Rusty's 1 million channel challenge) the gossip protocol is quite noisy and a part of the BOLTs causing many engineering challenges. ...
8
votes
2answers
1k views

How to get notification on bitcoin receive with bitcoin core

How can I get Bitcoin receive notifications with Bitcoin Core. I have tried the walletnotify and blocknotify options. walletnotify is fired two times when I send or receive bitcoins. And with ...
6
votes
1answer
33 views

How can I force estimatesmartfee to return estimates on regtest?

Creating an app that utilizes estimatesmartfee, and it works in production, but I use regtest for automated testing and can't get it to return a value. Looking at bitcoind tests it is splitting UTXOs ...
6
votes
2answers
161 views

How could Schnorr signatures be aggregated across the whole transaction?

I am studying the MuSig protocol and am having trouble grasping certain segments. This is my understanding thus far: In current Bitcoin CHECKMULTISIG format, the size of the signature grows linearly ...
6
votes
0answers
277 views

Did the introduction of VerifyScript cause a backwards incompatible change to consensus?

My question is about the changes to bitcoin done by commit range [a75560d8, 6ff5f718], and their effect on consensus. Out of this range of four commits (all attributed to satoshi) during the dates ...
5
votes
1answer
76 views

Are there any “slow” sidechains? What are the tradeoffs?

Are there any examples of sidechains which target a block time much longer than bitcoin? Could a sidechain be made "slow enough" such that the size of a proof (SPV proof?) for it could actually fit ...
5
votes
0answers
80 views

How to emulate SIGHASH_NOINPUT using CHECKSIGFROMSTACKVERIFY?

I read on bitcoin-dev that CHECKSIGFROMSTACKVERIFY (CHECKDATASIG in BCash) can be used to emulate new sighash flags. How would that work, concretely? As an example, please provide an example update ...
5
votes
3answers
544 views

19 out of 24 words of BIP39 passphrase (brute-force last 5?)

I have managed to lose 5 words of my 24 word Ledger Nano S recovery phrase. I have words 1-19 but I am missing words 20-24. I have significant holdings on the wallet so would very much like to recover ...
5
votes
1answer
1k views

How do I remove Wallet from Bcoin?

I'm playing with bcoin cli and created lots of wallets. Is there any way to remove wallet via WalletDB Api?
5
votes
1answer
892 views

Creating Mining Competition on regtest

As we know , Bitcoin core-Regtest is used to set up our own blockchain starting from Genesis Block. I have created Two nodes on my localhost running on different ports (I am using Windows 8.1). They ...
5
votes
1answer
296 views

How to build Merkle root from merkle branches?

Is there any help/tutorial on how to build the Merkle root from stratum data? The Slushpool's stratum protocol has an example of a mining job but it does not contain any Merkle branches and I don't ...
5
votes
1answer
387 views

Can*t call chainActive.Tip()->nHeight in core.cpp

I want to call chainActive.Tip()->nHeight in core.cpp. It is not possible, I am interested in every idea. https://github.com/LIMXTEC/BitSend/blob/DEV-joshafest/src/core.cpp Here is an example : ...
5
votes
2answers
684 views

Is it possible to discover the set of bitcoin addresses from a public key?

I'm trying to find the set of bitcoin addresses from a public key associated with a user just to analyse this user transaction. Is there any way to derive/find all the addresses that have been ...
5
votes
1answer
1k views

Cannot create a transaction

I am trying to create a transaction on the bitcoin testnet, using bitcore: Error Message : SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data Here is my code: var ...
5
votes
0answers
277 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
1answer
326 views

bitcoind and rollntime support

According to this page: https://en.bitcoin.it/wiki/Poolservers bitcoind's rollntime support is 'Supported, but not advertised'. I am taking that to mean that it doesn't provide the X-Roll-NTime ...
5
votes
1answer
520 views

Test Network Genesis Block

I am using BitcoinJ for my java application which fetches the test network's genesis block. I referred to the basics mentioned at JavaWorld and BitcoinJ's Google Code wiki. I am able to get it ...
5
votes
2answers
821 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
2answers
181 views

Lightning Node High Availability/High Throughput

Are there any resources/best practises on running a highly available/high throughput lightning node? If my lightning service where to take off, should I be running multiple lightning nodes or a single ...
4
votes
0answers
48 views

Can we measure bitcoin's accumulated work in terms of entropy (in bits) directly rather than expected number of hashes?

The Background Bitcoin tracks chain work by counting the (expected) minimum number of hashes it would take to create a chain of the same number of blocks and same difficulty steps[1]. Naturally, ...
4
votes
0answers
67 views

Does BIP70 have any problem (security/privacy/etc)? Why will Bitcoin Core disable it by default in the next major release (0.19.0)?

Recently it's reported that Bitcoin Core will disable BIP70 support by default in the next major release (0.19.0): https://cointelegraph.com/news/sorry-bitpay-new-bitcoin-upgrade-proposal-disables-...
4
votes
0answers
49 views

Can ECDH peers waste each other's time at will?

Peter Dettman notes that ECDH peers can waste each other's time at will. What does he mean? Can this be weaponized against Lightning nodes?
4
votes
1answer
724 views

How does Coinbase / GDAX calculate volume in historical candles?

How does Coinbase/GDAX calculate the "Volume" in candle data? I'm pulling data from the GDAX API in 2 ways; 1, by requesting candles similar to this endpoint, and 2, by tallying up raw tick data from ...
4
votes
0answers
3k views

How to recover corrupted Bitcoin-Core blockchain?

I recently experienced a I/O error resulting in data block corruption or index corruption cause bitcoin-qt wasn't quitting so I forced bitcoin core to shutdown without killin it properly. I checked ...
4
votes
0answers
676 views

To sign raw transaction in Segwit

I am using Bitcoin core 0.14.1 testnet. I created a Segwit address. transfer some coins to this address. Now I want to spend it. I created a raw transaction using console command i.e. ...
4
votes
2answers
516 views

Tax implications of bitcoin income

I have a friend in the USA who can send me bitcoins. The idea is to sell the bitcoins in India and wire him back the money from the sales proceeds in India. What are the tax implications on the sale ...
4
votes
0answers
463 views

Good way to test Electrumx?

Has anyone else gotten an electrumx server up and running lately? I have just gotten to the point where I'm not seeing any errors during "# service electrumx status", but I'm also not seeing my ...
4
votes
1answer
333 views

Which RPC may I use to query bitcoind for raw transactions coming through?

I need to capture and store the raw transactions coming through my local full-node bitcoin instance. I read here that it is possible, but there is no mention of the particular RPC calls. I also see ...
4
votes
0answers
456 views

How to Use TransactionBuilder in NBitcoin

I have used this code. It returns a success, but does not send bitcoin. var txRepo = new NoSqlTransactionRepository(); // Let’s me introduce you, Alice, Bob, Satoshi, and Nico with their ...
4
votes
0answers
163 views

How does schnorr signature construct multisig functionality?

How does the multiparty schnorr signature work and enable multisig functionality in Bitcoin? What are its limitations? Can we construct any m of n signature? Is there anyway to hide the signers among ...
4
votes
1answer
574 views

Wallets that support payment channels?

I know that maybe it's a bit early to start asking Wallets to implement Lightning Network connections even if the majority don't support SegregatedWitness yet. But how about Payment Channels? In ...
4
votes
1answer
257 views

How do nodes rebroacast transactions

When a bitcoin node receive a new transaction, it rebroadcast it and stores it in its mempool. If the transaction gets into a block, then it is removed from the node's mempool. But what happen when ...
4
votes
0answers
477 views

Bitcoinj: How to fix error “You should use Context.propagate() or a ContextPropagatingThreadFactory”

I'm using bitcoinj from a Scala application... and when I start it, I always get the following errors: [error] o.b.c.Context - Performing thread fixup: you are accessing bitcoinj via a thread that ...
4
votes
1answer
465 views

Cryptocompare API

Anyone here using cryptocompare api? Where would be the best place to ask questions about it? I am just starting with it and for example I have stumbled upon few issues. Like, coin tickers with an ...
4
votes
1answer
436 views

What are the weakest cryptographic guarantees in Bitcoin?

I read in this Github pull that Bitcoin relies on weaker cryptographic guarantees than SHA256. What are the weaker cryptographic guarantees being referred to? Could it be that RipeMD is 160 bits? ......
4
votes
2answers
3k views

Where to find P2pool networks.py settings for altcoins?

Is there a forum post or website where all the altcoin networks.py settings are being shared? I can see the P2pool forks on Github where people commit their own networks.py settings back to their own ...
4
votes
1answer
349 views

How to explore transaction chain via Original Bitcoin API as blockexplorer does it

Is there any possibility to explore transaction chain via Original Bitcoin API (https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list) as the blockexplorer does it. If not, why?
3
votes
2answers
44 views

How do you switch your bitcoinjs integrationfrom TransactionBuilder to transactions-psbt.js?

the code below works: const btc = require('bitcoinjs-lib'); var tx = new btc.TransactionBuilder(net); inputs.forEach(o => tx.addInput(o.txId, o.vout)); outputs.forEach(o => tx.addOutput(o....
3
votes
0answers
31 views

Why do the xpubs from electrum and trezor not match when creating a multisig wallet?

For a little background, I am trying to set up a 2-of-3 multisig wallet with 2 trezors and a coldcard. I am trying to verify that my setup is correct before putting any meaningful amount of money in ...
3
votes
0answers
34 views

Is lack of version number really a flaw of BIP39?

It seemed that BIP39 was often criticized as it lacks version number. However, wasn't BIP39 supposed to be universal, that "one single seed covers all purposes, one single seed backups everything"? ...
3
votes
1answer
38 views

Finding paths NOT originating from you with lnd

I'm interested in finding paths from senders whose node you don't run to potential receivers. According to https://api.lightning.community/?python#queryroutes , you can do that by specifying the ...
3
votes
0answers
39 views

How to segregate wallet from bitcoin core | Run multiple wallets in different servers on one centralized bitcoin node

I am running bitcoin full node in a centralized server. I have many web applications running in various places. I want to connect this web applications with centralized full bitcoin node. How to ...
3
votes
1answer
86 views

How does the tx fee in sendmany method get calculated?

In sendmany there is a conf_target parameter with the comment "Confirmation target (in blocks)". Does that mean that Bitcoin Core implicitly calculates and sets a smart fee for a given block target? ...
3
votes
1answer
73 views

What is transaction “finality”?

bitcoind IsFinalTx() as seen here checks the properties of a transaction in this order: Is nLockTime exactly 0? That's final. return. If it's not 0, is it below the current block height / time? If so,...
3
votes
0answers
78 views

How can you construct a cycle with LND to rebalance one of your channels with another?

I have at least two open channels, one of which has inbound capacity and the other has outbound capacity. How can I find a route and construct a payment to rebalance my channels against each other ...
3
votes
1answer
138 views

i need to get the correct wallet so i can use my pass phrase to recover my btc wallet. this was january 2009

the btc core wallet let me choose my own passphrase with 12 -16 words. the latest would be late january early febuary 2009. what wallet was i using? I cant find a reference online. everyone says that ...
3
votes
0answers
45 views

Was the “Proof of keys” exercise “The Ultimate Stress Test”?

Yesterday was publicised as a "Proof of Keys" day when people with accounts on Bitcoin exchanges were urged to withdraw their balance into a stand-alone wallet for the day as a test whether the ...
3
votes
0answers
83 views

Bitcoind 0.5.3 stuck at block 364,670 - what to do?

I compiled bitcoind using the same steps as last year. In particular I set DB_CONFIG: set_lg_dir database set_lk_max_locks 537000 Unfortunately once I hit block 364,670 (2015-07-10) I'm treated with:...

15 30 50 per page