New answers tagged

0 votes

Using bitcore-p2p and bitcore-lib to get block data

Crucially, the event name to capture block data is peerblock not block as I had it. So adding : pool.on('peerblock', (peer, message) => { console.log('Received peerblock: ',message) }) ...
Lee's user avatar
  • 490
2 votes

Why do PinSketch sketches consist of the sum of odd powers?

You can reconstruct the elements whenever you have 2c consecutive power sums for k=a until k=a+2c-1 (power sum Sk is x1k + x2k + ... xnk) of the elements, regardless of which a you start at. However, ...
Pieter Wuille's user avatar
5 votes

A question on CNode class data members

The question is from 2015; some things have changed since then. CNetMessage is a transport protocol agnostic message container. It contains the received message data (DataStream), time of message ...
brunoerg's user avatar
  • 151
1 vote

What should the intended purpose of (mempool) policy defaults in a full node implementation like Bitcoin Core be?

First of all it is worth noting there seems to be some disagreement on this at the time of writing (February 2024). instagibbs stated in his policy zoo doc: There are N motivations for policy that I ...
Michael Folkson's user avatar
1 vote

What happens to the blocks that do not pass the acceptance rules?

A block with a timestamp too far in the future is invalid. This seems to be discovered during ProcessNewBlockHeaders when learning about the block header. The node discards the invalid block header. //...
Murch's user avatar
  • 74.4k

Top 50 recent answers are included