Questions tagged [blocks]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

I want to know how can my bitcoins get stolen ? I gamble a bit now and then, and often i have to deposit/withdraw with crypto.. what are the risks? [closed]

how can my bitcoins get stolen 101 HOW EASY it is to get ROBBED? WHAT are the biggest "risk/ways" HOW can I keep my wallet SAFE? Is WWW.COINBASE.COM safe? Are BLOCKS users trying to enter ...
Sophie Trepanier's user avatar
3 votes
1 answer
95 views

How does node discovery and miner discovery work?

I am wondering how nodes discover other nodes and miners, basically, who to broadcast received transactions and blocks to. I'm assuming that when a new node or miner wants to be discovered, it ...
CJ-Programmer's user avatar
1 vote
1 answer
327 views

Bitcoin chain reorganization

When two blocks are mined and propagated at similar times times causing a fork, how long would a node store a stale chain until considered orphaned? How many blocks (work) are needed on chain I for ...
Yazid's user avatar
  • 13
0 votes
2 answers
81 views

Transaction blocks vs bitcoins

Sorry if this question is too basic or if it has somehow been answered before... My understanding is that any type of Bitcoin block must be first mined, which applies to transaction confirmations, for ...
Julius Lerm's user avatar
4 votes
1 answer
134 views

RPC getblockstats call using genesis block

I am running a full node, bitcoin core 22. It is not in pruned mode. But when I try to run RPC getblockstats call I get this. $ bitcoin-cli getblockstats 0 ...
Maximus Maximalistus's user avatar
0 votes
0 answers
26 views

Overflow bug bad chain length [duplicate]

Can someone recall how many blocks have been mined on the overflow bug chain until the new chain with the patch became the longer one?
zndtoshi's user avatar
  • 153
0 votes
1 answer
165 views

Most transactions in a block

Block 689074 had 4,463 transactions. Is this the highest number of transactions in a block until now? What are the things that affect the number of transactions possible in a block? Few observations ...
user avatar
1 vote
0 answers
56 views

DB Structure for bitcoin blocks

https://github.com/blockchain-etl/bitcoin-etl#schema I found a library to parse the block data in json format. I want to parse that json and put it into a db to then use that for calculating balances. ...
UnknownHex64's user avatar
0 votes
2 answers
96 views

Why aggregating transactions into blocks?

I'm just wondering why do we need blocks. I mean, I could have my tx (signed), with its outputs/inputs, make a hash of it and broadcast it. Basically 1 tx per block, if you want to see it like that. ...
AIR's user avatar
  • 3
2 votes
1 answer
381 views

Is it possible to increase the prune size and get bitcoind to pull previous blocks?

for example, currently its: "size_on_disk": 32084546902, "pruned": true, "pruneheight": 650668, "automatic_pruning": true, "prune_target_size&...
sapakus's user avatar
  • 23
4 votes
2 answers
2k views

Download blocks in blk00000.dat format from a specific period

For study purposes, I would like to download blocks from a specific period, i.e. January 2017 - June 2017, in blk.dat format (blk00000.dat, blk*.dat). I downloaded blockchain.core but it makes me ...
Eugenio Cortesi's user avatar
4 votes
2 answers
635 views

Bitcoin Difficulty granularity

Difficulty adjusts by very granular percentages to target for 10 minutes blocks. But adding another zero at the end of the chain of zeroes from the header hash requirement for a valid block would ...
zndtoshi's user avatar
  • 153
2 votes
2 answers
87 views

How can bitcoin transactions for the same coin belong in different blocks?

Isn't each transaction dependent on a hash of the previous transaction? Wouldn't that mean all of the transactions for a particular coin would have to be grouped in the same block? As far I can tell ...
srlrs20020's user avatar
0 votes
1 answer
173 views

Do Full Nodes validate all transactions and make new blocks after all bitcoin are mined?

Do Full Nodes validate all transactions after all bitcoin are mined? A fork of bitcoin core with all coins pre mined would be behaving in this way too I'd imagine..? Also, would these nodes still ...
timhc22's user avatar
  • 193
1 vote
1 answer
58 views

What happens in a small scale blockchain network?

My main question here is, is this understanding correct or have I misunderstood something? If this question would be better for Reddit then I apologise in advance and I'll move to there. Thanks. ...
timhc22's user avatar
  • 193
1 vote
1 answer
53 views

How does one lock their own Bitcoins for X amount of blocks and prove that you locked it?

Is there a method of locking Bitcoins for X amount of blocks and also being able to prove its locked? How would one do this and with what wallet? Mobile wallet possible? Reason why is I'd imagine one ...
Patoshi パトシ's user avatar
1 vote
0 answers
24 views

Blockchain, correction of blocks

How do a malicious nodes correct their blockchain if they have it wrong? If they don’t want to fix it, what happens then?
Juan's user avatar
  • 96
0 votes
1 answer
794 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 ...
zabbir's user avatar
  • 71
0 votes
1 answer
100 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 ...
zabbir's user avatar
  • 71
7 votes
2 answers
4k 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
Pankaj Kumar's user avatar
6 votes
2 answers
487 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 ...
3mrsh's user avatar
  • 65
3 votes
3 answers
308 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 ...
Enrique's user avatar
  • 301
0 votes
0 answers
518 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 ...
Donnie Thomas's user avatar
0 votes
2 answers
400 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, ...
Camilo's user avatar
  • 103
0 votes
1 answer
188 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 ...
dan's user avatar
  • 3
0 votes
1 answer
96 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 ...
Kyle Graham's user avatar
3 votes
1 answer
1k 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 ...
Assaf Shomer's user avatar
1 vote
1 answer
468 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 ...
Learner's user avatar
  • 11
0 votes
1 answer
177 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?
DeltaBourne's user avatar
1 vote
1 answer
1k 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 ...
user72139's user avatar
1 vote
2 answers
97 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, ...
Dave's user avatar
  • 405
1 vote
2 answers
465 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 ...
Dave's user avatar
  • 405
4 votes
2 answers
1k 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 ...
Nacho's user avatar
  • 41
1 vote
1 answer
134 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 ...
TechNobo's user avatar
0 votes
1 answer
39 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 ...
wilibar's user avatar
4 votes
1 answer
198 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 ...
Bjarne Magnussen's user avatar
0 votes
1 answer
89 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 ...
rb612's user avatar
  • 289
1 vote
1 answer
1k 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 ...
an0nc's user avatar
  • 11
1 vote
1 answer
251 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 ...
Ben Muircroft's user avatar
2 votes
2 answers
474 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 ...
MattyB's user avatar
  • 91
8 votes
3 answers
15k 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.
user30244's user avatar
2 votes
2 answers
278 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 ...
sdgfsdh's user avatar
  • 123
1 vote
0 answers
168 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 ...
crisader's user avatar
3 votes
2 answers
393 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 ...
Idr's user avatar
  • 131
3 votes
1 answer
289 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 ...
Nick ODell's user avatar
  • 29.2k