All Questions
3,290
questions with no upvoted or accepted answers
10
votes
0
answers
127
views
What prior work influenced the design of the Bitcoin instruction set?
The "Script" system used by Bitcoin transactions is commonly described as a Forth-like, stack-based language.
What prior work influenced the design and layout of the Script instruction set?
...
9
votes
2
answers
910
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 ...
9
votes
1
answer
463
views
How many bitcoin transactions can be verified per second on commodity hardware in 2020?
I am trying to figure out how many Bitcoin transactions could be verified per second.
Am I correct that signature verification is more expensive than computing Merkletrees and hashes and therefore ...
8
votes
0
answers
169
views
Miners setting locktime in coinbase transaction
Some coinbase transactions have locktime values set. One such recent example is:
{
"txid": "5166cb509a5d786db33963a269ea08ff82a1c40d37d4fb828a394b0465cd5efd",
"hash": ...
7
votes
0
answers
260
views
Obtaining historical orphaned blocks (chaintips) without old node
I'm attempting to do some research surrounding orphaned blocks within the Bitcoin network. From my understanding the best and really only way to obtain data for blocks that no longer exist in the main ...
7
votes
0
answers
6k
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 ...
7
votes
1
answer
208
views
How many useable UTXOs are possible with BTC inside them?
I've heard there are somewhere in the range of 80-100 million possible UTXOs, where users could hold their own keys, with their BTC savings inside, and still have them spendable in the future.
Best ...
6
votes
0
answers
2k
views
Format of mkey field in encrypted wallet.dat file
I am writing a C++ application to scour large files (typically disk images) for wallet.dat files, with the intention of recovering the private keys.
At the moment I am struggling the data contained ...
6
votes
1
answer
610
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
0
answers
168
views
Satoshi introduced the 1MB block size limit in a commit. Why did Andresen make an identical commit some days later?
Satoshi added the 1MB block size limit in this commit on 15 July 2010
https://github.com/bitcoin/bitcoin/commit/a30b56ebe76ffff9f9cc8a6667186179413c6349
https://sourceforge.net/p/bitcoin/code/103
...
5
votes
0
answers
122
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, ...
5
votes
0
answers
93
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-...
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
1
answer
497
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
3
answers
15k
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
300
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
2
answers
912
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
24
views
upgrading bitcoin core from very old version
Running a full bitcoin node since 2013 but current version is 0.13.1
Can I install version 0.20 directly without going through all the intermediate upgrades?
4
votes
0
answers
231
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
78
views
How can I increase the routing my 'small' lighting node performs?
I know this question has been asked a lot. However I am not able to grasp the correct approach to address this.
Let me give you the context: I spun up an LND node to start experimenting and ...
4
votes
0
answers
139
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 ...
4
votes
0
answers
374
views
Was the first full node IP address Satoshi's and how did shim hide it?
It is not surprising that people assume Satoshi used ToR when scouring the internets however if my understanding is correct in order for someone to run a full node they need to provide their IP ...
4
votes
0
answers
170
views
libwallycore error installing LND on Ubuntu 18.04
I'm setting up an LND node on Ubuntu 18.04. I've installed python3, and cloned the repo. I ran configure, and get this error on the make command:
checking byteswap.h, usability... no
checking ...
4
votes
1
answer
108
views
Clients without Isstandard() function
Are there any bitcoin clients without the Isstandard () function which would allow non standard transactions to be broadcast?
4
votes
1
answer
1k
views
Generate addresses from Trezor's xPub using Python
I am trying to generate BIP32 HD addresses from my Trezors xPub key.
I keep getting errors with most of the libs our there. What am I missing?
pywallet:
from pywallet import wallet
xpub = '...
4
votes
0
answers
830
views
To sign raw transaction with Segwit Address in the TestNet
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
0
answers
1k
views
How to choose between so many open-source bitcoin pool software
I am now in the venture of finding and setting up a bitcoin pool company. However, after some research, I found out that there are plenty of bitcoin pool software. There are:
CoiniumServ
Cryptonote ...
4
votes
1
answer
1k
views
Building Signed Bitcoin Transaction in Java
I have been attempting to build my own raw transaction generator in Java which I can then broadcast on the testnet network. The problem is when I attempt to broadcast the transaction it says there is ...
4
votes
1
answer
560
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
0
answers
700
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
1
answer
493
views
How many addresses can Bitcoin Core 0.13 **effectively** manage?
I want to know, what's the maximum amount of addresses that Bitcoin Core 0.13 can manage?
All addresses should belong to the default account.
I want to use the walletnotify feature
How does the ...
4
votes
0
answers
188
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
1
answer
639
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
1
answer
2k
views
bitcoin-cli very slow to respond to RPC calls (Raspberry Pi)
Running Bitcoin 0.11 on Raspberry Pi 2 (Quad core 900MHz 1GB RAM, 128GB Flash Drive for blockchain, 8GB SD Card for OS and software).
Blockchain is fully synced, 13 connections.
In htop, I see I'm ...
4
votes
1
answer
214
views
Simulating -walletnotify option in Electrum
When run in daemon mode, bitcoind accepts a parameter -walletnotify=<cmd> which runs <cmd> whenever a wallet transaction changes due to sending/receiving.
Is there a similar feature in ...
4
votes
0
answers
593
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
0
answers
398
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?
4
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
...
4
votes
1
answer
494
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
2
answers
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 ...
3
votes
0
answers
20
views
Problems with multiple wallets on RPC in bitcoin-core
I have been playing around a bit with Bitcoin Core (version 23.0), more specifically connecting to different wallets in Bitcoin Core through RPC in Python. I have found this library and tried to ...
3
votes
0
answers
151
views
Creating a P2SH-P2WPKH using Bitcoin Functional Test Framework
I'm using the Bitcoin Functional Test framework to understand how SegWit works by analyzing and building a P2SH-P2WPKH transaction.
When I run my code the transaction gets created, but when I inspect ...
3
votes
0
answers
109
views
How much mining activity is needed for Bitcoin to remain secure?
I'm not looking for a number, but rather for a way to make an estimate taking things like market capitalization and the fact that mining uses ASICs into account. (I assume ASICs are relevant since ...
3
votes
0
answers
136
views
Tests for Pay To Taproot addresses?
I am having trouble finding examples showing a known WIF to a valid mainnet P2TR address.
I am working on a tool and want to see if my P2TR conversions/encodings are outputting the correct P2TR ...
3
votes
0
answers
71
views
Schnorr signature key storage
So everyone talks about Schnorr signatures and Taproot when talking about Bitcoin. I would like to know if there is any standard that they will use to store the keys used in this algorithm. And also I ...
3
votes
0
answers
26
views
Keys Security Best practices in a Lightning company
"What are some key security practices for running a company that works on Lightning?
Risk of someone running away with the funds
Alternatives to multi-sig for lightning
Resources in the space
...
3
votes
0
answers
43
views
What are the malleability threat vectors when passing PSBTs to other actors?
If I am passing a PSBT (Partially Signed Bitcoin Transaction) between multiple people, and I pass on my signature for my UTXOs for given inputs, can someone take advantage of malleability and cheat me ...
3
votes
0
answers
64
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 ...
3
votes
0
answers
63
views
How can I see the on-chain evidence of a lighting channel?
I am learning about lighting now and I'm trying to check my understanding on-chain w/ a block explorer. I have opened several channels already and closed some also.
I would like to confirm my ...
3
votes
1
answer
155
views
Are there any downsides to banning node crawlers?
There are multiple entities and open-source software that crawl the Bitcoin P2P network to discover and monitor nodes for various purposes (statistics, surveys, academic papers etc.)
Some of those I ...