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

Questions tagged [blocks]

The tag has no usage guidance.

0
votes
1answer
15 views

When walletnotify and blocknotify notifications are sent out?

Do the notifications from walletnotify and blocknotify are sent during the wallet synchronization or at the end? Say the wallet was offline for 100 blocks and when started: will it send the ...
0
votes
1answer
35 views

How do I catch the unconfirmed transactions?

I'm catching all the deposit transactions with walletnotify and insert them into my database. Then on every blocknotify call I fetch all the transactions under 6 confirmations from the db and update ...
1
vote
1answer
102 views

What is the difference between chainstate and blocks folder?

Is the blocks and chainstate folder store the same blocks data ? How can we read those data using code and display that on the web frontend like the blockchain explorer websites
4
votes
2answers
114 views

Does a Block contain the list of transactions? Or only the Merkle Tree?

I was wondering how a block encodes its set of transactions. I know a Merkle Tree is generated, and that it encodes a Hashed version of the transactions. But is the Merkle Tree included in the Block ...
0
votes
0answers
27 views

Actual probabilty of orphaned blocks in Bitcoin

If two miners mine the next block at similar times there will be a "fork" in the chain, with one block being accepted, and the other one becoming "orphaned". What is the probability for this event to ...
3
votes
2answers
108 views

Why we need mining?

I know is related to these: What is the rationale behind Bitcoin mining? Why do we need Proof of Work in bitcoin? But I don't fully understand those answers, and I think usually is much easier to ...
0
votes
0answers
315 views

lnd service fails frequently

I have bitcoind and lnd set up on my Raspberry Pi according to the guide here. Everything works great for the most part, and my node is up and running. I've been able to open a channel with another ...
0
votes
2answers
145 views

Raw data of dates in all blocks using PHP or R

Is it possible to obtain the date (time stamp) of each bitcoin block so far, using languages like PHP or R?. I am developing an analysis of the time series of bitcoin use for a scientific project, ...
0
votes
1answer
73 views

Transaction in a block vs a new block

I am writing a study work related to blockchain and the potential in my area of working. Therefore I am now analysing how blockchain works.I have some confusion and hope somebody here can help me with ...
0
votes
1answer
55 views

If the top 6 mining pools started mining empty blocks, what would happen?

I read that it was possible to mine empty blocks, so that miners can still earn when there are no transactions in the network. What would happen if the top mining pools started mining empty blocks ...
0
votes
0answers
60 views

Merkle Tree and block validation [duplicate]

I have managed to understand the advantages of using a tree to hash transaction in a block. However, I still have one doubt to be clarified... I understand the time it takes to validate transactions ...
2
votes
1answer
165 views

Block #338819 deemed invalid by v0.15.1

I am attempting to sync from scratch a full node (v0.15.1) on a linux machine (Linux Mint running Ubuntu precise 12.04.1 LTS). The sync grinds to a halt on block #338818. From examining debug.log I ...
1
vote
1answer
274 views

how does a node searches a transaction among various blocks in blockchain?

Let me express what I have got to know about blockchain and where am I stuck. Transactions are stored in the form of merkel trees inside a block. (I know how a merkel tree is made). A merkel root is ...
0
votes
1answer
114 views

Calculating number of candidate blocks

Given a set of transactions, and other parameters required to create a block, how many candidate blocks are possible per second? How many of them are valid?
0
votes
1answer
397 views

Blocks Folder and blk00000.dat files

In my Bitcoin Folder I found on my old computer,theres also files of aprox. 130 Mb .dat files. I have now, like I was told dumped the wallet.dat into my new installation of Bitcoin Core, and its ...
1
vote
2answers
72 views

Does calculating how many bitcoins I have take longer as time goes on?

I have read that the blockchain is a series of transactions that record one person giving bitcoin to another. Please correct me if this assumption is wrong as it is the basis for my question. So, ...
1
vote
2answers
228 views

What's so special about six blocks for confirming transactions?

I read that when your transaction is part of a block that has five other blocks on top of it, you can feel safe that your transaction is not in danger of being orphaned because someone else would come ...
4
votes
2answers
771 views

Sender, nodes or miners? Who validates transactions?

I have been reading a lot about the validation of transactions. I understand the actual method in which a transaction is composed (inputs and outputs). However, I don't know what happens with that ...
1
vote
1answer
121 views

Pools combine power, but all focus on a block? How do they all earn?

So, As far as I understand, when you join a pool you help work on the block that they are currently trying to solve and get paid for. I understand that, and how it's all split up.... But with a ton ...
0
votes
1answer
26 views

Bitcoin Core says it's synced but Blocks folder goes to only 985

I just downloaded and synced bitcoin core v0.14.2 (64-bit). After several days, it is now synced and (the check mark icon) says "up to date processed 483001 blocks of transaction history" but when I ...
1
vote
1answer
88 views

Default behaviour when network partitions/pruned network

From people oposed to SegWit I have heard about the argument, that after SegWit activation, nodes may chose to drop/prune all Witnesses. From my understanding, this may not be much different from ...
0
votes
1answer
64 views

How do bitcoin clients update after downtime?

If a bitcoin client goes offline or misses a new block, what is the process of finding the current, main blockchain? And how does bitcoin ensure that updates to the blockchain will be propogated to ...
1
vote
1answer
391 views

What happens when a node goes offline for a while?

Let's imaging a full node goes offline for a month, so they're missing ~4300 blocks (just using 10min/blk). Are there any message exchanges that receive transactions to help sync the 'booting' node ...
1
vote
1answer
161 views

How can I trust a new block broadcated on the network?

I have a giant hole in my understanding! I recently started using https://github.com/sebicas/bitcoin-sniffer which is a Python script that lets you connect to any node on the Bitcoin Network and ...
1
vote
2answers
320 views

Block inventory messages

I've written some code for connecting to the network, receiving inventories, and requesting data. What I am noticing is that my local node never sends me inventory messages with blocks in them unless ...
8
votes
3answers
13k views

How many blocks are there in blockchain as of today?

I have currently downloaded 300,000 blocks and the last one is generated 1 year and 19 weeks ago. I wonder how many blocks are more to go, before I am up to date.
2
votes
2answers
235 views

What is my incentive for sending old blocks?

If I am a miner, it makes sense for me to broadcast recent blocks since I want my chain to be the longest (see What encourages Bitcoin miners to relay blocks?). However, what is my incentive for ...
1
vote
0answers
151 views

How to check Bitcoind block chain download progress level without blockchain explorer?

so my problem isn't with bitcoin particularly but with a dying altcoin, I have the same problem as here. But can't use a blockchain explorer site, since there doesn't exist one. Is there any way to ...
3
votes
2answers
331 views

Get Latest blocks with bitcoind on Ubuntu

The total blockcount on my machine is not increasing. I have tried doing a bitcoind -reindex -daemon, but it didn't ultimately increase the number of blocks. Attaching machine and bitciond ...
3
votes
1answer
219 views

Is there a correct way to refer to “orphan” blocks?

I was reading a passage on the bitcoin wiki that pointed out that it doesn't make sense to call invalid chains "orphans," since, by definition, every block in the blockchain except the genesis block ...