Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

This tag should be used for questions related to Bitcoin blocks

0
votes
0answers
18 views

blockchain-based transactins

I need 5 sets of transactions that includes events of nodes. I 'm going to cluster this data. I had searched in this site and found the list of blocks, but unfortunately couldn't find transactions ...
0
votes
1answer
15 views

In Litecoin every single block is mined every 2.5 minutes, double spending?

In Bitcoin it takes roughly 10 minutes for every block to be mined. In Litecoin it takes 2,5 minutes. 2.5 minutes in Litecoin mean that transactions can be confirmed faster. In Bitcoin these 10 ...
0
votes
0answers
15 views

Why did satoshi choose 10 minutes for duration of each block [duplicate]

Why is a constant 10 minutes used for the generation of each block? In other words, why is the difficulty of generating the proof of work adjusted so that a new block is generated about every 10 ...
3
votes
2answers
49 views

Shortest and Longest block interval time ever recorded in Bitcoin

Bitcoin block interval time is on average 10 minutes, that is the difficulty is adjusted in such a way that every 10 minutes a miner will manage to find the right hash. This is just an average time ...
2
votes
0answers
34 views

Different balances in API block explorers for BTC

BTC.com block explorer shows bigger balance than for example Insight or Blockchair. For example: https://btc.com/1FLDCfr9iG7n6bAdGsqBXmhaLgC4aSze72 https://insight.bitpay.com/address/...
0
votes
1answer
30 views

Who set the rules for validating a block in blockchain?

Who set the rules for validating a block in blockchain? The rules can be set the creator of the blockchain network. There might be some rules on the application that uses the blockchain network. Is ...
0
votes
1answer
27 views

While attempting to fetch a particular block my node just gets disconnected by peers?

A system at an office has its testnet node stuck at a particular block. The logs report "requesting block" over and over again for the same block and after each one reports "socket recv error" and ...
1
vote
1answer
11 views

Diffrent transactions in different block sync problem

Consider that miner A and B both try to solve its block, A's block has transactions (T1,T2), B's block has transactions (T1,T3). A solved its block then synced the block to B. Does B will discard its ...
1
vote
1answer
36 views

Detecting stale blocks with ZeroMQ

I'am writing an application which receives information about new tx and blocks via ZeroMQ. There is a chance that I will receive notifs about blocks which will later on become stale blocks. Is there a ...
0
votes
1answer
29 views

When are blocks validated?

Are blocks validated just before they are stored to memory, upon receipt from an RPC submit call, or at some other time? Can you point to the place in code where this validation process begins? Is ...
2
votes
2answers
23 views

Blockchain validation process is linear?

I've read at a few places that the nodes validate transactions in a linear fashion, i.e. after node A validates, then node B, etc. (which is also the reason, as claimed by many, why blockchain suffers ...
0
votes
0answers
25 views

Bitcoin transaction scripts : does ScriptSig or ScriptPubkey run first? [duplicate]

I'm confused as to the order regarding which script is run. For examples sake: say I want to spend 1 Bitcoin which was given to me by Alice in a single transaction of value 1 Bitcoin. I understand ...
0
votes
2answers
33 views

Bitcoin.org developer reference outdated?

i just can't understand if bitcoin.org developer reference is outdated or not. for example here (https://bitcoin.org/en/developer-reference#raw-transaction-format) we can see: "As of Bitcoin Core 0.9....
0
votes
2answers
38 views

Bitcoin New Block Event Trigger

I want to know when a new block is discovered, I am watching debug.log to see if it has changed, I know there is a new block if the line contains "UpdateTip: new best". Is there a better way to do ...
0
votes
1answer
28 views

How to get Coinbase Text for newly found block

Websites like blockchain.info and btc.com give Relayed By information to find who found the block. I can see coinbase text in the website https://coin.dance/blocks. Is it possible to get that ...
0
votes
1answer
28 views

who actually amasses or builds the blocks … and how do they get passed to miners?

The question is not about the block being included on the block chain, but who actually creates a block? Like what is the process here. Can someone walk me through this? I do know that blocks are ...
0
votes
1answer
51 views

