Questions tagged [assume-valid]

10 questions
14
votes
2 answers

Why is witness data downloaded during IBD in prune mode?

Why do pruned nodes download (segregated) witness data during IBD if much of that data is marked as Assumevalid? These nodes seem to be downloading witness data just to prune it. Since we already know that such witnesses are valid, and we plan to…
9
votes
1 answer

What are the trust assumptions in --assumed-valid in bitcoin core 0.14?

Please help me understand and distinguish the trust assumptions in the following three cases shown below. Specifically, please elaborate the attacks possible (even though completely theoretical) and trust sacrificed to get the functionality. Case 1:…
sanket1729
  • 1,296
  • 9
  • 24
8
votes
2 answers

Does assumevalid lower the security of Bitcoin?

Bitcoin's assumption was to download the blocks and verify it in order to prevent getting fooled. But by default, the assumevalid option is enabled in the software, which, as I understand it, makes some data (until 2017?) real without…
6
votes
3 answers

Skip IBD on pruned node?

I'm trying to run a light bitcoind node for testing purposes on mainnet, with minimum startup time. ./bin/bitcoind \ -prune=550 \ -txindex=0 \ -assumevalid=00000000000000000004c176952213ad9a228ced92f883fb4a472f20b474ca7a \ -checkblocks=0…
Carlos
  • 63
  • 2
4
votes
1 answer

If I set assumevalid=0 after syncing the blockchain will Bitcoin Core go back and validate historical blocks?

I originally synced my node using the Bitcoin Core default assumevalid value. If I set -assumevalid=0 in bitcoin.conf and restart my node, will my node go back and validate historical blocks?
3
votes
1 answer

Why are AssumeValid blocks manually added?

Couldn't we just define an AssumeValid block each N blocks, instead of adding it manually? What is the difference from just periodically picking sufficiently confirmed blocks? Anyway those blocks have been verified by the whole network
2
votes
1 answer

Are there possible attack/failure scenarios when no new nodes verify old signatures anymore (keeping the assumevalid defaults)?

This question came up in a recent discussion with Hasu and I was wondering if there is a good/practical reason why a newly syncing node should change the assumevalid option to 0 (verifying all the signatures from the genesis block) or is it safe to…
1
vote
2 answers

How does a node find the active chain?

Let's say a user joins the Bitcoin network and downloads the latest state of the blockchain (all blocks, which includes the forks/uncles). How does this user find/determine the active blockchain on which they should build upon? I'm not asking about…
1
vote
1 answer

Is the removal of Bitcoin checkpoints considered a hard-fork?

The value of DEFAULT_CHECKPOINTS_ENABLED is true and changing it will allow nodes using the default settings to accept blocks that would be currently rejected during a potential reorg. Is this change considered a hard-fork, or only changes to…
Fernando N.
  • 294
  • 2
  • 16
0
votes
3 answers

Weak Subjectivity Checkpoints trust assumptions

With AssumeUTXO it should be possible to sync to chaintip from a recent snapshot of the UTXO set, rather than from the genesis block (although there's background full validation after sync). This is similar to Weak Subjectivity Checkpoints, with the…