All Questions

Filter by
Sorted by
Tagged with
1
vote
1answer
37 views

How is an unspent TX output value verified?

I know that the current UTXO set is the set of all unspent transaction outputs in the blockchain that is equal to the total number of all bitcoins mined currently and that each UTXO has a reference to ...
1
vote
1answer
73 views

Why store Merkle tree of transactions rather than global ledger state?

I'm implementing my own Cryptocurrency similar to Bitcoin from scratch in C++ (just for learning and deeper understanding) and had an interesting design question. My understanding is that the Merkle ...
0
votes
0answers
13 views

Connection Reset after sending mempool message

I build a python script to talk to bitcoin test nodes. When I'm sending mempool messages, my connection is getting is reset. Also sometimes when connecting to Jimmy Song's testnet node (testnet....
0
votes
1answer
50 views

What determines the size of a hash during mining?

I have been struggling with this quite a bit. From what I understand is that a miner generates nonces to find a nonce that is smaller than the target hash. However, how does one determine the size of ...
0
votes
1answer
25 views

What's the difference between generateblock and generatetoaddress

Both commands generate blocks, and one specifies an address, what is the usage for each? Thanks!
0
votes
0answers
20 views

Is it possible to trace fund flows using previous transaction hash?

I've realized that there is a value called "previous transaction hash" which is stored in the "input" column of Bitcoin transaction data. I wonder if it is possible trace the ...
1
vote
1answer
208 views

Taproot activates within the next 2 weeks. What could go wrong and what could be done to reduce probability of any of these bad case scenarios?

According to taproot.watch Taproot activates in approximately 10 days (block 709632) at the time of writing (November 4th 2021). What could go wrong with regards to bad case or worst case scenarios? ...
0
votes
0answers
31 views

Start mining without the need to downlod the 360gb blockchain

I am new to bitcoin mining but at least i understand the mathematics behind - the sha256 and finding nonce, i am a junior back-end developer. recently i have being interested in bitcoin mining, as way ...
0
votes
1answer
19 views

How to accept the payment with regtest?

I sent some BTC via the regtest network from one wallet to another, and I don't see it using getbalance, but I do see it if I use the command getbalances as untrusted_pending: { "mine": { ...
0
votes
1answer
26 views

How to get list of Bitcoin Block Hashes by Block Number?

Suppose I want to obtain the block hashes for all Bitcoin blocks numbered 1 through 50,000. What would be the best way to obtain this information? I could write a web scraper to pull it off web-based ...
0
votes
0answers
27 views

What is Jailing tx HASH?

I participate in the testnet (I am a validator), and one of the tasks is to force myself to go to jail and write a timestamp, jailing block height and jailing tx HASH, but as far as I know there are ...
0
votes
1answer
27 views

Can a full node measure bandwidth to and from its peers?

For example, can I run a full node, connect to some 8 peers, and measure my uplink and downlink bandwidth to each of my peers?
0
votes
0answers
40 views

can i diy an asic miner?

Iam interested in mining bitcoin so Iam wondering if I can get a pcb for hashing and bring asic chip that algorithms are sha-256 and stick them together with some other electronics and have a control ...
2
votes
0answers
52 views

What do I tell my company IT dept so they allow my bitcoin core container to connect to other nodes

I work for a corporation therefore work behind a corporate firewall. I login to their vpn then I access company resources like mails, IMs etc. As a internal team project, I'm trying to setup a btc ...
0
votes
3answers
79 views

Why miners looking for zeros?

I am trying to understand how miners work. Is it true that miners are looking for a number of zeros because if they needed to find the complete hash they will be able to see the content of the ...
0
votes
0answers
12 views

how to buy library credits

which exchange should I buy library credits on? I tried buying from the odysee website but it doesn't take my credit card. I also tried to start a bittrex account but it doesn't let me create an ...
2
votes
1answer
38 views

Is it possible to spend multiple scripts of a MAST in a taproot output

Let's say we have a MAST with n scripts in the leaves, is it possible to require that two (or more) of the scripts must be revealed for the transaction to be spent?
1
vote
0answers
15 views

How to identify off-chain related transactions on the Bitcoin network [duplicate]

My understanding is that if someone wants to sell and buy Bitcoin via off-chain transaction, that person needs to set up a payment channel(funding transaction) first and it will recorded on the ...
0
votes
0answers
32 views

What is the easyest python3 script to generate pubkey + addresses from 24 words + passphrase?

Coldcard can generate 24 words from dice, but then I still need to verify that applying my passphrase on top of the 24 words, give me the addresses that coldcard is showing me. What is the easyest ...
0
votes
0answers
14 views

How to generate a 62 character bc1 address [duplicate]

I know bech32 addresses can have 42 or 62 characters. How can I generate a 62 character address? I couldn't find the option in Bitcoin Core.
0
votes
1answer
75 views

Why isn't it safe to run bitcoin core on a laptop?

I have read on some twitter posts that it was not safe to run bitcoin core on a laptop. That it was better to run it on a rasberry pie for example. What are the main reasons this is not safe? How ...
0
votes
3answers
54 views

How to accept crypto payments to a website?

To start I have checked this question, but the answers were unsatisfactory. Basically, I want to accept payments of ethereum, and bitcoin (these have different integrations). I want to setup this ...
1
vote
0answers
18 views

What is the longest recorded "chainsplit" in bitcoin? [duplicate]

Wikipedia has this nice image: where green is the genesis block, black is the best chain and purple are stale chaintips. What is the longest stale chaintip ever recorded?
0
votes
0answers
41 views

How do I get my money [duplicate]

I made a transaction on the mining fee of this collector bot and I never got the money though even though it says I did I payed and it seems that there is some proof that they have paid some others ...
0
votes
1answer
31 views

ANYONECANSPEND transaction vs. private key for giving bitcoin as a prize

I would like to create a game (kind of like a treasure hunt) where the winner finds a piece of hidden information that allows them to claim some bitcoin. One way to do it is to create a transaction ...
0
votes
0answers
18 views

Is this a good recommendation as secure way to generate paper wallet via iOS app for non-technical user?

I have suggested to a non-technical friend to use this as a way to generate a paper wallet using an iphone. I'm trying to see if there are any pitfalls. I have used the air-gapped PC method for myself ...
0
votes
0answers
27 views

DSP-powered miner

I have acquired several enterprise-grade DSP hardware units. For novelty, I'd like to run a bitcoin miner on them (Linux) but utilize their DSP capability for computation. Is there any proof-of-...
0
votes
0answers
22 views

Connecting to stratumv2 from python

so I've put together the following example to connect to a stratum v2 pool, but it's timeouting every time. It's basically just modified from the readme of https://github.com/plizonczyk/noiseprotocol, ...
0
votes
0answers
25 views

Antminer S17 zero hash rate

trying to get an Antminer S17 up and running. Set it up with nicehash pool 1 stratum+tcp://sha256.eu-west.nicehash.com:3334 & pool 2 stratum+tcp://sha256.eu-north.nicehash.com:3334 It has ...
0
votes
0answers
27 views

Corrupt block found indicating potential hardware failure; shutting down

I am experiencing issues with both Bitcoin Core 0.20 & 0.22 on my 2020 iMac per the title. I have run diagnostics (shutdown and +D) and on black startup screen it says "No Issues found. ...
5
votes
1answer
196 views

Why doesn't c-lightning allow you to open multiple channels with the same peer?

This question was asked by various individuals on Telegram. The spec (BOLT 2) allows for multiple channels between the same two peers: Note that multiple channels can operate in parallel, as all ...
0
votes
0answers
75 views

Trying to access lost blockchain.info legacy wallet using 17-word recovery phrase

I recently found an old BTC recovery mnemonic which should be worth a decent amount right now. The issue is, it's 17 words long and when I type it into the blockchain.com legacy mnemonic recover it ...
0
votes
1answer
30 views

What function to use to model probabilistic bitcoin mining?

I would like to calculate profitability of various mining strategies. For that, i need to simulate many random mining intervals, that reflect probabilistic distribution of real block mining. What ...
0
votes
0answers
29 views

What resources are needed to implement the EREBUS attack?

I have read this paper of EREBUS attackA Stealthier Partitioning Attack against Bitcoin Peer-to-Peer Network. And I want to konw that what resources are needed to implement an EREBUS attack? IP ...
0
votes
1answer
37 views

What resources are needed to implement an Eclipse attack?

I have read this paper of Eclipse attack. And I want to konw that what resources are needed to implement an Eclipse attack? IP addresses and investing attack time are nedded,and is there anything else ...
0
votes
0answers
21 views

Creating an OP_Return TX with Python bitcoinlib

How can I create an op_return TX with python bitcoinlib? The transaction should include the OP_RETURN HEX-Data and an address where I send my change money
0
votes
1answer
60 views

macOS Monterey refuses to open Bitcoin Core.app because Apple cannot check it for malicious software

Today I upgraded to macOS Monterey. First, the new OS deleted "Bitcoin Core.app". So, I re-downloaded the signed .dmg. Second, Monterey refused to open "Bitcoin Core.app" saying &...
0
votes
1answer
39 views

Getbalance amount 0 aftering generating blocks with bitcoin-cli

After starting bitcoind bicoind -regtest -daemon then i load one of the wallets i created bitcoin-cli -regtest loadwallet "wallet-name". The wallet loads fine but no matter how many blocks i ...
6
votes
0answers
105 views

Miners setting locktime in coinbase transaction

Some coinbase transactions have locktime values set. One such recent example is: { "txid": "5166cb509a5d786db33963a269ea08ff82a1c40d37d4fb828a394b0465cd5efd", "hash": ...
0
votes
1answer
38 views

Can taproot script trees have nodes with a single child?

I am writing some code implementing taproot address creation where a script path is present and I have a quick question surrounding the reference code. The BIP-341 reference method taproot_tree_helper(...
2
votes
2answers
67 views

Information available to bitcoin miners in processing transactions

I'm very new to Bitcoin, and in my learning process I came across this site: https://mempool.observer/ which shows the varying amounts of unconfirmed transactions waiting to be mined. I'm learning ...
0
votes
1answer
29 views

What happens to your assets if Coinabase (or an equivallent site) closes down?

I mean if a bank institution closes down there is an amount of money insured. What happens if Coinbase or Crypto.com which is actually just a web site goes off?
0
votes
1answer
59 views

Can a wallet start with 20 and how can it be generated?

Someone claims a wallet can start with 2 on btc mainnet. How possible is dat. I knw 2 is the testnet pay 2 script wallet type. If its possible. How can it be generated?attached is an example of the ...
1
vote
0answers
39 views

Implementing a trustless English auction on Bitcoin

Is it possible to implement an English-auction type mechanic on Bitcoin (trustlessly)? I have tried smart contract implementations in other blockchains. For instance, one straight forward ...
1
vote
0answers
57 views

How to properly compute the BIP39 checksum bytes?

I'm trying to understand the logic of generating a valid BIP-39 seed phrase. I have read the BIP-39 and trying to implement the section Generating the mnemonic step by step. I have the following ...
3
votes
1answer
104 views

Why do you have to mine 432 blocks to activate segwit on regtest?

According to Rusty Russel, you need to mine 432 blocks to activate segwit on regtest. Why this specific blockheight? Sources: https://rusty-lightning.medium.com/segregated-witness-for-developers-...
1
vote
1answer
25 views

How would a PSBT signer identify a non-bip32 key?

In a PSBT, version 0 or 2, how would a signer know what keypair to use for an input or an output if the keypair isn't derived through bip32? For inputs, assuming p2wpkh for simplicity, I suppose one ...
0
votes
2answers
58 views

How are Satoshis accounted for?

How are Satoshis accounted for and transferred? As in, is it the case that when I have ownership of a particular Sat at an address, is it actually that I own sat number 241536 from BitCoin number ...
4
votes
1answer
123 views

How bitcoin miners choose timestamp in block header when mining?

I did a statistic about the difference between the first announcement time in the network and the timestamp in block header for blocks within 2020. Surprisingly, most (93%) differences are less than ...
0
votes
0answers
11 views

Help I want to find out if i own bit coins or not [duplicate]

I know years ago I not only earned some bit coins but I also think I bought some too. How can I find out if I own any bit coins?

15 30 50 per page
1
3 4
5
6 7
559