How do I double SHA-256 the header of block #59,500?

I'm not sure how to combine all of this information. https://blockchain.info/block/00000000096af43105123c499521e1d131d172e7e1bf2ed0843290a921f1f6a7 Version 1 Time Bits 470771548 (is this the right ...
1
vote
1answer
29 views

How to add Bitcoins to my wallet

I am new at this and I was given a bitcoin from a miner, how do I know what it is worth and how do I put it in my wallet?
0
votes
0answers
26 views

How are transactions hashed together to form a Merkle Root? [duplicate]

In block #59,500 there are 2 transactions Transaction 1. 6653ad77d695752cff9fe63bbb5702a53807be534c537251d53de06aac5ca093 and Transaction 2. ...
1
vote
1answer
57 views

Serialized Block doesn't have all the fields of a Block

bitcoin-cli getblock 000000000003b9c88b8a4bf0bac7059913381bba300cdfddffc54a3d8c6e8105 false This command will give block related data in the form of Hex. This Serialized data doesn't contain certain ...
1
vote
1answer
67 views

Would nine 1MB transactions potentially create havoc on the BitcoinCash network

It appears that the BitcoinCash chain is still on its original BCH main chain, and non-upgraded mines/exchanges/wallets can still transact there. What then would happen if nine (or more) 1MB ...
0
votes
1answer
54 views

Full node storage requirements for new 2MB block which is only 10% full

If blocks were 2MB, and a 2MB block that is only 10% full gets confirmed, then how much additional storage is required on a full node? I am guessing the correct answer here is 200K? Thanks in ...
0
votes
0answers
16 views

Error when running .yml file

When I try to run this: sudo bin/gbuild../booducoin/contrib/gitian-descriptors/deps-win32.yml It gives error --- Building for precise amd64 --- Stopping target if it is up Making a new image copy ...
1
vote
1answer
83 views

In Math or Python notation - How to convert bits to difficulty?

Questions What are the equations to convert between bits and difficulty? & understanding bits and difficulty in a block header ask how to convert between bits and difficulty. Unfortunately, I ...
0
votes
1answer
47 views

Would mining future bitcoins break the bitcoin?

assuming an bitcoin miner with very much hashrate like bitmain would decide to mine "future" bitcoin blocks and provide them within very short time to the network, would this break the bitcoin? As i ...
1
vote
4answers
46 views

Why blocks are validated instead of transactions?

In most of the conventional blockchains, blocks are validated instead of transactions. Why cant' transactions validated directly? The structure of basic blockchains are linked lists, by having DAGs, ...
0
votes
1answer
28 views

How are mined blocks broadcasted in a distributed environment?

I understand that after the golden nonce is found by the miner he broadcasts the block and the other miners verify it. But I don't understand how they broadcast it because bitcoin is completely ...
2
votes
4answers
76 views

Why miners need to broadcast blocks that contains full transactions in Bitcoin?

Does anyone know why Bitcoin requires miners to broadcast blocks that contains full transactions? When a user want to make a payment on Bitcion, he/she needs to broadcast a signed transaction, and ...
0
votes
1answer
26 views

When we're calling `getrawtransaction` how does Bitcoin-core calc and verify confirmations?

if a transaction has 10 confirmation, does bitcoin-core check if the txid exists in the last 10 blocks? or its calculated based on transaction block number?
0
votes
1answer
98 views

How to decode the block hash?

I got the block hash from zmq. 00000000000000000045c639280aee532c5b12b03c80bfdec7aae674fd8246e0 I want to decode the above block hash. Could anyone tell me how to decode the above block hash?
2
votes
1answer
40 views

Is transactions in bitcoin blockchain always coin transaction?

I'm new to crypto currencies correct me if I am wrong, when I checked the block explorer I found a single block contains nearly 2300 transaction in it and I think at an average every 10 minutes a new ...
0
votes
0answers
16 views

Who can provide me the detail data dictionary of level db and block data? [duplicate]

I want to get a detail info about bitcoin coin structure. I want to get all transactions of all addresses, but bitcoind client is not support this issue! So I need to parse all the /blocks/blk????....
0
votes
1answer
30 views

