sipa changed the topic of #bitcoin-wizards to: This channel is for discussing theoretical ideas with regard to cryptocurrencies, not about short-term Bitcoin development | http://bitcoin.ninja/ | This channel is logged. | For logs and more information, visit http://bitcoin.ninja
maurits1 has quit []
TheoStorm has joined #bitcoin-wizards
queip has joined #bitcoin-wizards
stiell has quit [Ping timeout: 258 seconds]
stiell has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
nick_freeman has joined #bitcoin-wizards
zepheiryan has joined #bitcoin-wizards
rusty has quit [Quit: Leaving.]
zmnscpxj has joined #bitcoin-wizards
troygiorshev has joined #bitcoin-wizards
davispuh has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
troygiorshev has quit [Ping timeout: 256 seconds]
ddustin has quit [Remote host closed the connection]
ddustin has joined #bitcoin-wizards
Belkaar has quit [Ping timeout: 260 seconds]
Belkaar has joined #bitcoin-wizards
Belkaar has quit [Changing host]
Belkaar has joined #bitcoin-wizards
justanotheruser has joined #bitcoin-wizards
ddustin has quit [Remote host closed the connection]
ddustin has joined #bitcoin-wizards
mdunnio has joined #bitcoin-wizards
rusty has joined #bitcoin-wizards
mdunnio has quit [Ping timeout: 260 seconds]
ddustin has quit [Remote host closed the connection]
ddustin_ has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
_whitelogger has joined #bitcoin-wizards
CryptoDavid has quit [Quit: Connection closed for inactivity]
proofofkeags has joined #bitcoin-wizards
zmnscpxj has quit [Ping timeout: 240 seconds]
arowser has quit [Ping timeout: 240 seconds]
arowser has joined #bitcoin-wizards
brianhoffman has joined #bitcoin-wizards
TheoStorm has quit [Remote host closed the connection]
zepheiryan has quit []
tralfaz has joined #bitcoin-wizards
davterra has quit [Remote host closed the connection]
shoman94 has joined #bitcoin-wizards
wullon587 has joined #bitcoin-wizards
proofofkeags has quit [Ping timeout: 260 seconds]
jonatack has quit [Ping timeout: 260 seconds]
jonatack has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
ddustin_ has quit [Ping timeout: 260 seconds]
arowser has joined #bitcoin-wizards
ddustin has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
brianhoffman_ has joined #bitcoin-wizards
brianhoffman has quit [Ping timeout: 246 seconds]
brianhoffman_ is now known as brianhoffman
shesek has quit [Remote host closed the connection]
ddustin has quit [Remote host closed the connection]
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
cbeams has quit [Remote host closed the connection]
cbeams has joined #bitcoin-wizards
cbeams has quit [Ping timeout: 240 seconds]
ddustin has joined #bitcoin-wizards
ddustin_ has joined #bitcoin-wizards
ddustin has quit [Read error: Connection reset by peer]
shoman94 has quit []
zmnscpxj has joined #bitcoin-wizards
mdunnio has joined #bitcoin-wizards
_whitelogger has joined #bitcoin-wizards
mdunnio has quit [Ping timeout: 258 seconds]
ddustin_ has quit [Remote host closed the connection]
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
tralfaz has quit [Remote host closed the connection]
davterra has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
tralfaz has joined #bitcoin-wizards
davterra has quit [Remote host closed the connection]
cbeams has joined #bitcoin-wizards
marcoagner has joined #bitcoin-wizards
stiell has quit [Ping timeout: 246 seconds]
vtnerd has quit [Ping timeout: 256 seconds]
vtnerd has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
stiell has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
stiell has quit [Excess Flood]
stiell has joined #bitcoin-wizards
cbeams has quit [Remote host closed the connection]
jonatack has quit [Ping timeout: 260 seconds]
reallll has joined #bitcoin-wizards
belcher_ has quit [Ping timeout: 265 seconds]
zmnscpxj has quit [Remote host closed the connection]
zmnscpxj has joined #bitcoin-wizards
Guyver2 has joined #bitcoin-wizards
rusty has quit [Quit: Leaving.]
Madars has quit [Ping timeout: 240 seconds]
jb55 has quit [Ping timeout: 240 seconds]
stiell has quit [Ping timeout: 260 seconds]
Cory has quit [Ping timeout: 246 seconds]
stiell has joined #bitcoin-wizards
rusty has joined #bitcoin-wizards
Madars has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
TheoStorm has joined #bitcoin-wizards
Cory has joined #bitcoin-wizards
rusty has quit [Quit: Leaving.]
jb55 has joined #bitcoin-wizards
Madars has quit [Ping timeout: 256 seconds]
cbeams has joined #bitcoin-wizards
cbeams has quit [Read error: Connection reset by peer]
cbeams_ has joined #bitcoin-wizards
reallll is now known as belcher
Madars has joined #bitcoin-wizards
jonatack has joined #bitcoin-wizards
cbeams_ has quit [Remote host closed the connection]
steven1 has quit []
cbeams has joined #bitcoin-wizards
cbeams has quit [Ping timeout: 256 seconds]
Madars has quit [Ping timeout: 256 seconds]
TheoStorm has quit [Quit: Leaving]
_whitelogger has joined #bitcoin-wizards
jb55 has joined #bitcoin-wizards
CryptoDavid has joined #bitcoin-wizards
justanotheruser has quit [Ping timeout: 246 seconds]
Madars has joined #bitcoin-wizards
waxwing_ has joined #bitcoin-wizards
waxwing has quit [Ping timeout: 258 seconds]
_whitelogger has joined #bitcoin-wizards
seawalk has joined #bitcoin-wizards
jonatack has quit [Ping timeout: 258 seconds]
Madars has quit [Ping timeout: 256 seconds]
tralfaz has quit [Remote host closed the connection]
tralfaz has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
rusty has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
Madars has joined #bitcoin-wizards
TheoStorm has joined #bitcoin-wizards
rusty has quit [Quit: Leaving.]
cbeams has joined #bitcoin-wizards
Madars has quit [Ping timeout: 258 seconds]
cbeams has quit [Ping timeout: 260 seconds]
cbeams has joined #bitcoin-wizards
cbeams has quit [Read error: Connection reset by peer]
cbeams has joined #bitcoin-wizards
Jackielove4u has quit [Quit: Connection closed for inactivity]
TheoStorm has quit [Quit: Leaving]
Madars has joined #bitcoin-wizards
Madars has quit [Ping timeout: 246 seconds]
zmnscpxj has quit [Ping timeout: 240 seconds]
TheoStorm has joined #bitcoin-wizards
seawalk has quit [Remote host closed the connection]
Madars has joined #bitcoin-wizards
_whitelogger has joined #bitcoin-wizards
cbeams has quit [Remote host closed the connection]
cbeams has joined #bitcoin-wizards
cbeams has quit [Ping timeout: 246 seconds]
cbeams has joined #bitcoin-wizards
wolfy13391 has joined #bitcoin-wizards
Madars has quit [Ping timeout: 240 seconds]
Aaronvan_ has joined #bitcoin-wizards
AaronvanW has quit [Ping timeout: 256 seconds]
Guyver2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
cbeams has quit [Remote host closed the connection]
jonatack has joined #bitcoin-wizards
cbeams has joined #bitcoin-wizards
ddustin has joined #bitcoin-wizards
Emcy_ has joined #bitcoin-wizards
gzhao408 has joined #bitcoin-wizards
Emcy has quit [Remote host closed the connection]
cbeams has quit [Ping timeout: 264 seconds]
cbeams has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
Madars has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
Madars has quit [Ping timeout: 264 seconds]
jonatack has quit [Quit: jonatack]
mdunnio has joined #bitcoin-wizards
jonatack has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
proofofkeags has joined #bitcoin-wizards
son0p has joined #bitcoin-wizards
mdunnio has quit [Remote host closed the connection]
mdunnio has joined #bitcoin-wizards
jeremyrubin has quit [Ping timeout: 244 seconds]
jeremyrubin has joined #bitcoin-wizards
Madars has joined #bitcoin-wizards
luke-jr has quit [Read error: Connection reset by peer]
ddustin has quit [Remote host closed the connection]
luke-jr has joined #bitcoin-wizards
Dean_Guss has quit [Remote host closed the connection]
Dean_Guss has joined #bitcoin-wizards
gleb has quit [Ping timeout: 260 seconds]
wolfy13391 has quit []
Guyver2 has joined #bitcoin-wizards
Madars has quit [Ping timeout: 260 seconds]
fiatjaf has quit [Ping timeout: 272 seconds]
fiatjaf has joined #bitcoin-wizards
chrippa has joined #bitcoin-wizards
TheoStorm has quit [Quit: Leaving]
Guyver2_ has joined #bitcoin-wizards
Guyver2 has quit [Ping timeout: 256 seconds]
troygiorshev has joined #bitcoin-wizards
troygiorshev has quit [Client Quit]
IGHOR has quit [Ping timeout: 240 seconds]
IGHOR has joined #bitcoin-wizards
<andytoshi> sipa: pls join ##miniscript
rotarydialer has quit [Ping timeout: 240 seconds]
TheoStorm has joined #bitcoin-wizards
TheoStorm has quit [Remote host closed the connection]
Madars has joined #bitcoin-wizards
fiatjaf has quit [Ping timeout: 260 seconds]
rotarydialer has joined #bitcoin-wizards
fiatjaf has joined #bitcoin-wizards
bildramer1 has joined #bitcoin-wizards
bildramer has quit [Ping timeout: 272 seconds]
bildramer1 is now known as bildramer
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
Madars has quit [Ping timeout: 246 seconds]
Emcy_ has quit [Read error: Connection reset by peer]
Emcy has joined #bitcoin-wizards
<elichai2> maybe this is a better place. why does bitcoin headers have the `bits` field? what does the whole compact representation complexity gives us?
<sipa> elichai2: before headers-first sync it was useful
<elichai2> sipa: how?
<sipa> as it enabled a heuristic that let you calculate that a particular header has too low difficulty to possibly be part of a chain that beats the current one
<sipa> elichai2: with the nBits field, you can verify whether a header matches its own claimed difficulty
<sipa> even without having its ancestors
<sipa> of course, it doesn't let you verify that that block has the correct difficulty, but there are bounds on what the correct difficulty can be
<elichai2> well if it's malicious he'll just put a low difficulty value there?
<elichai2> oh using bounds hmm
<elichai2> did core really used bounds on this?
<sipa> yes
<sipa> it'd be trivial to spam someone with low-difficulty headers otherwise
<sipa> the difficulty can at most drop 4x every 2016 blocks
<sipa> eh, sorry, spam low-difficulty *blocks*
<sipa> but since headers-first sync, blocks are never downloaded before having the headers (and their ancestors) all verified
<sipa> so since then, i believe there is no strict use for having headers encode their own difficulty
<sipa> doesn't hurt though
<elichai2> you lose block/header space :P
<sipa> ok, sure
<sipa> though if that was really an issue, it could be stored implicitly
<sipa> (or stored once for every 2016 blocks)
<elichai2> jk, I asked because of a rust-bitcoin user confusion on pow-limits etc, that he used target values directly without doing a roundtrip to-from compact bits
<sipa> a bit outdated, though
justanotheruser has joined #bitcoin-wizards
<elichai2> easier to store locally a single uint256 but sure, thanks :)
<sipa> that sounds orthogonal
<elichai2> SPV nodes, instead of using the bits to verify the difficulty of headers you can have a uint256 of the last target and calculate from that past/future targets (unless I misunderstood harding )
<sipa> for the purpose of verification you don't need to store the difficulty at all
<sipa> (except once per 2016 blocks)
Jackielove4u has joined #bitcoin-wizards
Madars has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
IGHOR has quit [Remote host closed the connection]
<yanmaani> the bigger question is why the difficulty doesn't start at 1
<yanmaani> outside of regtest
IGHOR has joined #bitcoin-wizards
<sipa> it does on mainnet
Madars has quit [Ping timeout: 246 seconds]
IGHOR has quit [Remote host closed the connection]
<yanmaani> but not on testnet?
<sipa> i think on testnet too
IGHOR has joined #bitcoin-wizards
<sipa> ah no, regtest has significantly lower difficulty than 1
<yanmaani> consensus.fPowAllowMinDifficultyBlocks = false;
<sipa> that's the special testnet rule
<sipa> allowing difficulty=1 blocks after 20 minutes, regarldess of previous difficulty
CryptoDavid has quit [Quit: Connection closed for inactivity]
<yanmaani> But the first Bitcoin blocks still begin with more than 1 zero
<sipa> difficulty = ratio between maximum permissive target and minimum target
<sipa> where minimum target is 0x00000000ffff0000....
<sipa> difficulty is not "the number of zeroes"
<sipa> and it's certainly not related to a block header's hash; it's related to how high that hash was allowed to be
chrippa has quit []
<yanmaani> Yeah, but why is the minimum target not 1?
<sipa> trivial DoSD
<sipa> early in the chain
ddustin has joined #bitcoin-wizards
<yanmaani> wouldn't it ramp up very quickly though?
<sipa> maybe? who cares?
<sipa> even a single CPU in 2009 could mine a block at difficulty 1 in a short time
Madars has joined #bitcoin-wizards
<yanmaani> I guess it makes mining easier
<sipa> you mean harder?
<yanmaani> no, easier. If you know it always needs to be below 0x00000000ffff0000, you can do a quick check
<sipa> right
<sipa> i believe that's what ASICs do
<yanmaani> instead of doing (if hash < target {...}), you can do (if hash < min_target && hash < target {})
<sipa> doing a check for the highest 32 bits (or even more) being zero in silicon, and doing the full check in software
Guyver2_ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Guyver2 has joined #bitcoin-wizards
popey1 has joined #bitcoin-wizards
stiell has quit [Ping timeout: 264 seconds]
stiell has joined #bitcoin-wizards
justanotheruser has quit [Ping timeout: 240 seconds]
Madars has quit [Ping timeout: 265 seconds]
gzhao408 has quit [Quit: Connection closed for inactivity]
cbeams has quit [Remote host closed the connection]
TheoStorm has joined #bitcoin-wizards
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #bitcoin-wizards
TheoStorm has quit [Quit: Leaving]
molz_ has joined #bitcoin-wizards
cbeams has joined #bitcoin-wizards
mol_ has quit [Ping timeout: 256 seconds]
justanotheruser has joined #bitcoin-wizards
sr_gi has quit [Read error: Connection reset by peer]
sr_gi has joined #bitcoin-wizards
Madars has joined #bitcoin-wizards
arowser has quit [Remote host closed the connection]
arowser has joined #bitcoin-wizards
Madars has quit [Ping timeout: 258 seconds]
ddustin has quit [Remote host closed the connection]
cbeams has quit [Remote host closed the connection]
davispuh has joined #bitcoin-wizards
Madars has joined #bitcoin-wizards
popey1 has quit []
Guyver2 has quit [Quit: Going offline, see ya! (www.adiirc.com)]
vtnerd has quit [Ping timeout: 258 seconds]
vtnerd has joined #bitcoin-wizards
Theopolisme has joined #bitcoin-wizards
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #bitcoin-wizards
Madars has quit [Ping timeout: 256 seconds]
waxwing_ is now known as waxwing
waxwing has quit [Changing host]
waxwing has joined #bitcoin-wizards
Madars has joined #bitcoin-wizards
ddustin has joined #bitcoin-wizards
zmnscpxj has joined #bitcoin-wizards
Aaronvan_ has quit [Remote host closed the connection]
shush has joined #bitcoin-wizards
shush has quit [Client Quit]
mdunnio has quit [Remote host closed the connection]
shush has joined #bitcoin-wizards
shush has quit [Remote host closed the connection]
AaronvanW has joined #bitcoin-wizards
AaronvanW has quit [Ping timeout: 258 seconds]
sr_gi has quit [Read error: Connection reset by peer]
mdunnio has joined #bitcoin-wizards
sr_gi has joined #bitcoin-wizards
mdunnio has quit [Ping timeout: 265 seconds]