< yevaud>
we optionally save 3 bytes if we assume knowledge of the previous timestamp. we optionally save 32 bytes if we assume knowledge of the previous header.
< yevaud>
aj: interesting, a few assumptions in that document are violated today.
< yevaud>
"the version often matches that of a recent ancestor block"
< yevaud>
the main one it looks like I'd forgotten is that the difficulty changes infrequently, but that's assuming some amount of state as well. I was thinking you could have the client recover that value, but it clearly can't know the resulting difficulty without the input to the function.
< yevaud>
ie, if a header you receive is discontinuous *and* on a difficulty change boundary, you don't know the value. you also don't know the height for an out of order and non connectable header, unfortunately.
< yevaud>
though that said, you know the height implicitly due to the unique difficulty, unless it is on a fork *and* on the difficulty change boundary.
< bitcoin-git>
[bitcoin] jonatack opened pull request #18402: gui: display mapped AS in peers info window (master...gui-peers-display-mapped_as) https://github.com/bitcoin/bitcoin/pull/18402