How bitcoin wallets connected between

I'm thinking, is it dangerous to buy bitcoin, in case if government want to block it? How bitcoin wallets connected between? If I'm right - there are support servers, who providing connection between ...
0
votes
1answer
24 views

Requesting Blocks

I've been thinking about this for a while and can't seem to understand part of the network. Lets assume that I'm a node that has been offline for 5 months and I want to retrieve the new blocks. When ...
0
votes
1answer
19 views

is it possible to retrieve some block transactions using bitcoin-core?

I'm trying to fetch specific block transactions, is it possible to do so using bitcoin-core? for example block number: 517716 can I get hex transactions or even just the txid's of that block?
0
votes
1answer
128 views

How to alter user's data in block in blockchain if i want to change user's details

In blockchain each user's data stored in seperate block, right? If I have created my own blockchain and i want to alter some user's data then I would need to alter some perticular block as I have ...
-1
votes
1answer
10 views

Pertaining to slushpool mining . What is the most lucrative way to vote ? Or does it matter

What is the most lucrative way to vote on slushpool? Or does it matter
0
votes
0answers
42 views

unconfirmed testnet transaction

I implementing the dashcoin on a website. I had broadcasted a transaction at: https://test.insight.dash.siampm.com/address/yehZoVH57FwDFC7vBRGK5ptuYHG9DfL2cf an few hours ago This address above is ...
1
vote
2answers
238 views

Difference between transaction chain vs blockchain

What are the difference between transaction chain in bitcoin and blockchain used in bitcoin? Is it sufficient to say to each transaction refers to previous transactions in the transaction chain and ...
0
votes
0answers
45 views

My deamon cannot download blocks from the blockchain

Alright so I am creating a fork of litecoin in order to make my own crypto currency. I have the main daemon node running on a vps. Now when I go to launch the daemon on any other machine I get an ...
0
votes
1answer
59 views

Can miner send garbled block height?

This previous answer shows that BIP34 adds block height as one of the fields in a coinbase transaction of a block. This question is about whether block height is calculated fully independently by each ...
1
vote
2answers
44 views

Does a node validates a transaction that comes with a block if it's already in its mempool?

Except for checking for double spends, if there's a transaction in a block that's already in the node's mempool, it can theoretically skip its validation. Does it actually happen, or the nodes ...
0
votes
2answers
35 views

How can coinbase transactions be created?

How can a coinbase transaction be created and what would happen if there was more than one coinbase transaction in a block?
0
votes
0answers
19 views

Convert previousTransactionHash into its public address using javascript?

I'm looking to convert the previousTransactionHash from transactions Inputs into its corresponding public address. I have not been able to find a clean example in JavaScript. Has someone done this or ...
0
votes
0answers
54 views

What is BIP34Height and BIP65Height? [duplicate]

I am looking at the litecoin code and i cant seem to understand these lines. I am learning to create a new coin. What exactly is BIP34Height and BIP65Height and BIP66Height? What is the purpose and ...
0
votes
0answers
19 views

Is a miner required to collect fees? [duplicate]

It is required for a miner to collect the fees in the coinbase transaction? e.g. The coinbase transaction includes the block reward only. I remember vaguely that it has happened and I am searching ...
1
vote
1answer
31 views

Why is explorers shows different difficulty values?

Just take a random block for example, for block 506068, blockchain.info shows difficulty as 2,603,077,300,218.59, while blockcypher shows 392,962,374, do the explorers use a different way to calculate ...
0
votes
1answer
79 views

Analysing the raw block Hex file but I can not find the expected information

My goal is to understand better, how transactions and blocks are built raw. For that, I found several questions and answer here on StackExchange, but the best for me was this post: Download single and ...
1
vote
0answers
34 views

Segwit and block size limit

I'am learning about Bitcoin and I didn't understand something. Maybe someone could clarify. I [think] I understood what Segwit does (increases block size, solves malleability and works better with ...
0
votes
0answers
57 views

read from blk.dat

Hy everyone! I have a little problem with the previousblockid read from blockheader. I do it like in the picture but when i get the hash and i search it in https://blockchain.info/ It couldn't find.