New answers tagged

1

The compactsize encoding is a variable-length encoding for integers between 0 and 264 - 1 inclusive. Numbers in [0,253) are stored a a single byte, encoding the value directly. Numbers in [253,216) are stored as 3 bytes: 0xFD + the number in 16-bit little-endian format. Numbers in [216,232) are stored as 5 bytes: 0xFE + the number in 32-bit little-endian ...


0

The nodes run software which contains the best-for-everybody rules about how the network should operate. One of those rules is that nodes should forward new transactions to other nodes. There is no incentive for them that I know of, other than, to not do so, would risk not participating in the network of nodes that do follow the best-for-everybody rules. By ...


6

It sends exactly one block. If you want to send multiple blocks, you need multiple messages.


1

There is a distinction between miners and nodes though miners will (or at least should) run a full node to check that the blocks they are attempting to mine are valid blocks. I think you are using the terms "miner" and "node" interchangeably here. There are many nodes (majority) on the network that just validate transactions and blocks ...


0

To increase the probability of successfully pulling off an eclipse attack an attacker would want access to as many resources as they can get. Significant network hash rate to feed your victim blocks with significant proof of work would mean you don't need to attempt a "from genesis" eclipse attack and instead operate on or around the current ...


Top 50 recent answers are included