All Questions
3,264
questions with no upvoted or accepted answers
12
votes
0
answers
197
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?
...
10
votes
1
answer
255
views
Miners setting locktime in coinbase transaction
Some coinbase transactions have locktime values set. One such recent example is:
{
"txid": "5166cb509a5d786db33963a269ea08ff82a1c40d37d4fb828a394b0465cd5efd",
"hash": ...
8
votes
0
answers
372
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 ...
8
votes
0
answers
7k
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
0
answers
83
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
3k
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
659
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
260
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
108
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
550
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
16k
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
306
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
934
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
96
views
Satoshi's coding quality
I have little knowledge about C++, so I want to ask two questions from "expert" (C++) programmers here:
Why Satoshi wrote Bitcoin in C++ and not in (for example) C language? any technical ...
4
votes
0
answers
133
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 ...
4
votes
0
answers
54
views
How does ban score algorithm calculate ban score for a node?
Specifically I want to know, for which types of misbehaves does ban score algorithm give a ban score to a node?
4
votes
4
answers
224
views
Can a 'China' or similar actor with more than half of the hash power really destroy Bitcoin?
More of a general question as I've recently gotten into investing in cryptocurrencies. I really love the vision for the future this technology provides, the freedom, ease of use, lack of middlemen, ...
4
votes
0
answers
311
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
96
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
1
answer
267
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
102
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, ...
4
votes
0
answers
479
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
1
answer
372
views
Python library for Multisignature HD wallets
Is there is any python library is available that allow creation of Multisignature HD wallets ?
4
votes
0
answers
193
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
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
870
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
2k
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
2k
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
0
answers
740
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
548
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
200
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
656
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
231
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
624
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
408
views
bitcoin:uri for sending payments to multiple addresses
Lets say I want a donate bitcoin button/QR code to send to multiple recipients in different ratios.
As in send 50% to wallet 1.
Send 25% to wallet 2.
Send 25% to wallet 3.
Is there any way to do ...
4
votes
0
answers
409
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
3
answers
97
views
How to gpg verify my bitcoin core download step by step on ubuntu server?
I am a newbie when it comes to setting up a bitcoin node but I am trying to gpg verify my bitcoin core download the pub keys to do so are no longer available. I have tried doing my own research but I ...
4
votes
2
answers
163
views
What are the downsides of integrating accumulators like Utreexo to bitcoind?
Inspired by the discussion on this question, I wonder what the downsides would be of adding accumulators like Utreexo (site, paper) to bitcoind?
On the positive side, it seems like a huge improvement ...
4
votes
1
answer
502
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
55
views
No answer to my `getdata` message
I am trying to fetch blocks using P2P messages but at block 501500 I never received any block message.
Here how I do it :
I am connecting to a node version/verack happens smoothly. I instantly answer ...
3
votes
1
answer
33
views
c-lightning - Failed to replicate query: database disk image is malformed
When I start up lightningd with sudo systemctl start lightningd, no error is returned.
When I run sudo journalctl -f -u lightningd, I get this:
$ sudo journalctl -f -u lightningd
-- Journal begins at ...
3
votes
0
answers
54
views
Where does Bitcoin Core save the custom directory setting?
When installing Bitcoin Core on Windows 10 and starting it for the first time, the Welcome message prompts to specify a custom data directory. When specifying that custom directory, where does Bitcoin ...
3
votes
0
answers
41
views
How would I set a more permissive mempool policy?
The mempool will reject some transactions that are valid per the consensus rules.
I would like to configure my mempool to be liberal in what it will accept, provided fees are paid. Are there any ...
3
votes
0
answers
135
views
Is it bad practice to run full node with all Bitcoin P2P protocol optional services enabled?
I am running my full node /Satoshi:23.0.0/ with all optional services enabled.
These are: NETWORK, BLOOM, WITNESS, COMPACT_FILTERS, and NETWORK_LIMITED.
My bitcoin.conf file contains following entries:...
3
votes
0
answers
399
views
How to install bitcoin-cli on MacOS?
I have installed bitcoin-core with Homebrew on my MacOS, but the only package installed is Bitcoin-Qt. How do I also install bitcoin-cli?
(Just want to play with the commands for learning.)
3
votes
1
answer
67
views
Application security of Bitcoin Core
Is there any information about how Bitcoin Core has applied secure development or application security in the past and currently? For example, the inclusion of third-party dependencies must be checked ...
3
votes
0
answers
89
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 ...